Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to negate 'isblank' function

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?

like image 559
cja Avatar asked Sep 24 '14 11:09

cja


People also ask

What is the opposite of Isblank in Excel?

The IF... The Excel ISBLANK function returns TRUE when a cell is empty, and FALSE when a cell is not empty. For example, if A1 contains "apple", ISBLANK(A1) returns FALSE.

Why does Isblank return false?

As per previous comments, ISBLANK will return FALSE even if your formula in cell C1 returns an empty string (""). ISBLANK will return TRUE only when a given cell is "truly" blank, i.e. does not contain any formulas or values.

How do you check if the cell is blank even if it has formula?

The ISBLANK Function[1] is an Excel Information function that returns true if the argument cell has no information in it. ISBLANK checks a specified cell and tells us if it is blank or not. If it is blank, it will return TRUE; else, it will return FALSE.


1 Answers

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.

like image 200
pnuts Avatar answered Sep 30 '22 21:09

pnuts