Excel - ISERR Function



ISERR Function

The ISERR function is a family of IS functions categorized under the list of Information Functions. The Excel ISERR function retrieves a Boolean value that is TRUE or FALSE. This function generates TRUE if the error occurs after evaluating the specific expression or the field value points to Error; ignore the #N/A error. Otherwise, the function will retrieve FALSE.

The ISERR function is crucial for auditing the enormous dataset. It permits data analysts to highlight error-containing cells using conditional formatting and replace them with accurate content.

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 ISERR function is as follows −

=ISERR(value)

Arguments

You can use the following arguments with the ISERR function −

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

Points to Remember

  • This function is helpful in formulas to check their result. When joined with the IF function, this function provides a user-defined message and pinpoints the errors.
  • If the circular reference is specified in the Value argument, the ISERR function returns 0.
  • Both ISERR and ISERROR functions are pretty similar; they test the cell content and return True or False depending on the supplied cell reference. The only difference is −
    • The ISERROR function generates the FALSE if the cell does not refer to an error and vice versa.
    • The ISERR function returns True if the Value specifies the error, but the #N/A error is ignored.

Examples of ISERR Function

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

Example 1: Basic ISERR Function

Solution

Assume the sample dataset comprises Cell Value and ISEERR's Result. You may select the cell range C2:C7 and enter the formula =ISERR(B2) in the formula bar.

Basic ISERR Function1

After that, press "Ctrl + Enter" to display the formula's outcome in the selected cell range.

Basic ISERR Function2

Therefore, the ISERR generated the logical values based on the cell value. Note that the ISERR function returns FALSE for the #N/A value.

Example 2: Counting Cells without Errors

Solution

In this example, we will combine the SUM function with the NOT and ISERR functions to count only cells containing error-free values. Select the C10 cell and enter the formula =SUM(--NOT(ISERR(B2:B7))). In this expression, the NOT function inverses the outcome of the ISERR function and the double operator -- transform the TRUE and FALSE into 1 and 0. The SUM function adds all the numbers in this cell range.

Counting Cells without Errors1

After that, press the Enter tab to obtain the result.

Counting Cells without Errors2

Note − #N/A is not considered an error when evaluating an ISERR function, so it is also countable in this expression.

In case of counting the error contains cell, then you can write the expression =SUM(--(ISERR(B2:B7))) in the C12 cell and press the Enter tab.

Counting Cells without Errors3

Counting Cells without Errors4

Download Practice Sheet

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

Advertisements