ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Need an alterate result to "0" for null value (https://www.excelbanter.com/excel-discussion-misc-queries/191932-need-alterate-result-0-null-value.html)

mcmilja

Need an alterate result to "0" for null value
 
Hello,

I have a worksheet that references cells from another worksheet but if the
cell is blank, it produces a "0". This "0" is changing the behavior of other
formulas so is there a formula I can use that will either change the "0" to a
blank or #N/A?

Thanks,
Jaret

RagDyeR

Need an alterate result to "0" for null value
 
Try either of these:

=IF(Sheet1!$E$15="",NA(),Sheet1!E15)

=IF(Sheet1!$E$15="","",Sheet1!E15)

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"mcmilja" wrote in message
...
Hello,

I have a worksheet that references cells from another worksheet but if the
cell is blank, it produces a "0". This "0" is changing the behavior of
other
formulas so is there a formula I can use that will either change the "0"
to a
blank or #N/A?

Thanks,
Jaret





All times are GMT +1. The time now is 04:27 PM.

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