How to remove duplicates in Excel
Excel can remove exact duplicates in a couple of clicks. But in contact lists, the same person often appears with a stray space or a typo in their email, and Excel treats those as different people.
Show me how to do it myself or use the tool below.
Add your file
A CSV or Excel file exported from your store, CRM, email tool or spreadsheet.
Want proof nothing is uploaded? Once this page has loaded, turn off your Wi-Fi. It still works.
Check what we fixed
Names, phone numbers, emails and duplicates are fixed for you.
Download your clean file
Method 1: The Remove Duplicates button
- Click anywhere in your data.
- Go to Data → Remove Duplicates.
- Tick only the column that identifies a person (usually Email), then click OK.
Tip: ticking every column only removes rows that are identical in every cell, which misses most real duplicates.
Method 2: The UNIQUE formula (Excel 365)
To get a de-duplicated copy without changing your original data:
- Unique rows
=UNIQUE(A2:F1000)
Like the button, UNIQUE only matches values that are exactly the same.
The duplicates Excel misses
Before removing duplicates, clean the email column, otherwise these all count as different people:
- Tidy an email before comparing
=LOWER(TRIM(SUBSTITUTE(B2, "mailto:", "")))
- A trailing space: “[email protected] ” vs “[email protected]”
- A typo: “[email protected]” vs “[email protected]”
- Copy-paste leftovers: “mailto:[email protected]”
Or do it all in one step
- Drop your .xlsx or .csv file onto the box above.
- TidyRow cleans every email first (spaces, capitals, common typos), then keeps one row per person.
- See how many duplicates were removed, then download.
- Matches by email, or by phone number when there’s no email
- Keeps the first row for each person, in your original order
- Free for up to 100 rows, and your file is never uploaded
Frequently asked questions
Why didn’t Excel remove all my duplicates?
Excel only removes values that match exactly. A trailing space or a typo in an email makes two rows look different. Clean the column first with TRIM and LOWER, or use TidyRow, which does this automatically for contact lists.
Does Remove Duplicates keep one copy?
Yes. Excel keeps the first row of each set of duplicates (the one highest up) and deletes the rows below it. If you want to keep a different one, sort the data first so that row comes on top.
How do I remove duplicates based on one column?
In the Remove Duplicates window, click Unselect All, then tick only that column (for example Email). Excel compares just that column but still deletes the whole row, so the other columns stay lined up.
How do I remove duplicates in Excel on a Mac?
It works the same way: click in your data, open the Data tab and click Remove Duplicates. Made a mistake? Press Cmd+Z straight away to undo it (Ctrl+Z on Windows).
Which row does TidyRow keep?
The first one in your file. Later rows with the same email (or phone, if there’s no email) are removed.
Is TidyRow for any kind of data?
It’s built for lists of people: customers, leads, subscribers. For other data, Excel’s Remove Duplicates button is the right tool.
Other clean-ups
- Free phone number formatter
- Free name splitter
- Split first and last name in a CSV
- Free duplicate remover
- Free email list cleaner
- How to clean up Excel data
- How to format phone numbers in Google Sheets
- How to separate first and last name in Excel
- How to separate first and last name in Google Sheets
- How to remove duplicates in Google Sheets
- How to format phone numbers in Excel
- How to clean an email list in Excel before you import it
- How to import contacts to HubSpot from a CSV
- How to format a CSV for a Mailchimp import
- How to import customers into Shopify with a CSV
- How to format phone numbers with a country code
- How to clean a Shopify customer export
- How to import contacts into Salesforce from a CSV
- How to import contacts into Pipedrive from a spreadsheet
- How to import contacts into Zoho CRM from a CSV
- How to format a CSV for a Klaviyo import
- How to import a CSV into Google Contacts
- How to import contacts into Outlook from a CSV