How can I get a formula to ignore " " entries

mactoolsix

Board Regular
Joined
Nov 30, 2010
Messages
105
I have a columns with results = " "
When I add up multiple columns (one containing " ") get a "#value" error.

Is there a way to have the formula ignore " " ?
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
I have a columns with results = " "

Is it the result of formulas that it is returning " "?
If so, change it so that it returns "" instead of " ".

If that is not possible, please post your formula that will not add up correctly.
 
Last edited:
Upvote 0
Yes it is the formula results that return " "
Changed to "" but same problem:

K49=IFERROR(F49+G49+I49+J49,"")
L49=IF(B49<RetYr,L48*(1+Inflation),"")
M49=180,000
N49=K49-L49-M49 returns #VALUE !

Thanks for your help!
 
Upvote 0
You're right - okay let's try this

K49=IFERROR(F49+G49+I49+J49,"") returns ""
L49=IF(B49 < RetYr,L48*(1+Inflation),"") returns ""
M49=IF(B49 > = RetYr-1,IF(M48 > 1,M48*(1+Inflation),FirstYrAnnExp)) returns 174,855
N49=K49-L49-M49 returns #VALUE !

RetYr = 2057
Inflation = .03
FirstYrAnnExp = 174,855
 
Upvote 0
Make them return 0 instead of "".

There are other methods to 'hide' zeros, like a custom number format or File - Options - Advanced - Uncheck "Show a zero in cells with zero value"
 
Upvote 0
Thank you for your time.
I was trying to hide the zeros in that column, I'll play with your suggestions.

Mike
 
Upvote 0
You're right - okay let's try this

K49=IFERROR(F49+G49+I49+J49,"") returns ""
L49=IF(B49 < RetYr,L48*(1+Inflation),"") returns ""
M49=IF(B49 > = RetYr-1,IF(M48 > 1,M48*(1+Inflation),FirstYrAnnExp)) returns 174,855
N49=K49-L49-M49 returns #VALUE !

RetYr = 2057
Inflation = .03
FirstYrAnnExp = 174,855

Hi,

This is just a workaround:

N49=SUM(K49)-SUM(L49)-SUM(M49)

The SUM function will coerce the "" results to 0.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,122
Messages
6,176,499
Members
452,733
Latest member
Gao87

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