## Excel ISERROR Function

Author: Sun Last Modified: 2022-06-10

If you want to follow along with this tutorial, please download the example spreadsheet.

### Description

The Excel ISERROR function is used to test if an initial supplied expression or value returns an Excel error, and if so, it returns TRUR, otherwise, returns FALSE.

Excel error including: #N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, #NULL!.

### Syntax and arguments

Formula syntax

ISERROR(value)

Arguments

 Value: Required,the value for checking an Excel error.

### Return Value

The ISERROR function returns a logical value TRUE or FALSE.

### Version

Excel 2003 and later versions

### Usage and Examples

Example1: Basic Usage

To check if the values in range B4:B8 are errors, you can use the ISERROR function as below: Select a cell to place the checking result, and type the formula as this:

=ISERROR(B4)

Press Enter key, and then drag the auto-fill handle down to get all results.

Example2: Combine with IF function

The ISERROR function is usually used to combine with IF function to test a value if an error and display a custom text, or run a different calculation while an error occurs.

Supposing in range B12:B16, there are some data including Excel errors, you want to check if the cells are error values, if so, show “error”, otherwise, show the original data.

Select a cell to place the checking result, and type the formula as this:

=IF(ISERROR(B12),"error",B12)

Press Enter key, and then drag the auto-fill handle down to get all results.

### Excel ISERROR function vs Excel ISERR function

ISERROR function returns TRUE if the supplied value is an error.

ISERR function returns TRUE if the supplied value is any error except the #N/A error.

#### Relative Functions:

• Excel CELL Function
The CELL function returns the requested information about a specified cell, such as the cell’s location, contents, formatting, and more.

• Excel ISEER Function
The ISERR function returns TRUE for any error type (except #N/A) and FALSE otherwise.

• Excel ERROR.TYPE Function
The ERROR.TYPE function returns a number that corresponds to a specific error value. If no error exists, ERROR.TYPE returns the #N/A error.

• Excel ISREF Function
The ISREF function checks whether a given value is a reference. If the given value is a reference, it returns TRUE. Otherwise, it returns FALSE.

### The Best Office Productivity Tools

#### Kutools for Excel - Helps You To Stand Out From Crowd

 🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions… Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ... Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup... Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List... Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Columns to Select Same & Different Cells ... Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ... Top 15 Toolsets:  12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

#### Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

• One second to switch between dozens of open documents!
• Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
• Increases your productivity by 50% when viewing and editing multiple documents.
• Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.