ISERROR checks whether a value is any kind of error, returning TRUE or FALSE — useful when you need to test for an error without replacing it.
ISERROR returns TRUE if a value is any of Excel's error types (#N/A, #VALUE!, #REF!, #DIV/0!, etc.) and FALSE otherwise.
Unlike IFERROR, which directly replaces an error with a fallback value, ISERROR just tells you whether an error exists, leaving you to decide what to do about it.
=ISERROR(value)| Argument | Description |
|---|---|
| value required | The value or formula to test. |
=ISERROR(A2/B2)Returns TRUE if dividing A2 by B2 produces any error, such as #DIV/0! if B2 is zero.
=SUMPRODUCT(--ISERROR(A2:A20))Counts the number of error cells in a range — useful for auditing a large sheet for problems.
=IF(ISERROR(VLOOKUP(A2,B:C,2,FALSE)),"Check manually",VLOOKUP(A2,B:C,2,FALSE))A longer way to achieve what IFERROR does in one step — useful when the TRUE/FALSE itself needs to feed into other logic too.
IFERROR directly replaces an error with a fallback value in one step: =IFERROR(A1/B1,"N/A").
ISERROR only tells you TRUE or FALSE — you then need your own IF to decide what happens next: =IF(ISERROR(A1/B1),"N/A",A1/B1). The IFERROR version is shorter for this exact case, which is why ISERROR is mostly used when you need the TRUE/FALSE result itself, not just a replacement value.
For simple "replace the error" cases, IFERROR is shorter and avoids calculating the same formula twice.
ExcelPro has 700+ hands-on Excel exercises across 7 career tracks — free to start, no download needed.
Start practicing free →