How to Find Duplicates in Excel: Complete Guide

Published on March 30, 2026 By Zhiyuan Tan, AI Product Lead
The Problem: Stop wasting hours manually searching for duplicate entries in large spreadsheets.
Tested on 10k-row datasets: Traditional manual search failed; fixed using Mica's AI-powered duplicate detection with 30s setup.

If you're still manually searching for duplicate data in large Excel spreadsheets, this guide will show you proven methods to find duplicates in Excel in seconds. Whether you need quick visual highlighting or advanced formula-based detection, you'll find the right solution for your workflow.

Quick Method: Highlight Duplicates with Conditional Formatting

The fastest way to find duplicates in Excel is using Conditional Formatting. This built-in feature instantly highlights all duplicate values in your selected range.

Step-by-Step Instructions

  1. Select the data range you want to check (e.g., A2:A1000)
  2. Go to Home tab → Conditional Formatting
  3. Choose Highlight Cells RulesDuplicate Values
  4. Select a highlighting color and click OK

All duplicate values will now be highlighted in your chosen color. This method works perfectly for quick visual identification.

Excel conditional formatting highlighting duplicate values in a customer email list

Figure 1: Excel conditional formatting duplicates highlight

Pro Tip: This method identifies duplicates across the entire selected range. If you need to find duplicates based on multiple columns, combine values first using a helper column with formula like =A2&B2.

Customize Duplicate Highlighting Rules

You can customize how Excel identifies duplicates:

To access these options, follow the same steps above and choose 'Duplicate' or 'Unique' from the dropdown menu in the Duplicate Values dialog box.

Advanced Method: Using Formulas to Find Duplicates

For more control over duplicate detection, use Excel formulas. This approach allows you to flag duplicates in a separate column, making it easier to filter and sort.

Method 1: COUNTIF Formula

=COUNTIF($A$2:$A$1000, A2)>1

This formula returns TRUE if the value in A2 appears more than once in the range.

Method 2: COUNTIF with Occurrence Number

=COUNTIF($A$2:A2, A2)

This formula shows which occurrence number each entry is (1st, 2nd, 3rd, etc.). Values greater than 1 are duplicates.

Method 3: Identify First vs. Subsequent Duplicates

=IF(COUNTIF($A$2:A2, A2)>1, "Duplicate", "Original")

This labels the first occurrence as 'Original' and all subsequent duplicates as 'Duplicate'.

Find Duplicates Across Multiple Columns

To find duplicates based on multiple criteria (e.g., same name AND email):

=COUNTIFS($A$2:$A$1000, A2, $B$2:$B$1000, B2)>1

This formula checks if the combination of values in columns A and B appears more than once.

Remove Duplicates: Clean Your Data

After identifying duplicates, you'll likely want to remove them. Excel provides a built-in tool for this.

Steps to Remove Duplicates

  1. Select your data range (including headers)
  2. Go to Data tab → Remove Duplicates
  3. Choose which columns to check for duplicates
  4. Click OK

Excel will remove duplicate rows and show a summary of how many duplicates were removed and how many unique values remain.

Excel Remove Duplicates dialog showing column selection options

Figure 2: Excel remove duplicates tool interface

Important: Always backup your data before removing duplicates. The Remove Duplicates feature permanently deletes data.

Alternative: Use the Advanced Filter to extract unique values to a new location without deleting original data.

Keep Specific Duplicates Using Sorting

If you need to keep certain duplicates (e.g., the most recent entry):

  1. Sort your data by the duplicate column and a timestamp column
  2. Use Remove Duplicates, which keeps the first occurrence
  3. This ensures you retain the newest or oldest entries based on your sort order

Related Resources

Ready to let Mica handle your Excel chores?

Download for Free