← All comparisons

ISBLANK vs ="": the two kinds of empty

A cell can LOOK empty two ways: truly empty (nothing in it) or holding a formula that returns "". ISBLANK only believes the first; A2="" accepts both. Half of all 'my IF is wrong on empty cells' bugs are this distinction.

The differences at a glance

ISBLANKCOUNTBLANKCOUNTA
Truly empty cellTRUECountedNot counted
Formula returning ""FALSE — there IS content (a formula)Counted (!) — COUNTBLANK accepts both kindsCounted — it's content
A space character " "FALSENot countedCounted
ZeroFALSENot countedCounted
CompatibilityUniversalUniversalUniversal — all verified in every version we test

Which should you use?

Compatibility (from executed tests)

All three behave identically across every version of Excel, Google Sheets, and LibreOffice we test — including COUNTBLANK's quirk of counting BOTH kinds of empty while ISBLANK accepts only one. The trio COUNTA/COUNT/COUNTBLANK don't partition a range cleanly for exactly this reason.

Example formulas

Looks-empty test (usual choice)=IF(A2="","missing","ok")
Never-entered test=ISBLANK(A2)
Empty-ish incl. whitespace=LEN(TRIM(A2))=0

Full per-version details on each function page: ISBLANK · COUNTBLANK · COUNTA.