ISERR function

The ISERR function in Excel is a logical function used to check if a given value is an error other than #N/A. It returns TRUE if the value is any error except #N/A, and FALSE if the value is not an error or is #N/A. This function is useful for identifying and handling errors in your spreadsheet data.




valueThe value you want to check for errors.

How to use

You can use the ISERR function to determine if a cell contains any error other than #N/A. Here are some examples of how to use it:

This formula checks if the value in cell A1 is an error other than #N/A and returns TRUE or FALSE accordingly.

Similarly, this formula checks if the value in cell B2 is an error other than #N/A and provides the result as TRUE or FALSE.


Here’s a practical example. Suppose you have a column of data where some cells may contain errors. You want to identify and mark those cells as errors. You can use conditional formatting and the ISERR function to achieve this.

1. Select the range of cells you want to format.

2. Go to the “Home” tab and click on “Conditional Formatting” in the “Styles” group.

3. Choose “New Rule.”

4. In the “New Formatting Rule” dialog, select “Use a formula to determine which cells to format.”

5. Enter the formula =ISERR(A1) (assuming A1 is the first cell in your selected range).

6. Click on the “Format” button to choose the formatting style you want for the error cells.

7. Click “OK” to apply the formatting rule.

Now, any cell in the selected range that contains an error other than #N/A will be formatted according to your chosen style, making it easy to spot and address data issues.

By using the ISERR function, you can efficiently handle and identify errors in your Excel spreadsheets, making your data analysis and reporting more robust.

Tomasz Decker is an Excel specialist, skilled in data analysis and financial modeling.