Getting a line chart to NOT plot a zero value

S

sheryl

I have a chart that is updated each month with new production figures and a
line chart set up to automatically pull the data from the chart and plot it;
however, on the months that haven't occurred yet, the line chart is plotting
those months as "zero". I've tried setting the "plot empty cells as: not
plotted" in tools/options/chart, but that doesn't work. Apparently, because
there is a formula in the cell for the future months, it is plotting the
zero... What am I missing?! Thanks a ton!!
 
J

Jerry W. Lewis

Formulas must return something. "" (which they presumably now return
for future months) is not equivalent to an empty cell. All text plots
as zero. Either delete the formulas until they are needed (they could
be restored automatically by a worksheet change event) or use #N/A
instead of "" for future months.

Jerry
 
S

sheryl

Thanks, Jerry!
I ended up just moving the future formulas out of the chart data range and
I'll move them back in each month.
 
P

pg

#N/A works great... thanks

sheryl said:
Thanks, Jerry!
I ended up just moving the future formulas out of the chart data range and
I'll move them back in each month.
 

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