ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   leave a cell blank (https://www.excelbanter.com/excel-worksheet-functions/38216-leave-cell-blank.html)

nicolas

leave a cell blank
 
I am looking for a function that leaves a cell blank.
I am using now a function like: IF(condition,=1,""). So that if hte
condition is not fulfilled the cell remains blank (as it was before).
The problem is that "" is different than a blank cell! When you make some
chart excel takes "" as a zero value, but skips the blank cells.

Can anyone help? Thanks in advance.

Bernie Deitrick

Nicolas,

=IF(condition,1,NA())

The NA() will be ignored by your chart.

HTH,
Bernie
MS Excel MVP


"nicolas" wrote in message
...
I am looking for a function that leaves a cell blank.
I am using now a function like: IF(condition,=1,""). So that if hte
condition is not fulfilled the cell remains blank (as it was before).
The problem is that "" is different than a blank cell! When you make some
chart excel takes "" as a zero value, but skips the blank cells.

Can anyone help? Thanks in advance.





All times are GMT +1. The time now is 09:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com