Excel ISERR Function

The ISERR function checks if a value is an error (except #N/A) and returns TRUE or FALSE. It identifies calculation errors in formulas.

ExcelExcel
Google SheetsGoogle Sheets
logical
intermediate
Syntax Preview
ExcelExcelGoogle SheetsGoogle Sheets
=ISERR(value)
Understanding the ISERR Function

Practical Examples

Basic Error Detection

Check if a division formula produces an error

Result: TRUE for errors (except #N/A), FALSE otherwise

Conditional Formula with Error Handling

Display custom message when calculation produces an error

Result: Custom message or calculation result

Ignoring #N/A in VLOOKUP

Check for errors but allow #N/A results to pass through

Result: Value, #N/A, or custom error message

Data Quality Check

Count cells with errors (excluding #N/A) in a range

Result: Count of error cells

Nested Formula Error Prevention

Protect complex calculations from propagating errors

Result: Value or fallback

Common Errors and Solutions

#VALUE! Error

ISERR returns #VALUE! error

Cause:

Occurs when ISERR itself is given invalid syntax or circular reference

Solution:

Check that ISERR has exactly one argument and the formula it's checking is valid

Prevention:

Always validate the formula being tested with ISERR before deploying

Example:

Incorrect TRUE/FALSE

ISERR returns TRUE when you expect FALSE or vice versa

Cause:

Confusion between ISERR (excludes #N/A) and ISERROR (includes all errors)

Solution:

Use ISERROR if you want to catch #N/A errors, or use ISNA specifically for #N/A

Prevention:

Understand that ISERR intentionally ignores #N/A - use ISERROR for comprehensive error checking

Example:

Missing Error Detection

#N/A errors pass through undetected

Cause:

ISERR specifically excludes #N/A from error detection by design

Solution:

Use ISERROR to catch all errors including #N/A, or combine ISERR with ISNA for separate handling

Prevention:

Decide if #N/A should be treated as error - use ISERROR for all errors, ISERR to exclude #N/A

Example:

Best Practices and Pro Tips

Choose the Right Error Function

Use ISERR when you want to catch calculation errors but allow #N/A (like from VLOOKUP) to indicate 'not found'. Use ISERROR when you want to catch ALL errors including #N/A. Use IFERROR for modern, cleaner error handling.

Data Validation Pattern

Combine ISERR with ISNA for comprehensive but separate error handling: =IF(ISERR(formula), 'Error', IF(ISNA(formula), 'Not Found', formula))

Legacy Function Alert

ISERR is a legacy function maintained for compatibility. For new spreadsheets, consider using IFERROR or IFNA which provide cleaner, more readable error handling solutions.

Audit Complex Spreadsheets

Use =SUMPRODUCT(--ISERR(range)) to count calculation errors in a range, excluding intentional #N/A values from lookup functions. Perfect for quality control.

Platform Compatibility

ISERR works identically in Excel (all versions) and Google Sheets. It's one of the original IS functions with universal support across spreadsheet platforms.

Frequently Asked Questions
Related Formulas and Next Steps

Need Help with Excel ISERR Function?

Stop struggling with formula syntax. Use AskFormulas to generate validated formulas instantly with our AI-powered tool.

Example Excel formula:

Related Formulas

IFERROR Function

Master Excel's IFERROR function to handle errors gracefully. Replace #N/A, #DIV/0!, #VALUE! and other errors with custom values or blank cells.

intermediate
logical
ExcelExcel
Google SheetsSheets
Validated
IFNA Function in Excel

Master the IFNA function to handle #N/A errors gracefully in Excel and Google Sheets. Learn syntax, examples, and best practices for error-free spreadsheets.

intermediate
logical
ExcelExcel
Google SheetsSheets
Validated
ISERROR Function in Excel

The ISERROR function checks if a value or formula results in any Excel error and returns TRUE or FALSE. Master error detection and handling.

beginner
logical
ExcelExcel
Google SheetsSheets
Validated
ISNA Function in Excel

The ISNA function checks if a value or formula returns the #N/A error and returns TRUE or FALSE. Master #N/A error detection for cleaner lookups.

beginner
logical
ExcelExcel
Google SheetsSheets
Validated