line graph display 0 for blank cells

M

Mark

in a simple line graph, the line is displayed as zero on
the chart when the source data cells are blank. How can I
make the chart not display the blank cells as 0?
 
J

Jon Peltier

Mark -

If the cells are truly blank, select Options from the Tools menu, then
on the Chart tab, choose something other than Zero for Plot Empty Cells
As. Typically, the "empty" cells are not empty, but are the result of a
formula that returns "". The cells aren't empty, they contain the string
"". In the offending formula, change "" to NA(), which returns the #N/A
error, which a chart just interpolates over. Use conditional formatting
in the worksheet to hide these errors. Debra Dalgleish shows how here:

http://contextures.com/xlCondFormat03.html#Errors

- Jon
 

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