How to Highlight Duplicate Values in Excel in 3 Easy Steps

Written by

in

Before you permanently delete duplicate rows from a dataset, it is often best practice to visual identify them first. Highlighting duplicates allows you to review repeating entries, spot data entry errors, and verify information without losing any raw data.

In this quick guide, you will learn how to instantly highlight duplicate values in Excel using Conditional Formatting.


Why Highlight Duplicates First?

While Excel’s Remove Duplicates feature permanently deletes repeating rows, highlighting gives you full control:

  • Visual Audit: Instantly scan where repeating entries occur across your sheet.
  • Safer Data Cleaning: Verify whether a duplicate is a genuine error or an acceptable duplicate entry before deleting.
  • Non-Destructive: Highlights can be cleared at any time without altering your actual cell values.

Step 1: Select Your Data Range

  1. Click and drag to highlight the cells, column, or row you want to check for duplicate values.
  2. To select an entire column, click the column letter header at the top (e.g., Column A).
  3. To select a specific table range, press Ctrl + A while inside the dataset.

Tip: If you only want to highlight duplicates within a specific column (such as Email Addresses or Customer IDs), select only that specific column.


Step 2: Apply Conditional Formatting

  1. Navigate to the Home tab on the Excel Ribbon.
  2. In the Styles group, click Conditional Formatting.
  3. Hover over Highlight Cells Rules and select Duplicate Values… from the sub-menu.

Step 3: Choose Your Highlight Color and Confirm

  1. A dialog box will appear. Ensure the first drop-down menu is set to “Duplicate” (not “Unique”).
  2. In the second drop-down menu, choose your preferred formatting style (e.g., Light Red Fill with Dark Red Text).
  3. Click OK.

Excel will immediately scan your selected range and highlight every repeating value!


How to Clear the Duplicate Highlights

When you are done reviewing your data, removing the color highlights takes just two clicks:

  1. Select your data range again.
  2. Go to Home ➔ Conditional Formatting ➔ Clear Rules ➔ Clear Rules from Selected Cells.

Summary

Using Conditional Formatting to highlight duplicates is one of the simplest yet most effective data validation techniques in Excel. Combine this visual check with Excel’s built-in Remove Duplicates tool to ensure your spreadsheets remain accurate and error-free.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *