Function · Information

Excel ISERROR function

The Excel ISERROR function returns TRUE for any error, including #N/A and #DIV/0!. A normal number is FALSE. The test itself does not become the error.

All current Excel versions. Also in Excel for the web and Google Sheets.

Syntax =ISERROR(value)

ISERROR
=ISERROR(1/0)

Arguments

NameRequiredWhat to pass
valueRequiredThe value or formula to test. Every error type returns TRUE, including #N/A, #DIV/0!, #VALUE!, #REF!, #NAME?, #NUM!, and #GETTING_DATA.

Examples

Division by zero

=ISERROR(1/0)

Result TRUE

=ISERROR(B1)B2
Test
AB
1Value#DIV/0!
2Is errorTRUE
A picture of the sheet, not a live calculator. B1 is the error. B2 is TRUE, not another error.

ISERROR returns TRUE when the value is any error, and FALSE otherwise. 1/0 is #DIV/0!, so ISERROR is TRUE. The ISERROR cell shows TRUE. It does not show #DIV/0!. #N/A is an error too, so ISERROR of NA() is TRUE. ISNA is the test that accepts only #N/A and rejects #DIV/0!.

A number, text, TRUE, FALSE, and a blank are all FALSE. Use ISERROR when any failure should take the same path. Use ISNA when a lookup miss is acceptable and a broken formula should still show. IFERROR replaces the error. ISERROR only reports it.