ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Comparisons
  3. ISBLANK vs ="" in Excel: Which Test for Empty

ISBLANK vs ="" in Excel: Which Test for Empty

By ExcelReady Team·Updated November 1, 2026·7 min read

The short answer

ISBLANK(A2) returns TRUE only when A2 is truly empty, with nothing typed and no formula. A2="" returns TRUE when A2 is empty or holds an empty string, such as a formula that returns "". Use A2="" for most checks, because cells that look empty often contain formulas. Use ISBLANK when you must know that nothing was entered.

Key takeaways

  • ISBLANK is FALSE for a formula that returns "", even though the cell looks empty.
  • A2="" is TRUE for both truly empty cells and empty-string results.
  • Neither treats a cell with a space as empty; use TRIM(A2)="" for that.
  • COUNTBLANK counts empty cells and empty strings, matching the ="" test.
On this page+
  1. ISBLANK vs ="" at a glance
  2. How ISBLANK works
  3. How the ="" test works
  4. The same cells tested both ways
  5. When to use ISBLANK
  6. When to use =""
  7. Common mistakes when testing for empty cells
  8. Our recommendation
  9. Practise it

The short answer to ISBLANK vs empty string: ISBLANK(A2) is TRUE only when a cell is truly empty, while A2="" is TRUE when a cell is empty or holds an empty string, such as a formula that returns "". Because many cells that look empty actually contain formulas, A2="" is the safer everyday test. This comparison is for anyone whose blank check works on some rows and fails on others.

ISBLANK vs ="" at a glance#

ISBLANK checks whether a cell has any content; ="" checks whether its value is empty text.

FeatureISBLANK(A2)A2=""
What it testsThe cell has no content at allThe cell's value is empty
Truly empty cellTRUETRUE
Formula returning ""FALSETRUE
A single spaceFALSEFALSE
The number 0FALSEFALSE
Any text or numberFALSEFALSE
Opposite testNOT(ISBLANK(A2))A2<>""
Matches which counterNo direct matchCOUNTBLANK
Excel versionsAll versionsAll versions

An empty string is text with no characters, written as two double quotes with nothing between them: "". Formulas return it to leave a cell looking blank.

How ISBLANK works#

ISBLANK is one of Excel's IS functions. It takes one value and returns TRUE or FALSE.

Excel formula
=ISBLANK(A2)

It returns TRUE only when A2 has nothing in it: no number, no text, no formula. The moment the cell holds a formula, ISBLANK returns FALSE, even when that formula displays nothing. That is the source of most confusion.

The IS family also includes ISNUMBER, ISTEXT and ISERROR, which test what kind of value a cell holds. The ISNUMBER function guide shows a useful alternative: if a cell should hold a date or amount, =ISNUMBER(A2) is TRUE only when a real number is there, which rules out blanks, empty strings, spaces and text in one go. The overview of Excel's IS functions covers the rest of the family.

How the ="" test works#

A2="" is a comparison. It asks: "is the value of A2 equal to empty text?" and returns TRUE or FALSE.

Excel formula
=A2=""
=IF(A2="","Missing","Received")

For a truly empty cell, Excel treats the value as empty when compared with text, so the result is TRUE. For a formula that returns "", the value is empty text, so the result is also TRUE. In practice, ="" answers the question people usually mean: "does this cell show anything?"

The opposite test is A2<>"", which reads "A2 is not empty". It is the usual way to write "only if something has been entered" inside IF, COUNTIFS or FILTER.

The same cells tested both ways#

Here are five cells that might all look "empty-ish":

Cell containsLooks like=ISBLANK(A2)=A2=""=TRIM(A2)=""
NothingEmptyTRUETRUETRUE
=IF(B2>0,B2,"") with B2 = 0EmptyFALSETRUETRUE
A single spaceEmptyFALSEFALSETRUE
00FALSEFALSEFALSE
PaidPaidFALSEFALSEFALSE

