Why would this = nothing?

SandsB

Well-known Member
Joined
Feb 13, 2007
Messages
718
Office Version
  1. 365
Platform
  1. Windows
The value in B15 is 0

The value in C15 is 525

D15 is =IF(B15=0,NA(),B15). I made this spreadsheet so many years ago I forgot why I used that formula, but I think it had something to do with some charts in a file somebody else made to use my data.
D15 is blank

E15 is =IF(C15=0,NA(),C15).
E15 has a value of 525

F15 is =D15+E15 and is blank, not 525. Why is that?
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
That formula will return #N/A if B15 is blank or zero. It sounds like you have hidden the errors in some way, possibly by conditional formatting.
 
Upvote 0
Conditional formatting is =ISNA(F3).
That formula will return #N/A if B15 is blank or zero. It sounds like you have hidden the errors in some way, possibly by conditional formatting.
That formula will return #N/A if B15 is blank or zero. It sounds like you have hidden the errors in some way, possibly by conditional formatting.
Fluff is right, Conditional formatting with a white font hid the true value of #N/A. Anybody know a better way to get =D15+E15 if the value of one of those 2 cells is #N/A?
 
Upvote 0
Perfect - thank you
Thanks for letting us know. Glad we could help. @Fluff did the hard part in identifying that the conditional formatting was hiding the #NA.

If you want 0 if either value is #N/A
=IFNA(D15+E15,0)
In case the OP doesn't comment further, The NA in D15 was used purely to make the chart work but for calculation purposes it needed to be 0.
 
Upvote 0

Forum statistics

Threads
1,221,531
Messages
6,160,354
Members
451,640
Latest member
idavies1402

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