ExcelReady
CourseFunction guidesBlog
Start freeStart learning for free
ExcelReady

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

Learn

  • Course
  • Function guides
  • Blog

Product

  • Certificate

Company

  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Logic
  3. ISBLANK, ISNUMBER and ISTEXT in Excel

ISBLANK, ISNUMBER and ISTEXT in Excel

By ExcelReady Team·Updated October 30, 2026·6 min read

The short answer

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.

Key takeaways

  • ISBLANK, ISNUMBER and ISTEXT each take one value and return TRUE or FALSE.
  • ISBLANK is FALSE for a cell holding a formula that returns "" or a single space; use =C2="" to treat those as blank.
  • A number stored as text, like '40, is TRUE for ISTEXT and FALSE for ISNUMBER, and SUM skips it.
  • ISNUMBER(SEARCH("word",A2)) is the standard way to test whether a cell contains some text.
  • Dates are numbers in Excel, so ISNUMBER returns TRUE for a real date.
On this page+
  1. What do the IS functions do?
  2. Excel ISBLANK: how to check for empty cells
  3. Why does ISBLANK say FALSE for a cell that looks empty?
  4. How to use ISNUMBER and ISTEXT to find numbers stored as text
  5. How to check if a cell contains certain text
  6. How to combine IS functions with other logic
  7. What are the common mistakes?
  8. Practise it

Excel ISBLANK tells you whether a cell is empty. Its partners ISNUMBER and ISTEXT tell you whether a cell holds a number or text. Together they let you check imported or typed data before a formula uses it, which is how you catch missing values and numbers stored as text. This guide covers each function, the traps, and how to use them with IF.

What do the IS functions do?#

Each IS function takes one value and answers a yes-or-no question about it, with TRUE or FALSE:

FunctionReturns TRUE when the value isExample
ISBLANKAn empty cell=ISBLANK(C2)
ISNUMBERA number, including a date=ISNUMBER(C2)
ISTEXTText=ISTEXT(C2)
ISNONTEXTAnything that isn't text, including an empty cell=ISNONTEXT(C2)
ISERRORAny error value=ISERROR(D2)
ISNAThe #N/A error=ISNA(D2)
ISLOGICALTRUE or FALSE=ISLOGICAL(F2)

Give each one a single cell, not a range: =ISBLANK(C2), then fill down. All of them work in every current version of Excel. There are a few more in the family: ISEVEN and ISODD check whole numbers, and ISFORMULA (Excel 2013 and later) checks whether a cell holds a formula rather than a typed value.

They also work as conditional formatting rules. Select C2:C8, add a rule that uses the formula =ISTEXT(C2), and every quantity stored as text lights up, so you can fix them before anyone totals the column.

Here is an order list from a web form, with a messy Qty column:

OrderQtyISBLANKISNUMBERISTEXT
204112FALSETRUEFALSE
2042(empty)TRUEFALSEFALSE
2043TBCFALSEFALSETRUE
2044'40FALSEFALSETRUE
204525FALSETRUEFALSE

Excel ISBLANK: how to check for empty cells#

ISBLANK returns TRUE only when a cell is completely empty:

Excel formula
=ISBLANK(C2)

On its own, it shows TRUE or FALSE. Inside IF, it becomes a clear label:

Excel formula
=IF(ISBLANK(C2),"Missing","OK")

You can also flip it. =NOT(ISBLANK(C2)) is TRUE when the cell has been filled in, and =IF(ISBLANK(C2),"",C2*2) only calculates when there is something to calculate with. If IF is new to you, see the Excel IF function explained simply.

Why does ISBLANK say FALSE for a cell that looks empty?#

Because the cell isn't really empty. Three things look blank but aren't:

  1. A formula that returns "", such as =IF(B2>0,B2,""). The cell holds empty text.
  2. A space, often left behind when someone "cleared" a cell by typing a space.
  3. An apostrophe on its own, which some exports add.

ISBLANK returns FALSE for all three. If you want them treated as blank, use one of these instead:

FormulaTRUE for an empty cellTRUE for ""TRUE for a space
=ISBLANK(C2)YesNoNo
=C2=""YesYesNo
=LEN(TRIM(C2))=0YesYesYes

For counting, COUNTBLANK treats cells with "" as blank, but ISBLANK doesn't. The differences between the counting functions are in COUNT vs COUNTA vs COUNTBLANK.

How to use ISNUMBER and ISTEXT to find numbers stored as text#

Look at order 2044 above. Its quantity shows 40, but ISNUMBER says FALSE. The cell holds '40: the apostrophe stores the number as text. Imported data often does this. It looks right, but SUM skips it, so totals come out too low, and =C5*2 may still work, which hides the problem.

Signs of a number stored as text:

  • It sits on the left of the cell. Real numbers align right by default.
  • A small green triangle appears in the top-left corner of the cell.
  • =ISNUMBER(C5) returns FALSE, and =ISTEXT(C5) returns TRUE.

To fix it, retype the number, use the warning triangle's Convert to Number option, or convert with a formula such as =VALUE(C5). Then use ISNUMBER as a check in IF:

Excel formula
=IF(ISNUMBER(C2),"OK","Check")

This one test catches the empty cell, "TBC" and '40, because none of them is a real number. ISBLANK alone would miss the last two. Remember that dates are numbers in Excel, so ISNUMBER is also a quick test for whether a date is real or just text.

