New Tool Radar

AI for Data & Spreadsheets

How to Clean Duplicate Email Addresses from a CSV in Google Sheets

Remove duplicate email addresses from a CSV in Google Sheets with UNIQUE and a COUNTIF check that proves it.

Schematic illustration for How to Clean Duplicate Email Addresses from a CSV in Google Sheets: three numbered steps - Import the CSV; COUNTIF to find duplicates; UNIQUE to keep one each.

A mailing list with the same address twice sends two copies to one person and inflates the subscriber count. UNIQUE keeps one copy of each address, and a COUNTIF check before and after proves how many duplicates were removed.

Prerequisites

  • Google Sheets
  • The CSV imported into Sheets
  • A copy of the source file, so the original stays untouched.

Steps

  1. Import the CSV into Google Sheets and keep the original email column untouched.
  2. Add a helper column with COUNTIF over the email column, which shows 2 or more for any duplicated address.
  3. Filter the helper column to values above 1 and confirm each flagged row really is a duplicate.
  4. Use UNIQUE on the email column in a new sheet to build the cleaned list.
  5. Compare the row counts before and after, and spot-check five addresses against the original.

Worked example: Fictional mailing list after de-duplication

The practice table below is a fictional five-address mailing list after duplicates were removed. The count column is 1 per address, and the total is the number of addresses. The table below is fictional practice material, with fictional values. It is the expected result, worked out by hand, not a run of any tool.

Email Count
[email protected] 1
[email protected] 1
[email protected] 1
[email protected] 1
[email protected] 1
Total 5

Expected result. Five unique addresses kept, each counted once, and the count is 5.

Limits

  • Two people can share one email address, so never delete a row on the address alone without checking the name.
  • UNIQUE is case-sensitive in some settings, so an address in different cases may survive as a duplicate.

Sources

See all