Row 2 is the key difference. A formula that returns "" looks empty, but ISBLANK says it isn't. Row 3 catches both tests: a space is a character, so the cell isn't empty. Wrapping the cell in TRIM, which removes extra spaces, treats it as empty.

A status column built both ways#

Suppose column B holds a paid date, and column C should say "Missing" or "Received".

Excel formula
=IF(ISBLANK(B3),"Missing","Received")
=IF(B3="","Missing","Received")

If B3 is truly empty, both return Missing. Now suppose column B is filled by a lookup that returns "" when nothing is found. The ISBLANK version now says Received for every unpaid invoice, while the ="" version still says Missing. Nothing on screen warns you that the first formula has broken.

Counting empty cells on the same data#

The same split shows up when you count. Say B2:B6 holds two paid dates, one truly empty cell and two lookup formulas that return "".

Excel formula
=COUNTBLANK(B2:B6)
=COUNTA(B2:B6)
=SUMPRODUCT(--ISBLANK(B2:B6))

COUNTBLANK returns 3, because it counts the empty cell and both empty strings, just like the ="" test. COUNTA returns 4, because it counts every cell with content, including the two formulas. The SUMPRODUCT version counts cells where ISBLANK is TRUE and returns 1. Three formulas, three answers, all "correct" for the question they ask. Decide which question you mean before you build a report on it.

When to use ISBLANK#

Use ISBLANK when you need to know that a cell has no content at all. It fits:

  • Data-entry checks, where a person must type a value and a formula in the cell would itself be a problem.
  • Finding cells to fill, such as gaps under a heading in an exported report. The guide to filling blank cells uses Go To Special > Blanks, which selects truly empty cells, the same ones ISBLANK sees.
  • Auditing a sheet, to spot cells that contain formulas even though they look empty.
  • Conditional formatting that highlights cells someone forgot to fill in, where the column has no formulas.

When to use =""#

Use ="" for most everyday checks of whether a cell shows a value. It fits:

  • Columns filled by formulas, such as lookups or IF formulas that return "" when there is nothing to show.
  • Status and flag columns, like "Missing" or "Done".
  • Filtering and counting, such as the FILTER condition B2:B20<>"" or =SUMPRODUCT(--(B2:B20<>"")) to count cells that show a value.
  • Data pasted as values from formulas, which can leave empty-string cells that ISBLANK doesn't treat as empty.

If spaces might sneak in, use TRIM(A2)="". If the cell should hold a number, ISNUMBER(A2) is stricter still.

Common mistakes when testing for empty cells#

  1. Using ISBLANK on formula results. A formula returning "" is never blank to ISBLANK. Use ="".
  2. Forgetting about spaces. A space looks empty but isn't. Clean the data with TRIM, or test TRIM(A2)="".
  3. Testing with =0. =A2=0 returns TRUE for an empty cell, so blanks get counted as zeros. Test for empty first: =IF(A2="","",A2*2).
  4. Mixing COUNTA and COUNTBLANK. COUNTA counts "" formula cells as filled, while COUNTBLANK counts them as blank. On the same range, the two can add up to more than the number of cells.
  5. Writing " " instead of "". =A2=" " tests for a single space, not empty. The two quotes must touch.
  6. Expecting a lookup to return blank. A lookup that hits an empty cell returns 0, not an empty value. Add &"" to the end, or wrap it in IF, to show an empty string instead.

When you have more than two outcomes to return, SWITCH can replace a chain of IF tests; see the SWITCH function and CHOOSE vs SWITCH.

Our recommendation#

Use A2="" as your default test for "is this cell empty?", and A2<>"" for "has something been entered?". It treats truly empty cells and empty-string formulas the same way, which matches what you see on screen. Reach for ISBLANK only when you specifically need to know that a cell has no content at all, such as when auditing formulas or checking typed input. Add TRIM when spaces might be present, and use ISNUMBER when the cell must hold a number.

In short: ="" for what you see, ISBLANK for what is really there.

Practise it#

