ShareYourGroupShareYourGroupExcel Formulas

Information functions

ISBLANK, ISNUMBER, ISTEXT and ISERROR functions in Excel

The IS functions test what kind of thing a cell holds and return TRUE or FALSE.

Before a formula does something with a cell, it sometimes needs to ask what is in it. Is it empty? Is it a real number or text that looks like one? Did the lookup fail? The IS functions answer with TRUE or FALSE, and are nearly always used inside IF.

Syntax

=ISBLANK(value)
=ISNUMBER(value)
=ISTEXT(value)
=ISERROR(value)
=ISNA(value)
ArgumentWhat it is
valueThe cell or formula to test.

Examples

Each result below is what Excel itself showed for the formula on the sample sheet.

Sample sheet: Marks of eight students in three subjects. One Science mark is missing (cell D6 is empty).
ABCDE
1NameClassMathsScienceEnglish
2Asha8A788591
3Ravi8B455260
4Meena8A928879
5Kabir8B334138
6Tara8A6772
7Joy8B889084
8Neha8A546158
9Imran8B787369
Sample sheet: Text as people really type it: stray spaces, mixed capitals, codes with dashes.
ABCD
1Full nameEmailCodeAmount as text
2  asha   verma asha.verma@example.comPB-10-12341,250
3RAVI KUMARravi@example.orgDL-08-0042300
4meena gillmeena.gill@example.comMH-12-9876 45.50 
5Kabir Khankabir@example.netRJ-14-000712 kg

The family

FunctionTRUE when the cell holds
ISBLANKnothing at all
ISNUMBERa number, a date or a time
ISTEXTtext
ISNONTEXTanything that is not text, including an empty cell
ISLOGICALTRUE or FALSE
ISERRORany error value
ISNAthe #N/A error only
ISERRany error except #N/A
ISFORMULAa formula
ISEVEN, ISODDan even or an odd number

ISBLANK and cells that only look empty

ISBLANK is strict. It is TRUE only for a cell with nothing in it. It is FALSE for:

Because of the second case, many people test with =A2="" instead. That comparison is TRUE both for a truly empty cell and for a formula returning empty text, which is usually what is wanted: "does this cell show nothing?"

ISNUMBER: the test for real numbers

=ISNUMBER(A2) is the quickest way to find numbers stored as text, the hidden cause of totals that will not add up. Put it in a helper column and filter for FALSE. See VALUE for the cure.

It is also the second half of two standard patterns:

Dates are numbers, so ISNUMBER is TRUE for a real date and FALSE for a date typed as text. That makes it a test for bad dates too.

ISERROR, ISNA and IFERROR

Before Excel 2007, errors were handled like this:

=IF(ISERROR(VLOOKUP(...)), "Not found", VLOOKUP(...))

The lookup had to be written twice. IFERROR does the same in one go, and IFNA handles only the "not found" case. The IS versions are still the right tool when you want a TRUE or FALSE, for example to count the errors in a column: =SUMPRODUCT(--ISERROR(A2:A100)), or to use as a Conditional Formatting rule that colours failed lookups.

Prefer ISNA to ISERROR for lookups, for the reason given on the IFERROR page: it reacts to a missing value and does not hide a real mistake in the formula.

In Data Validation and Conditional Formatting

The IS functions make good rules.

Testing a whole range

Applied to a range, an IS function returns a TRUE or FALSE for each cell. Two minus signs turn those into ones and zeros that can be added: =SUMPRODUCT(--ISTEXT(A2:A100)) counts the text cells. =SUMPRODUCT(--ISNUMBER(A2:A100)) gives the same answer as COUNT.

Common mistakes

In Google Sheets

The same IS functions exist in Google Sheets. Sheets also has ISDATE, ISEMAIL and ISURL, which Excel does not.

Related functions

Every result on this page was calculated in Microsoft Excel (version 16.0, build 20326) on 12 November 2026, not typed by hand.

This is an independent help site. It is not connected with or approved by Microsoft. Excel and Microsoft 365 are trademarks of Microsoft Corporation, named here only to say which program a formula is for. The people and figures in the sample sheets are made up.