A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

showing trend for non-existent data



 
 
Thread Tools Display Modes
  #1  
Old September 22nd, 2003, 01:23 PM
John Parrot
external usenet poster
 
Posts: n/a
Default showing trend for non-existent data

Hi,

I am plotting a graph against time; i.e. x-axis is dates.

I am plotting a chart on year-to-year data, thus I have
data for 2003 which is plotted. In January 2004 I start
with a compeletely new set of data.

Thus, my source of data is 12 cells (one each for the 12
months). Obviously, I do not have data for upcoming
months.

When I plot the chart, the data for the remaining months
is considered as zeros and the line graph suddenly jumps
down to a value of zero.

Visually this does not look very sexy. Is there any means
to still mention to xls that the input source data is 12
cells but in the case where the value is not filled in, on
the chart displayed the trend is extrapolated in the same
direction as for the previous month(s)?

THank you.
  #2  
Old September 22nd, 2003, 04:38 PM
dvt
external usenet poster
 
Posts: n/a
Default showing trend for non-existent data

John Parrot wrote:
When I plot the chart, the data for the remaining months
is considered as zeros and the line graph suddenly jumps
down to a value of zero.


You can tell Excel to *not* plot empty cells. Tools | Options | Chart tab.

Visually this does not look very sexy. Is there any means
to still mention to xls that the input source data is 12
cells but in the case where the value is not filled in, on
the chart displayed the trend is extrapolated in the same
direction as for the previous month(s)?


You have several options. Excel help does a pretty good job of describing
these options in a section entitled "About projecting values." Sounds to me
like you might want a trendline on your chart. Look up the key word
trendline in Excel help.

Dave
dvt at psu dot edu


  #3  
Old September 22nd, 2003, 05:28 PM
Jon Peltier
external usenet poster
 
Posts: n/a
Default showing trend for non-existent data


When I plot the chart, the data for the remaining months
is considered as zeros and the line graph suddenly jumps
down to a value of zero.


You can tell Excel to *not* plot empty cells. Tools | Options | Chart tab.

Visually this does not look very sexy. Is there any means
to still mention to xls that the input source data is 12
cells but in the case where the value is not filled in, on
the chart displayed the trend is extrapolated in the same
direction as for the previous month(s)?


You have several options. Excel help does a pretty good job of describing
these options in a section entitled "About projecting values." Sounds to me
like you might want a trendline on your chart. Look up the key word
trendline in Excel help.


If the cells look like blanks, but result from formulas which return "",
change "" to NA() in the formulas. Then use conditional formatting in
the worksheet to hide the resulting #N/A errors. They are ugly in the
sheet, but are not plotted, and won't affect the trendline.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
http://www.geocities.com/jonpeltier/Excel/index.html
_______

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:32 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.