How to Highlight All Error Cells in Excel

Sometimes when applying formula improperly, error like #N/A, #REF! will be displayed in cell, if we want to highlight all error cells how can we do? Though we can press ctrl and pick up all error cells one by one, this way is very bothersome. We need a convenient way. Actually, we can implement this via excel Conditional Formatting function, we can edit a new rule to filter all error cells and then highlight them. This article will show you the method in details.


Prepare a table with some errors.

Highlight All Error Cells 1

Method: Highlight All Non-Blank Cells by Conditional Formatting

Step 1: Select the table displayed in above screenshot.

Step 2: Click Home in ribbon, click Conditional Formatting in Styles group.

Highlight All Error Cells 2

Step 3: Click the arrow on Conditional Formatting icon, select New Rule.

Highlight All Error Cells 3

Step 4: In ‘New Formatting Rule’ dialog ‘Select a Rule Type’ pane, select ‘Use a formula to determine which cells to format’ option.

Highlight All Error Cells 4

Step 5: Enter formula =ISERROR(A1) into ‘Format values where this formula is true.’.

Highlight All Error Cells 5

Step 6: Click Format button in Edit the Rule Description pane. On Format Cells, click Fill tab, select background color, then click OK to quit current dialog.

Highlight All Error Cells 6

Step 7: In Preview field, you can see that cell is highlighted with yellow. Click OK to quit editing.

Highlight All Error Cells 7

Verify that all error cells are highlighted properly.

Highlight All Error Cells 8

Related Functions

  • Excel ISERROR function
    The Excel ISERROR function used to check for any error type that excel generates and it returns TRUE for any error type, and the ISERR function also can be checked for error values except #N/A error, it returns TRUE while the error is #N/A. The syntax of the ISERROR function is as below:= ISERROR (value)….



You might also like: