Formula error, don't understand why...

D

duugg

If I'm using this formula...

=IF(F24="","",F22+F24)

In cell F26


and this formula

=IF(F20="","",F18+F20)

is in cell F22

and

1

is in cell F24

I got a #value! error

Why is this the case when there is indeed a number 1 in cell F24?
 
B

Biff

Hi!

What result do you have in F22?

If the formula in F22 returns "" then you'll get the #VALUE! error because
you're attempting to perform math on a TEXT value. The "" is a zero length
TEXT string. So:

=IF(F24="","",F22+F24)

=IF(FALSE,""+F24) = #VALUE!

Try this:

=IF(F24="","",SUM(F22,F24))

SUM ignores TEXT entries.

Biff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top