Try the exercise on this page: build a status column with the ="" test. Then practise the IS functions and SWITCH in a live spreadsheet: you type each formula, and it checks your answer instantly.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Column B shows the date each invoice was paid. In C3, use IF with the ="" test to return Missing when B3 is empty, or Received when it has a value.

fx
ABCD
1
Invoice
Paid on
Status
2
INV-201
45415
3
INV-202
4
INV-203
45421
5
INV-204
6
7
8

Tip: The test is B3="". If it is TRUE, return "Missing"; otherwise return "Received".

Practise this in a lesson

LessonIS functions and SWITCHCheck what's really in a cell with ISBLANK, ISNUMBER and ISTEXT, and turn short codes into labels with SWITCH.Function guideISNUMBERUse ISNUMBER to catch numbers stored as text and, with SEARCH, to test whether a cell contains a word. Examples, pitfalls and live practice.

Frequently asked questions

Why does ISBLANK return FALSE for a cell that looks empty?

+

The cell probably contains a formula that returns an empty string, such as =IF(B2>0,B2,""), or a space. ISBLANK is TRUE only when the cell has no content at all. Use =A2="" or =TRIM(A2)="" instead.

How do I check if a cell is not empty in Excel?

+

Use =A2<>"", which returns TRUE when the cell has any value. =NOT(ISBLANK(A2)) also works but treats formulas that return "" as not empty.

What is an empty string in Excel?

+

An empty string is text with no characters, written as two double quotes: "". Formulas often return it to leave a cell looking blank, for example when there is nothing to show yet.

Does COUNTBLANK count cells with formulas that return ""?

+

Yes. COUNTBLANK counts truly empty cells and cells that contain an empty string. COUNTA does the opposite and counts those formula cells as filled.

Does ISBLANK treat zero as blank?

+

No. A cell containing 0 is not blank, so ISBLANK returns FALSE and A2="" returns FALSE. Be careful with A2=0, though: an empty cell counts as 0 in that comparison.

Sources

  • IS functions - Microsoft Support
  • IS functions - Microsoft Support
  • COUNTBLANK function - Microsoft Support

Written and checked by the ExcelReady Team. First published November 1, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. ISBLANK vs ="" at a glance
  2. How ISBLANK works
  3. How the ="" test works
  4. The same cells tested both ways
  5. When to use ISBLANK
  6. When to use =""
  7. Common mistakes when testing for empty cells
  8. Our recommendation
  9. Practise it

Keep reading

Logic· 6 min read

ISBLANK, ISNUMBER and ISTEXT in Excel

ISBLANK returns TRUE when a cell is completely empty, ISNUMBER returns TRUE when it holds a real number, and ISTEXT returns TRUE when it holds text. Each takes one cell, like =ISBLANK(C2). They are most useful inside IF, for example =IF(ISNUMBER(C2),"OK","Check"), to catch bad data before you calculate with it.

Comparisons· 7 min read

CHOOSE vs SWITCH in Excel

Use CHOOSE when your input is a position number, 1, 2, 3 and so on, and you want the value in that position of a list. Use SWITCH when your input is a code or value to match, such as "P" or "EXP", and you want a default for anything unknown. CHOOSE works in every Excel version; SWITCH needs Excel 2019 or newer.

Logic· 7 min read

The CHOOSE Function in Excel

CHOOSE returns the value at a given position in a list you type into the formula. =CHOOSE(2,"Morning","Afternoon","Night") returns Afternoon, because it is item 2. The first argument must be a number from 1 to the number of items, or CHOOSE returns #VALUE!. It works in every version of Excel.

More on comparisons

  • LEFT vs TEXTBEFORE: Which Splits Text Better?
  • MATCH Type 0 vs 1 vs -1 Explained
  • MATCH vs XMATCH in Excel
  • MAX vs LARGE in Excel
  • Named Ranges vs Cell References in Excel
  • Nested IF vs IFS: Which Is Better?
All comparisons articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free