103

I want to do "is not blank" in a custom formula. There is a isblank() function but I can find neither an isnotblank() function nor a way to say not, such as ! or ==False.

How can I say is not blank?

pnuts
  • 58,317
  • 11
  • 87
  • 139
cja
  • 9,512
  • 21
  • 75
  • 129

4 Answers4

158

I suggest:

=not(isblank(A1))  

which returns TRUE if A1 is populated and FALSE otherwise. Which compares with:

=isblank(A1)  

which returns TRUE if A1 is empty and otherwise FALSE.

pnuts
  • 58,317
  • 11
  • 87
  • 139
14

The solution is isblank(cell)=false

cja
  • 9,512
  • 21
  • 75
  • 129
9

If you're trying to just count how many of your cells in a range are not blank try this:

=COUNTA(range)

Example: (assume that it starts from A1 downwards):

---------    
Something 
---------
Something
---------

---------
Something
---------

---------
Something
---------

=COUNTA(A1:A6) returns 4 since there are two blank cells in there.

marikamitsos
  • 10,264
  • 20
  • 26
Josh P
  • 1,325
  • 14
  • 12
5
IF(ISBLANK(B1),,A1/B1)

OR

NOT(A2)
itsazzad
  • 6,868
  • 7
  • 69
  • 89