Surpressing plot of blank cells

J

John

I'm creating a line chart plot using Excel 2007. The data range for plot
lines contains some blank cells. These blank cells get plotted as zero
points.

How do I change this behavior to plot only points that have values and to
leave the blank cells unplotted?

I appreciate your help, -John
 
A

Andy Pope

Hi,

If they are truly blank then check the plot empty cells setting via.
Select Data > Hidden and Empty cells.

If the Cells in fact contain formula then use NA() instead of "". This will
suppress the data marker but will not break the line.

Alternatively use Autofilter to hide unwanted rows.

Cheers
Andy
 
J

John

The cells I am plotting are non-empty, they contain the formula
=IF('Monthly Input'!I32<>"",'Monthly Input'!I32,"")
that picks up none empty cells from another sheet. Checking the "Plot empty
cells" option does not surpress the plotting of these cells as zero points.

How do I change my formula to cause zero points to not plot?

I appreciate your help, -John
 
Y

ymgagnon

Funny thing. I can get this to work if I'm using a straight IF()
function...but using a check on the value returned by VLOOKUP, while the cell
still shows "#N/A" as a result of the source cell being blank, the chart
seems to recognize it differently. (I have two spreadsheets going with the
same data, one of which only needs a single value updated to slide the date
forward, whereas the other requires all formulae in all columns to be
updated...naturally, I want to use the VLOOKUP version)

So...using if(source="",NA(),source) shows "#N/A" and plots no point.
Using IF(VLOOKUP(source)=0,NA(),VLOOKUP(source)) shows "#N/A" and plots 0:00.
 

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