asked 83.6k views
1 vote
What are "blank" cells called?

asked
User Eishay
by
8.4k points

1 Answer

5 votes
If you are checking a cell for a zero value and the cell is blank, the test evaluates to true. For example, if you have the following formula in cell A1 =IF(B1=0,"zero","blank") and B1 is blank, the formula returns "zero" and not "blank" as expected.

If the range might contain a blank cell, you should use the ISBLANK function to test for a zero value, as in the following example: =IF(ISBLANK(B2),"blank",IF(B2=0,"zero","other")) Note that the above formula returns "zero" if there is a zero value in the cell, "blank" if the cell is blank, and "other" if anything else is in the cell.

You must always use the ISBLANK formula first before you test for a zero value. Otherwise you will always return a "true" for the zero value, and never get to the test for the ISBLANK formula.
answered
User Mark Boltuc
by
8.0k points

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.