Define empty cell in IF-formula not ""

serranli

New Member
Joined
Nov 4, 2005
Messages
10
I find different threads on MR. Excel about empty cells that are not really treated by excel as being empty. As soon as I use "" in a formula, Excel will still recognise this as a populated cell.

Since they seem to be 'older' discussions, I kind of hope that Microsoft has found a solution for Office 2007 which you already know about.

The problem is that I am making a spreadsheet in which a formula returns "" as result of an IF-formula.
The cell looks blank, but when I make a graph based upon such a cell, the graph shows as if there was the number zero in it.
I tried to indicate in the graph-properties to show hidden values as gaps, but it doesn't do the trick.
I can't use macro's /VBA either.. would anyone have a solution? Does some kind of 'clearcontents' formula exist or an alternative for "" that does not influence my graph?

Thank you in advance for any feedback
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
If your data is for a chart then you could consider replacing "" with NA().

This will generate a #N/A error in those cells, and the graph will not plot them. You could always use conditional formatting to "hide" the #N/A errors as they are not very pretty!
 
Upvote 0

Forum statistics

Threads
1,215,497
Messages
6,125,158
Members
449,208
Latest member
emmac

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