Contact

ISERR Function in Google Sheets: Examples, Pitfalls & Compatibility

Information Beginner Google Sheets

ISERR in Google Sheets: test for an actual error other than #N/A. Includes worked examples and application-specific cautions.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: Use ISERR in Google Sheets to test for an actual error other than #N/A. The official ISERR reference is the source for the function definition and platform-specific rules described below.

Availability and version history

  • Introduced: Introduction version not established by the official history reviewed.
  • Availability: Documented in the rolling Google Sheets service; examples use the web spreadsheet workflow.
  • Checked: October 14, 2026; official ISERR reference. Documentation check, not a new native test; existing example-verification notes retain their scope.

Syntax and arguments

=ISERR(value)

value (required): A value, formula result or reference to the single cell being classified.

Examples use English function names, comma argument separators and decimal points. Adapt formula separators to your workbook settings, not punctuation inside quoted text.

When to use it

Use ISERR when #N/A is an expected missing-data state but other calculation errors should be flagged. A FALSE result can still be #N/A, so do not label FALSE as universally successful.

Three worked examples

Each example is independent. Where input cells are listed, enter those values first; otherwise the formula is self-contained. Expected outputs are independently checked calculations or documented error expectations, not captured results from Google Sheets.

Example 1: Detect an invalid real square root

=ISERR(SQRT(-25))

Expected result: TRUE.

The square-root error is not #N/A, so this predicate detects it.

Example 2: Keep the missing-value state separate

=ISERR(NA())

Expected result: FALSE.

#N/A is the deliberate exception to ISERR’s error test.

Example 3: Test an ordinary status label

=ISERR("pending")

Expected result: FALSE.

The label is not an error. Its acceptability must be checked by a different validation rule.

Advanced example: retain a separate unavailable-data category

In H2:H6 enter =6, =0, =NA(), =SQRT(-25), ="#N/A". Fill =ISERR(H2) down; expected flags are FALSE, FALSE, FALSE, TRUE, FALSE.

For a readable classification, use:

=IF(ISNA(H2),"Unavailable",IF(ISERR(H2),"Calculation failure","No selected error"))

Expected labels are No selected error, No selected error, Unavailable, Calculation failure, No selected error. The digit zero remains a normal result. The quoted error label is ordinary text and may need a separate numeric-type check.

Mapping the ISERR flags to 1 and 0 gives a total of one selected error, while a separate ISNA flag also counts one. Google lists the classic non-#N/A errors in its dedicated reference; these controlled examples do not establish every future service-specific error category or replace native testing.

Put it to work safely

Create a diagnostic column beside the calculation being checked and fill down one row at a time. Test a known numeric result, a deliberate #N/A, a division error and a quoted error label before using the flag in a larger report. Do not overwrite the underlying calculation while investigating. Once the desired replacement policy is clear, IFERROR or IFNA may provide a more direct presentation formula.

Common mistakes and fixes

Quoted error text is not detected as an error. A string such as “#N/A” is ordinary text. An actual error value is a different data type.

A FALSE result is treated as proof the input is valid. A predicate only tests its named error condition. Text, blanks and out-of-range business values can still require separate validation.

A useful diagnostic disappears. Do not replace every error with zero without considering the meaning. Preserve enough information to distinguish missing data from a broken calculation.

Google Sheets-specific notes

Google provides a separate reference for this predicate. In a shared validation sheet, label its output according to the exact condition tested rather than using an ambiguous heading such as “good row”. See the vendor reference for the current definition.

Excel and Google Sheets comparison

Both official references distinguish actual errors from normal text and distinguish the scope of these three predicates. The classic error cases here do not certify the treatment of every newer, application-specific error or a complex array formula.

Compare the ISERR guide for Microsoft Excel and its official documentation. Having a guide in both libraries establishes two documented references, not a certificate of identical behavior across releases, locales or file conversions.

Evidence and testing scope

Editorial verification: Official references retrieved on 2026-10-12. The three worked cases are included in this release’s reproducible Python checking suite. It checks the stated arithmetic, calendar or text model and the expected documented error classification; it is not the Google Sheets calculation engine. No native application run, UI screenshot, maximum-size benchmark or cross-version certification is claimed. Review the editorial testing standards before relying on a formula in a critical workbook.

October 14, 2026 review scope

The complete guide and original examples were checked against the direct Google ISERR reference. Added scalar, type and error controls are independently modeled. No native Sheets execution, full evaluation-order/coercion matrix or broader client certification is claimed.