How to check if a cell contains certain text#

Combine ISNUMBER with SEARCH. SEARCH returns the position of some text inside a cell, or #VALUE! if it isn't there. ISNUMBER turns that into TRUE or FALSE:

Excel formula
=ISNUMBER(SEARCH("cafe",B2))

For "Green Leaf Cafe" this is TRUE. SEARCH ignores capital letters; use FIND instead if case matters. Wrap it in IF for a label: =IF(ISNUMBER(SEARCH("cafe",B2)),"Food","Other"). The two text functions are compared in FIND vs SEARCH in Excel.

How to combine IS functions with other logic#

IS functions work well with AND, OR and the IF family:

GoalFormula
A real number above 0=AND(ISNUMBER(C2),C2>0)
Missing or not a number=IF(NOT(ISNUMBER(C2)),"Check","OK")
Label several cases=IFS(ISBLANK(C2),"Missing",ISTEXT(C2),"Not a number",TRUE,"OK")

The IFS version gives a different message for each problem. It needs Excel 2019 or later; for older versions, write the same thing as a nested IF. See the Excel IFS function and nested IF for bands and tiers.

To check for errors rather than data types, ISERROR and ISNA are the IS functions behind IFERROR and IFNA. For most reports, IFERROR or IFNA is shorter. The IF function guide has more on building the tests.

What are the common mistakes?#

MistakeWhat happensFix
A range instead of one cell: =ISBLANK(C2:C8)Only one result, or a spill of resultsOne cell, then fill down
Expecting ISBLANK to catch ""FALSE for formula blanksUse =C2=""
ISBLANK to check for valid quantitiesText like "TBC" passesUse ISNUMBER
Quotes around the cell: =ISTEXT("C2")Always TRUE, because "C2" is textWrite =ISTEXT(C2)

Practise it#

Try the ISBLANK exercise on this page, then practise the IS functions and SWITCH in a live spreadsheet. You'll check a messy imported order list, find a number stored as text and fix it, and turn status codes into labels.

Try it yourself

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

Order 2042 has no quantity. In E3, show Missing if the quantity in C3 is empty, and OK if it isn't. Use ISBLANK as the test inside IF.

fx
ABCDEF
1
Order
Customer
Qty
Code
Qty check
2
2041
Bloom Florists
12
S
3
2042
Green Leaf Cafe
P
4
2043
Harbor Books
TBC
D
5
2044
Pixel Print
25
S
6
2045
Oak Street Gym
8
D
7
8
9

Tip: ISBLANK takes one cell. Put it where IF's test goes, then the two labels in double quotes.

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 guideIFLearn Excel's IF function with practical examples: flag budgets, label rows and return blanks. Avoid the classic mistakes and practice live.

Frequently asked questions

How do I use ISBLANK in Excel?

+

Type =ISBLANK(C2). It returns TRUE if C2 is empty and FALSE if it holds anything. Use it inside IF for a label, like =IF(ISBLANK(C2),"Missing","OK").

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

+

The cell isn't truly empty. It may hold a formula that returns "", a space, or an apostrophe. Use =C2="" to treat empty text as blank too, or =LEN(TRIM(C2))=0 to also ignore spaces.

How do I check if a cell is not blank?

+

Use =NOT(ISBLANK(C2)) or =C2<>"". Both return TRUE when C2 holds something; the second also treats a formula returning "" as blank.

How do I check if a cell contains a number?

+

Use =ISNUMBER(C2). It is TRUE for real numbers and dates, and FALSE for text, including numbers stored as text.

How do I check if a cell contains certain text?

+

Use =ISNUMBER(SEARCH("cafe",B2)). SEARCH returns a position number when it finds the text, and an error when it doesn't, so ISNUMBER turns that into TRUE or FALSE.

Sources

  • IS functions - Microsoft Support
  • IF function - Microsoft Support

Written and checked by the ExcelReady Team. First published October 30, 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. What do the IS functions do?
  2. Excel ISBLANK: how to check for empty cells
  3. Why does ISBLANK say FALSE for a cell that looks empty?
  4. How to use ISNUMBER and ISTEXT to find numbers stored as text
  5. How to check if a cell contains certain text
  6. How to combine IS functions with other logic
  7. What are the common mistakes?
  8. Practise it

Keep reading

Logic· 6 min read

The Excel IF Function Explained Simply

The Excel IF function checks a condition and returns one value when it's TRUE and another when it's FALSE. The syntax is =IF(logical_test, value_if_true, value_if_false). For example, =IF(B2>=70,"Pass","Fail") shows Pass for a score of 70 or more and Fail for anything lower. Text results go in double quotes.

Logic· 6 min read

Nested IF in Excel: Grades, Bands and Tiers

A nested IF puts a second IF in the value_if_false slot of the first, so one formula can return three or more results. For grades: =IF(B2>=90,"A",IF(B2>=80,"B",IF(B2>=70,"C","F"))). Excel checks the tests in order and stops at the first TRUE one, so test the highest band first.

Logic· 6 min read

The Excel IFS Function: Cleaner Than Nested IFs

The Excel IFS function checks a list of conditions in order and returns the result paired with the first TRUE one: =IFS(test1, value1, test2, value2, ...). It replaces nested IFs without the brackets. IFS has no "otherwise" result, so end with TRUE and a fallback value. It needs Excel 2019 or later.

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback. The first lessons are free, with no download.

Start learning for free