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

tonywatsonhelp

Well-known Member
Joined
Feb 24, 2014
Messages
2,679
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
 

Some videos you may like

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Toadstool

Well-known Member
Joined
Mar 5, 2018
Messages
1,309
Office Version
  1. 2016
Platform
  1. Windows
Hi TonyWatsonHelp,

Try =NUMBERVALUE(AB11)+NUMBERVALUE(CX11)+NUMBERVALUE(BA11)-NUMBERVALUE(CZ11)-NUMBERVALUE(DA11)
 
Solution

Zot

Well-known Member
Joined
Nov 26, 2020
Messages
618
Office Version
  1. 2016
Platform
  1. Windows
=IFERROR(AB11+CX11+BA11-CZ11-DA11,"")
 

tonywatsonhelp

Well-known Member
Joined
Feb 24, 2014
Messages
2,679
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
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
 

MARK858

MrExcel MVP
Joined
Nov 12, 2010
Messages
13,886
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
  2. Mobile
You're welcome, happy we helped.
 

Watch MrExcel Video

Forum statistics

Threads
1,123,422
Messages
5,601,562
Members
414,458
Latest member
mekhallet salah

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
Top