I've got data based on over 50+ years for various products. Not all products have data for each year, so the line is not always shown from point to point - Excel bug or is there a work around?

I've created a line and X-Y scatter charts to show the movement (quantity sold) of these products over the years. It works well, except where the data points are too far apart i.e. 1965 and then 1975. For some reason there is no line.

It's not perfect data because of the missing years, but I can live with that, I just want to see the trend, and not just sporadic dots; squares or crosses.

Any help or links greatly appreciated.

Mike

link|improve this question

feedback

3 Answers

up vote 4 down vote accepted

Hopefully the following image is self-explanatory:

enter image description here

The complete command sequence in Excel 2007 is:

Select your chart  
Select Chart Tools -> Design on the Ribbon
Select "Select Data"  
Select "Hidden and Empty Cells"
Select "Connect data points with line"
Select OK.
link|improve this answer
Unable to see the image – Mike Feb 17 '11 at 8:51
It must be my firewall, so I'll look at this post on another computer. – Mike Feb 17 '11 at 13:36
@Mike Leave a message with a pointer if you want the image posted somewhere else. – belisarius Feb 17 '11 at 14:26
Does you image point to the button hidden cells>show empty cells as>connect data points with line? – Mike Feb 18 '11 at 10:48
@Mike Command sequence added in answer. – belisarius Feb 18 '11 at 15:46
feedback

You probably want an X-Y scatter plot with lines. X = year, Y = quantity sold.

A normal line chart treats the X values as labels whereas an X-Y scatter plot treats the X values as true values.

link|improve this answer
I've tried the X-Y as well but the same probelms with the missing lines – Mike Feb 17 '11 at 8:59
feedback

Have you tried adding a TrendLine? Right click on your graph and select "Add a trendline...". Select the trendline you want and voila!

link|improve this answer
I've looked at the trendline option, but unfortunately it's not suitable. The closest one is the "2 x average" choice but that isn't close enough - line does not disect all the points. – Mike Feb 17 '11 at 9:00
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.