Features of !SEMTools
↑ Navigate Excel tasks and !SEMTools add-in features ↑

ISERR

ISERR function in Excel - error checking examples
ISERR function examples
Function categoryInformation functions
VolatilityNon-volatile
Similar functionsISNA, ISERROR, IFERROR

What does the ISERR function do?

This function checks a cell and returns TRUE if the cell contains an error value.

It will return FALSE if the cell content calculates without error, or if it's the #N/A error.

ISERR function syntax

The ISERR function has one argument:

=ISERR(cell_or_calculation)

Other Information functions

ISLOGICAL, ISERROR, ISBLANK, IFERROR, ISEVEN, ISNA, ISNONTEXT, ISODD, ISREF, ISTEXT, ISNUMBER, INFO, NA, COUNTBLANK, ERROR.TYPE, N, CELL

ISERR formula examples

The ISERR function is particularly useful when you want to detect all error types except #N/A. This makes it different from ISERROR, which catches all errors including #N/A.

Check if a calculation returns any error except #N/A:

=ISERR(A1/B1)

Combine with IF to handle errors gracefully:

=IF(ISERR(A1/B1), "Calculation error", A1/B1)
ISERR with division
E3=IF(ISERR(A3/B3),"Calculation error",A3/B3)
ABCDE
1ABA/BISERR(A/B)IF + ISERR
21042.5=A2/B2FALSE=ISERR(A2/B2)2.5=IF(ISERR(A2/B2),"Calculation error",A2/B2)
3100#DIV/0!=A3/B3TRUE=ISERR(A3/B3)Calculation error=IF(ISERR(A3/B3),"Calculation error",A3/B3)
4text2#VALUE!=A4/B4TRUE=ISERR(A4/B4)Calculation error=IF(ISERR(A4/B4),"Calculation error",A4/B4)
58#DIV/0!=A5/B5TRUE=ISERR(A5/B5)Calculation error=IF(ISERR(A5/B5),"Calculation error",A5/B5)

Division by zero, by an empty cell and text in the calculation all give errors that ISERR catches. IFERROR(A2/B2,"Calculation error") is the shorter way to write the same.

Error types detected by ISERR

ISERR returns TRUE for these error types:

  • #VALUE!
  • #REF!
  • #DIV/0!
  • #NUM!
  • #NAME?
  • #NULL!

ISERR returns FALSE for:

  • #N/A (use ISNA for this)
  • Any non-error value
  • Empty cells
  • Text, numbers, dates, logical values
Which errors ISERR sees
B2=ISERR(A2)
ABCD
1ValueISERRISERRORISNA
2#N/A=NA()FALSE=ISERR(A2)TRUE=ISERROR(A2)TRUE=ISNA(A2)
3#REF!=INDEX(A1:A2,5)TRUE=ISERR(A3)TRUE=ISERROR(A3)FALSE=ISNA(A3)
4#NAME?=FOO()TRUE=ISERR(A4)TRUE=ISERROR(A4)FALSE=ISNA(A4)
5#NUM!=SQRT(-1)TRUE=ISERR(A5)TRUE=ISERROR(A5)FALSE=ISNA(A5)
6(empty)FALSE=ISERR(A6)FALSE=ISERROR(A6)FALSE=ISNA(A6)
742FALSE=ISERR(A7)FALSE=ISERROR(A7)FALSE=ISNA(A7)

ISERR is TRUE for every error except #N/A. Empty cells and ordinary values are FALSE for all three functions.

When to use ISERR vs ISERROR

Use ISERR when you want to handle all errors except #N/A separately. This is common in lookup scenarios where #N/A means "value not found" and should be treated differently from actual calculation errors.

Example distinguishing #N/A from other errors:

=IF(ISNA(VLOOKUP(A1, B:C, 2, 0)), "Not found",
 IF(ISERR(VLOOKUP(A1, B:C, 2, 0)), "Calculation error",
 VLOOKUP(A1, B:C, 2, 0)))

Other Information functions in Excel

ISNA, ISERROR, ISNUMBER, ISTEXT, ISBLANK, ISLOGICAL, ISREF, IFERROR, NA, INFO, CELL

Like the article? Help its author! Buy !SEMTools, it has lots of useful instruments to process text data.