Test for any error
=ISERROR(value)
| Parameter | Description |
|---|---|
value |
The value to check for any error. |
ISERROR will return TRUE if A1 contains an error:
=ISERROR(A1) // TRUE if A1 contains an error
You can use the ISERROR function together with the IF function to test for an error and display a custom message if found:
=IF(ISERROR(A1),"custom message")