#Value with true blank cells

JoeK210185

New Member
Joined
Apr 1, 2009
Messages
36
Hello

I've got a formula =SUM(C3+H3+M3+R3+W3+AB3+AG3+AL3+AQ3+AV3)

Pretty simple, but if say, H3, was a blank cell, it is returning a #VALUE!

Now i know it has to be a true blank cell, which it is, but if i put in a random figure, lets jsut say 1, then the formula works out, if i then delete the 1, the formula still says working, even though it is exactly the same as it was before, with the same figures in each cell an the same cells being true blanks?

I'm just looking for anyone who may be able to help me!

Oh, and on my options, calculation is on automatic :)
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
There's no point in using SUM with plus signs. You get the same result as without it. Use it like this:

=SUM(C3,H3,M3,R3,W3,AB3,AG3,AL3,AQ3,AV3)

and text entries will be ignored.
 

Colin Legg

MrExcel MVP
Joined
Feb 28, 2008
Messages
3,497
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
My guess is that there was a space (ie. text) in H3, so it wasn't truly empty. The SUM() function doesn't actually do anything in your formula, since you are using the + operator to add them all together anyway. If you change your formula to this then it won't error if a cell contains a space:
Code:
=SUM(C3,H3,M3,R3,W3,AB3,AG3,AL3,AQ3,AV3)
 

JoeK210185

New Member
Joined
Apr 1, 2009
Messages
36
My guess is that there was a space (ie. text) in H3, so it wasn't truly empty. The SUM() function doesn't actually do anything in your formula, since you are using the + operator to add them all together anyway. If you change your formula to this then it won't error if a cell contains a space:
Code:
=SUM(C3,H3,M3,R3,W3,AB3,AG3,AL3,AQ3,AV3)

Yes it was truly empty Colin, as i stated in the opening post.

And Andrew thanks, that worked.
 

Colin Legg

MrExcel MVP
Joined
Feb 28, 2008
Messages
3,497
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi Joe,
Yes it was truly empty Colin, as i stated in the opening post.
Sorry to contradict you (and I emphasise that I am not trying to be impolite in doing so, rather just trying to identify the cause of the problem) but, if H3 was truly empty, then AFAIK it is absolutely impossible that H3 would have caused that formula to return a #VALUE! error. If you can prove otherwise with a simple demonstration then I would be interested to see it!
 
Last edited:
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,588
Messages
5,832,610
Members
430,144
Latest member
bruno92

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