Excel function

ISBLANKfunction

Checks whether a value is a blank cell.

All versions
=ISBLANK(A4)
A
B
C
1
2
3
4
5
6
7
8
9
10

Click a cell in the table to change value. Only the blank cell (A4) is TRUE. A cell with a space or "" is not blank. Try breaking it on purpose to see the errors.

Result

TRUE

value
A4You can also click a cell in the table

The cell to test. Click another value in column A.

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

  1. Example 1. Check for blank

    =ISBLANK(A4)

    A4 is empty, so TRUE.

  2. Example 2. Show entry status

    =IF(ISBLANK(B2), "Missing", "Done")

    "Missing" when B2 is empty.

  3. 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=""
    NothingTRUETRUE
    One spaceFALSEFALSE
    A formula returning ""FALSETRUE
    0FALSEFALSE

Common mistakes

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 "".