ISERROR
Returns TRUE for any error value.
The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.
Syntax
=ISERROR(value)
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
value | any | Required | — |
Return type
Logical (TRUE or FALSE)
Remarks
- Matches all error kinds, including
#N/A. - Non-error values always return FALSE.
Error cases
- Arity mismatch returns
#VALUE!.
Examples
Test a division-by-zero input.
Formula =ISERROR(1/0)
Expected result TRUE
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Test how the predicate classifies the missing-value error.
Formula =ISERROR(NA())
Expected result TRUE
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Test a valid number at zero, with no input error.
Formula =ISERROR(0)
Expected result FALSE
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Normal value
Formula =ISERROR(123)
Expected result FALSE
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Related functions
FAQ
Does ISERROR include #N/A?
Yes. ISERROR returns TRUE for all error kinds, including #N/A.