Joining data points on a line chart

J

JCW173

I have the following as an example set of data points to be plotted on either
a line or scatter chart (doesn't matter which as I am having the same problem
with both!)

X Y1 Y2
1 2 1.8
2 4
3 6 4.5
4 8
5 10 9
6 12

I get a line drawn between the points for Y1, but because there is not a Y2
value for every point on the X-axis then I just get points and no line,
despite a line being selected for in the options! Does anyone know how to get
this line added on?

Thanks
 
B

Bernard Liengme

In each empty cell enter =NA(); this will display as #N/A.
The line on chart will be continuous.
OR
Click chart; use Tools|Options; open Chart tab and look at "Plot empty cells
as"
best wishes
 
A

Andy Pope

Hi,

Select the chart and from the menus Tools > Options > Chart. Plot Empty
cells as Interpolated.

Cheers
Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top