How to remove duplicate rows in Excel or CSV, comparing every column or only some, and how to check first so you never delete the wrong record.
Duplicate rows creep in when you merge exports, import the same list twice or copy data from several people. To remove duplicate rows in Excel or CSV safely, decide what counts as a duplicate, look before you delete, and keep a copy of the original.
Two rows can be identical in every column, or they can share only a key such as an e-mail address or an invoice number. These are different situations.
Remove duplicate Excel rows lets you compare all columns or only the ones you choose. For text files, Remove duplicate CSV rows deletes repeated rows and keeps the first of each.
If the data matters, mark duplicates first rather than deleting them. Find duplicates in Excel adds a new column that flags duplicate rows, or duplicate values in chosen columns, without removing anything. Sort or filter on the flag, review a sample, and only then run the removal.
This extra step is worth it for customer lists, where two people can share a name but not an e-mail, and for financial lists, where two identical amounts on the same day can be two real payments.
If you removed duplicates and some still look the same, check these causes.
Once the list is unique, you may want it sorted or trimmed of empty rows. Delete blank Excel rows removes the empty ones, and Sort Excel by column puts it in order.
The work happens in your browser, so a client list is not uploaded. A few free uses are available without signing in, then you continue with Google.
Work on a copy, and flag duplicates before deleting them. Then remove using only the columns that identify a record, and compare row counts before and after.
For CSV files the first occurrence of each row is kept and the later ones are deleted. If the newest row is the one you want, sort the data so the newest comes first before you run it.
Yes. Choose just that column, such as e-mail or ID, as the comparison key. Rows that share the value are treated as duplicates even if other columns differ.
Ready to try it on your own files? Try PDF Kit gives you 3 free uses without an account.
Try 3 tools free, no account needed.