Function · Information
Excel ISBLANK function
The Excel ISBLANK function is TRUE only for a truly empty cell. A formula that returns an empty string is not blank.
Syntax =ISBLANK(value)
=ISBLANK(A2)Arguments
| Name | Required | What to pass |
|---|---|---|
| value | Required | The cell to test. A range is not blank just because some of its cells are empty. |
Examples
An empty cell versus a formula that shows nothing
=ISBLANK(A2)Result TRUE for A2, FALSE for A3
| A | B | C | |
|---|---|---|---|
| 1 | Cell | ISBLANK | What is stored |
| 2 | TRUE | Nothing | |
| 3 | (looks empty) | FALSE | A formula that returns an empty string |
| 4 | FALSE | A single space |
ISBLANK is TRUE only when the cell has never been given a value and does not contain a formula. A formula ="" displays nothing and ISBLANK returns FALSE. A single space returns FALSE. An apostrophe that forces text format can do the same. If your “blank” test is there to decide whether a form was filled in, test the empty string too: =OR(ISBLANK(A2),A2="").
The grid shows the three cases side by side. The first cell was left alone and is blank. The second holds a formula whose result is an empty string. The third holds a space. Only the first is TRUE. COUNTBLANK counts cells the way ISBLANK tests them, so it has the same blind spot for formulas that return "". The first value in a range that is not blank is xl.coalesce.