How not to graph blank cells

Mike L

New Member
Joined
Jul 10, 2002
Messages
18
Ok this is probably easy but I'm stumped...

How do I graph (scatter or line) a series of values that contain blank cells in the y data series, without them coming up as zero values on the graph.

If the y value is blank, I do not want this data point plotted at all.

Like I said probably really easy but I'm having trouble.

Thanks

-Mike
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Mike,

welcome to the board.

excel wont chart #n/a's - can you change the data / formula to replace blanks with #N/A ?

Paddy
 
Upvote 0
mike

goto tools|options|chart

Choose option of plot empty cells as : Not ploted

gnaga
 
Upvote 0
Mike L, I just joined the forum as a member because I have the same problem. I'll be watching for someone to answer.
Tommy

Paddy & Gnana

Tried these options, don't work for me.

Tommy
This message was edited by Tommy on 2002-07-11 19:45
 
Upvote 0
I'm trying to plot blank cells that have formulas in them to a chart and it plots 0's even with the option to not plot blank cells.

I tried using the Iferror formula to force a blank cell, but it still plots a 0 on the graph. Help!!

Tommy
 
Upvote 0
Hello Mike & Tommy

Answer for your question is only three options
1.Not ploted (Leave Blank)
2.Zero
3.Interpolated

You can try these three options or

Copy the Y axis value to other sheet and give that as source data. While copying do not copy the empty cell.

gnaga
 
Upvote 0
gnaga,

Thanks for the reply, but I would think that there must be an easier way to not plot the blank cells (that have formulas in them) as 0's in a graph besides copying Y axis data to another sheet and then plot.

Tommy
 
Upvote 0
if they've got formulas in them they're not blank!

Change the formula to return #N/A rather than nothing.

Paddy
 
Upvote 0
Thanks for all the help - got it so that it is graphing sweet by getting the formula to return #N/A instead of "".

But now I have #N/A showing up in the data table (which I also want to print). I've tried a conditional format on these (to effectively hide these cells from the printed page) but it doesn't work...any ideas?

Cheers

-Mike
 
Upvote 0
although you've entered the #N/A as text, excel recognises it as an error message (obviously - that's why it wont chart them!)

so

=iserror(a1)

with text font = white will do it.

Paddy
 
Upvote 0

Forum statistics

Threads
1,215,055
Messages
6,122,902
Members
449,097
Latest member
dbomb1414

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top