FormulaCraft

How to highlight cells that contain errors in Excel and Google Sheets

Topic:Conditional formatting
Excel & Google Sheets
=ISERROR(A2)

Verified example

Computed by a real spreadsheet engine on the sample data below.

Result
100
#N/A
250
#DIV/0!

=ISERROR(A2)FALSE

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Select the range that may contain formula errors, e.g. A2:D50.
  2. 2Open Conditional Formatting and choose 'Use a formula'.
  3. 3Enter =ISERROR(A2), pick a bold highlight color like red, and save. Every cell returning any error type will be flagged.

Tips

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

Frequently asked

What is the difference between ISERROR and ISERR?

ISERR returns TRUE for all errors except #N/A, while ISERROR catches every error type including #N/A. Use ISERROR when you want to catch all error types.

More on Conditional formatting

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: