My formulas keep giving me #value! how can i stop it

tonywatsonhelp

Well-known Member
Joined
Feb 24, 2014
Messages
3,194
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
Hi Everyone,
I think i must be missing something simple but i keep getting the #value! error in my sums?

as an example

"=AB11+CX11+BA11-CZ11-DA11"
works great when every cell has a number or zero in it but #values! out if one or more cells are empty or return the ""
i cant believe this is supposed to happen? so am i doing something wrong? is there a way to stop it happening?

please help using the above as the example

Thanks

Tony
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Hi TonyWatsonHelp,

Try =NUMBERVALUE(AB11)+NUMBERVALUE(CX11)+NUMBERVALUE(BA11)-NUMBERVALUE(CZ11)-NUMBERVALUE(DA11)
 
Upvote 0
Solution
=IFERROR(AB11+CX11+BA11-CZ11-DA11,"")
 
Upvote 0
Hi Everyone,
Thanks for the input Zot but that only hides the error,
Mark858 this is a great idea, thank you,
Toadstool, this is perfect, it is exactly what i need and can be used in more than just this thanks everyone
Tony
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,260
Members
449,075
Latest member
staticfluids

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