Cellgrids Cellgridsby LearnWithRinkesh
Home › Excel tutorials › How to Remove Duplicates in Excel Safely

How to Remove Duplicates in Excel Without Losing Original Data

By Rinkesh Shah · Business Analyst, 8 years in data · Updated 2026-10-31

▶ Video coming soon

Duplicates cause wrong totals and wrong counts. Here are three safe ways to deal with them.

Back up first

The Remove Duplicates button deletes rows permanently. Copy your data to a new sheet before you start.

Method 1: Remove Duplicates button

  1. Click any cell in your data.
  2. Go to Data → Remove Duplicates.
  3. Tick the columns that define a duplicate. If you tick all columns, only fully identical rows are removed. If you tick only Email, rows with the same email are treated as duplicates.
  4. Click OK. Excel tells you how many rows were removed.

Method 2: the UNIQUE function

=UNIQUE(A2:C100)

This returns a new list without duplicates and leaves the original data untouched. It is available in Microsoft 365 and Excel 2021 or later.

Method 3: flag duplicates first

Add a helper column to see duplicates before deleting anything:

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

The first time a value appears it is left blank. Later copies are marked, so you can filter and review them.

Watch out for hidden differences

"Priya" and "Priya " (with a space) look the same but are not duplicates to Excel. Clean the column with TRIM first.

Worked example

Select the table, go to Data → Remove Duplicates, and tick the columns that define a duplicate. If you tick only Email, rows with the same email are removed, keeping the first. Excel reports how many were removed.

Common mistakes

Frequently asked questions

Can I undo it?

Yes, with Ctrl+Z straight away.

How do I get a unique list without changing data?

Use UNIQUE in Microsoft 365.

Which row is kept?

The first one.

Practice this online, free

Reading is only half of learning Excel. Cellgrids is a free place for online Excel practice: solve Excel formula exercises in a live spreadsheet, prepare for Excel interview questions, and work through business case studies built for data analytics and business analytics roles.

Practice these formulas: UNIQUE, COUNTIF.

Start Excel practice → Case studies