What is the ISBLANK function?
=ISBLANK(value)ISBLANK tests whether a value is a blank cell and returns TRUE or FALSE. It is most often used inside IF to treat values differently by kind.
Column A of the sheet mixes text, numbers, a blank, a logical value, errors and text that looks like a number; column B says what each is. Column C shows the same formula copied down.
ISBLANK checks required fields and marks unfilled rows with conditional formatting. Only a cell with nothing in it is TRUE: a space or a formula that returns empty text ("") is not blank, so what you see and the result can differ.
Arguments
- value
- The value or cell to test.
ISBLANK examples
Example 1. Check for blank
=ISBLANK(A4)A4 is empty, so TRUE.
Example 2. Show entry status
=IF(ISBLANK(B2), "Missing", "Done")"Missing" when B2 is empty.
Example 3. Cells that look empty
=ISBLANK(A2)A cell that looks empty is FALSE if anything is in it.
A2 holds =ISBLANK(A2) =A2="" Nothing TRUE TRUE One space FALSE FALSE A formula returning "" FALSE TRUE 0 FALSE FALSE
Common mistakes
A cell with a space
A cell that looks empty but holds a space is not blank, so FALSE.
Formulas returning ""
A cell with a formula such as ="" is not blank either. Test it with =A2="".
ISBLANK("")
Typing "" as the argument passes text, so the result is FALSE. Give ISBLANK a cell.
FAQ
- How do I test the opposite?
- Use NOT(ISBLANK(A2)).
- Number of blank cells in a range?
- Use COUNTBLANK.
- How many cells are filled?
- Use COUNTA. It also counts formulas that return "".