How to distinguish zeros ("0") from blank cells?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to figure out a way to get my formulas to distinguish cells with
no data from those that have a "0". Any ideas?
 
=LEN(A1)=0

returns TRUE for empty cell and FALSE for 0

=A1=""


returns TRUE for empty cells and FALSE for 0


--


Regards,


Peo Sjoblom
 
certain functions like AVERAGE will ignore blanks.

If you tell us specifically what you are trying to do, we can help you
figure it out.
 
Peo Sjoblom said:
=LEN(A1)=0

returns TRUE for empty cell and FALSE for 0

=A1=""

returns TRUE for empty cells and FALSE for 0
....

Both formulas also return TRUE for nonblank cells that evaluate to "".
ISBLANK(x) and COUNT(x)=0 provide stricter tests for whether a cell
contains nothing.
 

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

Back
Top