Formula Help

C

cvgairport

Is there a way to test with an IF statement if a cell has is empty or "is
not" a number?

Thanks!

Amy
 
D

Dave Peterson

=if(a1="","It looks empty","It looks like it's not empty")

You can use:
=if(isnumber(a1), ...

to check if it's a number.

or
=if(istext(a1), ...
to check to see if it's text.
 
D

David Biddulph

That probably means that it's not blank, but has an empty string "", which
isn't the same.

David Biddulph
 
Top