Excel - ISERROR Function



ISERROR Function

The ISERROR function retrieves the Boolean values, either TRUE or FALSE, based on the cell value. With the help of this function, you can quickly inspect the errors and replace these errors with accurate data. Unlike the ISERR function, the #N/A error is also assumed to be an error. The ISERRROR function was first launched in Excel 2007 and is categorized under the Excel information function. For example, IT auditors inspect the company datasets and use this function to check the validity of the data.

Compatibility

This advanced Excel function is compatible with the following versions of MS Excel −

  • Excel for Microsoft 365
  • Excel for Microsoft 365 for Mac
  • Excel for the web
  • Excel 2024
  • Excel 2024 for Mac
  • Excel 2021
  • Excel 2021 for Mac
  • Excel 2019
  • Excel 2016
  • Excel Web App
  • Excel 2013
  • Excel 2010
  • Excel 2007

Syntax

The syntax of the ISERROR function is as follows −

=ISERROR(value)

Arguments

You can use the following arguments with the ISERROR function −

Argument Description Required/Optional
Value It denotes a cell reference or formula whose result is also an error. Required

Points to Remember

  • This function is helpful in formulas to check their outcome. When joined with the IF function, the custom message can be populated, encountering errors.
  • The ISERROR function does not handle the circular reference.

Examples of ISERROR Function

Practice the following examples to learn the use of the ISERROR function in Excel.

Example 1: Basic ISERROR Function

Solution

Assume the sample dataset consists of two columns titled "Cell Value" and "Result". Enter the formula =ISERROR(A2) in the B2 cell and press the Enter tab.

Basic ISERROR Function1

Therefore, the ISERROR(B2) function returns the FALSE as error is not found in the argument.

Basic ISERROR Function2

After that, drag the + sign, place it into the B7 cell, and press the Enter tab to obtain the result.

Basic ISERROR Function3

Example 2: Combining the FILTER Function with the ISERROR Function to Fetch the Value Without Error

Solution

If you wish to extract data values that do not contain errors, you can apply the FILTER function along with ISERROR function. Enter the formula =FILTER(B2:B7, NOT(ISERROR(B2:B7)), "Data Value without error") in the B9 cell.

FILTER Function with ISERROR Function1

After that, hit the Enter tab to obtain the resulting value.

FILTER Function with ISERROR Function2

As you can notice in the screenshot, only one value, 4 in the selected range, has been extracted through the defined expression, whereas all other cell values contain errors.

Download Practice Sheet

You can download and use the sample data sheet to practice the ISERROR function.

Advertisements