How to Remove Duplicates in Excel with Data → Remove Duplicates
Read this guide in: English · मराठी · हिंदी
Data → Remove Duplicates deletes repeated rows based on the columns you tick, keeping the first occurrence of each key.
Chala mitrano! Customer list madhe same phone twice — cleanup time. Why? Totals and mail merges break on duplicates. How? Backup, then Data → Remove Duplicates. Stay with me.
Quick answer
Vertical steps:
- Copy the sheet (backup).
- Select the data including headers.
- Data → Remove Duplicates.
- Tick only the columns that define a duplicate (for example Order ID).
- Click OK — read how many removed / remaining.
- Spot-check the key column.
Data tab → Remove Duplicates → tick key columns → OK
Language: English · मराठी · हिंदी
Before and after (look at the tables first)
Before
| Order ID | City | Amount |
|---|---|---|
| O1 | Mumbai | 100 |
| O2 | Pune | 40 |
| O1 | Mumbai | 100 |
After (tick Order ID)
| Order ID | City | Amount |
|---|---|---|
| O1 | Mumbai | 100 |
| O2 | Pune | 40 |
Before
आधी (Before)
पहले (Before)
After
नंतर (After)
बाद में (After)
Why remove duplicates?
- Double-counted sales inflate PivotTables.
- Customer SMS lists should not spam the same phone.
- Cleaning chapter skill before serious analysis.
What Excel does
- Looks at the columns you ticked.
- Keeps the first row for each unique key combo.
- Deletes later rows that match on those columns.
- Shows a summary count.
Vertical practice steps
- Type the three-row before table.
- Duplicate the sheet as backup.
- Data → Remove Duplicates → tick Order ID only.
- Confirm two rows remain.
- Undo (Ctrl+Z); try ticking all columns — same result here because rows O1 are identical.
- Change the second O1 Amount to 99; tick only Order ID — still one O1 kept (first).
Safer habits
- Always backup or use a copy sheet.
- Highlight duplicates with Conditional Formatting when you only want to see them.
- Microsoft 365:
UNIQUE()spills distinct rows without deleting source data.
Ravindra Bagale's Tip
Tick every column only when you mean “fully identical rows”. For “one row per Order ID”, tick Order ID alone — even if other fields differ. Wrong ticks = wrong cleanup.
Practice task
- Ten customer rows with two repeated phones.
- Remove duplicates on Phone.
- Also try Conditional Formatting → Duplicate Values on Phone.
- Note the difference: delete vs highlight.
Learn it properly
Course lessons:
Related guides: Create PivotTable · CONCAT and TEXTJOIN · FILTER function
Samajla ka? Remove Duplicates keeps the first row per ticked columns. Backup first. Aata pudhe text join.
Frequently asked questions
Does Remove Duplicates keep the first row?
Yes. Excel keeps the first occurrence and deletes later duplicates in the selection.
Which columns should I tick?
Only columns that define sameness. Ticking every column removes only fully identical rows.
Can I highlight duplicates instead?
Yes — Conditional Formatting → Highlight Cells Rules → Duplicate Values — without deleting.
UNIQUE function?
In Microsoft 365, UNIQUE spills a distinct list without deleting source rows.
Undoing?
Ctrl+Z immediately. That is why a backup sheet is wise before cleanup.
Course lesson?
Chapter 5 Data Cleaning — Duplicates.