Remove Duplicate Rows in a CSV

Clean a CSV that contains identical records or blank rows. Assistly compares full rows after trimming text and returns a separate cleaned file for review.

Ask Assistly
Clean this CSV. Remove blank rows and full-row duplicates after trimming text. Keep the first occurrence and return a cleaned CSV plus the counts of rows removed.

Clean a contact export without merging different people

The fictional export contains repeated rows and two records that share a name. The email fields show why a matching name alone is insufficient.

Identical name, email and companyKeep the first complete matching row and remove the later copy.
Same name, different emailKeep both rows. Investigate separately if you suspect the same contact.
Empty rowRemove it in the cleaned export. Review the reported number of blank and duplicate rows.

How to do it in Assistly

  1. Save the original and attach a copy

    Keep the header row and preserve important identifiers as text before editing.

  2. Ask for exact full-row cleanup

    Request duplicate and blank-row counts. Specify that rows with a meaningful field difference should remain.

  3. Review before re-importing

    Confirm the headers, row counts, identifiers and a sample of retained records.

Microsoft guide to identifying and removing duplicate values

Common questions

Does the tool deduplicate by email alone?

The cleanup compares full rows after trimming text. Review possible matches by an individual field separately.

What happens if the same person has two records?

Rows that differ in a field are retained. Review the differences before deciding whether the records should be combined.

What are the file limits?

The local spreadsheet tool supports up to 2,000 data rows and 40 columns per sheet. Use smaller, clearly defined batches for larger files.

Does the original CSV change?

Assistly provides a cleaned output. Keep the original and verify the output before re-importing.

Can I get my original data back?

Yes. Keep your original file. The cleaned copy is separate, so you can compare the two.

Try it in your workspace.

Use the example prompt above and add your own details.