Graphing 'blank' cells in Excel

kixkat824

New Member
Joined
Jul 23, 2012
Messages
8
I'm having some problems with graphing 'blank' cells for my thesis work.

I am filling in data still as I go, and I'm trying to set up my graphs as well so I can easily go in later and modify, fill in more data, or whatever. But all the cells I've formatted as coming back blank are labelled as zeros on the Excel graph. I tried putting in to return #N/A but then Excel is still graphing the cells as zeros. Frustrating. I really do not want to have to recopy over 1000 data points, find the zeros, and cut them out later, I'll have enough to do writing the dang thing. Does anyone know how to modify the formula to have it correctly skip the points when graphing (it's a line graph)?

This is the current formula I'm using. =IFERROR(AVERAGE(C41:Y41), "")
And I put in =IFERROR(AVERAGE(C41:Y41), "#N/A"), which shows the cell as #N/A (which, I'd much rather it be blank, as then I can read the data easier), but it is still graphing as 0.

Tips?
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
I've run into this same issue. The way I resolved it was force an error:
=IFERROR(AVERAGE(C41:Y41),ERROR.TYPE(3))
After that I use conditional formatting to change the font to white for all cells returning an error.
 
Upvote 0
Ahh, that worked out. Thank you!!
My only question then is how do I find the text conditional formatting? I can find cell color...but no text. I have Office 2007.

Also, is there a way to get an average of a range of cells that only averages the actual numbers, when the range includes those error cells?
 
Upvote 0
Also, is there a way to get an average of a range of cells that only averages the actual numbers, when the range includes those error cells?[/QUOTE]

Try
Excel Workbook
ABC
145
2#N/A
334Average
42334
Sheet



Also if you change
=IFERROR(AVERAGE(C41:Y41), "#N/A") to
=IFERROR(AVERAGE(C41:Y41), NA())
That should stop it from graphing 0, but you will still have #N/A in your data.
 
Upvote 0

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

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