Skip to content
Aussieveedubbers

excel help wanted

0 likes
Share Share on Facebook Share on X Share on Reddit

amazeer Bishop of Volkswagenism

3,029 posts · joined Nov 2005 ·

#625844
when I use the result of an if statement I get the #value error in the image.

I can use =IF(ISNUMBER(K2),L2/K2,0) like I have in the lower rows, but I dont really want to display a zero there if its not needed.

Can anyone tell me a solution?

1 attachment · Log in to view

modulus Veteran Volks Folk

2,009 posts · joined Jul 2003 ·

#625853
Hi Chris,
I don't encounter that problem using Excel 2000. Which version are you using?

hth

1 attachment · Log in to view

Peter Hill
1975 Type 2 Double Cab
modulus.com.au

amazeer Bishop of Volkswagenism

3,029 posts · joined Nov 2005 ·

#625861
2000.
Hmmmm🤪

modulus Veteran Volks Folk

2,009 posts · joined Jul 2003 ·

#625868
My sum formula is =SUM(C2:E2).
Is that what you're using (i.e. it may work differently from e.g. =C2+D2+E2?
Peter Hill
1975 Type 2 Double Cab
modulus.com.au

modulus Veteran Volks Folk

2,009 posts · joined Jul 2003 ·

#625870
Yep, after having a look at the help:

"
SUM(number1,number2, ...)

Number1, number2, ... are 1 to 30 arguments for which you want the total value or sum.

Numbers, logical values, and text representations of numbers that you type directly into the list of arguments are counted. See the first and second examples following.


If an argument is an array or reference, only numbers in that array or reference are counted. Empty cells, logical values, text, or error values in the array or reference are ignored. See the third example following.


Arguments that are error values or text that cannot be translated into numbers cause errors.
"

So it matters more how you specify the addition than whether it contains nulss, empty strings ewtc.

hth
Peter Hill
1975 Type 2 Double Cab
modulus.com.au

amazeer Bishop of Volkswagenism

3,029 posts · joined Nov 2005 ·

#625936
thanks man.
=SUM(C3:F3, G3*12, H3*15, I3*20, J3*15, M3) works a treat.

=C7+D7+E7+F7+(G7*12)+(H7*15)+(I7*20)+(J7*15)+M7 is what I was using before.

🤓