Back to Functions

ISERROR

Checks whether a value is an error.

InfoISERROR(value)

The ISERROR function in Google Sheets checks whether a value or formula result is an error, returning TRUE or FALSE. It's a fundamental building block for writing formulas that gracefully handle unexpected errors instead of displaying error codes to your users. Dive into our comprehensive guide to master its application.

Parameters

  • value: The value or formula you want to test for an error.

Step-by-Step Tutorial

  1. Checking a formula for errors:

    • Example: =ISERROR(1/0)
    • Result: TRUE
  2. Combining ISERROR with IF:

    • Example: =IF(ISERROR(A1/B1), "Error", A1/B1)
    • Result: will return "Error" if the division fails, otherwise the calculated value.

Use Cases and Scenarios

  1. Error-Safe Formulas: Prevent error codes like #DIV/0! or #N/A from displaying in reports.
  2. Data Validation: Flag rows where a lookup or calculation failed.
  3. Dashboard Building: Ensure downstream calculations don't break when upstream data is missing or invalid.

Related Functions

  • IFERROR: Returns a specified value if a formula returns an error, otherwise returns the formula's result.
  • ISNA: Checks whether a value is the #N/A error.
  • ISERR: Checks whether a value is an error other than #N/A.

Related Articles

No related articles available for the ISERROR function.

Newsletter

More ISERROR examples coming soon.

We are building short, practical updates for Sheets power users.