Duplicates That Don’t Match Exactly in Google Sheets: Case, Extra Spaces, Gmail Dots, Phone Formats and Typos (2026)
You ran Remove duplicates, or flagged repeats with a formula, and the same person is still on the list twice: Jane Doe and jane doe, Jane.Doe@Example.com and jane.doe@example.com, (304) 555-0101 and 304-555-0101. To a spreadsheet, a duplicate is a character-for-character match, and these are not. The fix is to compare a normalized copy of each value rather than the value itself. This guide gives the helper-column formulas for the usual culprits, then explains where exact matching ends and fuzzy matching begins.
Why they slip through
| You see | What the sheet sees | Fix |
|---|---|---|
Anna / ANNA | Different letter case (some tools ignore it, some do not) | LOWER() |
Jane Doe / Jane Doe | A trailing or double space | TRIM() |
Jane Doe (pasted from a web page) | A non-breaking space, character 160, which TRIM leaves alone | SUBSTITUTE(x, CHAR(160), " ") |
j.doe+news@gmail.com / jdoe@gmail.com | Different addresses, same Gmail inbox | Strip dots and +tags for Gmail only |
(304) 555-0101 / 304-555-0101 | Different punctuation | Keep digits only |
Jon Park / John Park | A typo or spelling variant | Fuzzy matching, below |
Step 1: a normalized key for text
Next to your data, add a helper column and fill down. For names and other text:
=LOWER(TRIM(SUBSTITUTE(A2, CHAR(160), " ")))
Now flag duplicates on the helper column instead of the original, using the same COUNTIF pattern as in the find and remove duplicates guide. Say the key is in D:
=IF(D2="", "", IF(COUNTIF($D$2:D2, D2) > 1, "Duplicate", ""))
To drop punctuation as well (so Acme, Inc. matches Acme Inc), nest a REGEXREPLACE:
=LOWER(TRIM(REGEXREPLACE(SUBSTITUTE(A2, CHAR(160), " "), "[^\p{L}\p{N} ]", "")))
Be deliberate about this: removing punctuation also merges O'Brien with OBrien and 3-4 with 34. Use it for company names and titles, not for IDs or codes.
Step 2: email addresses
Email addresses are not case-sensitive in practice, so lowercasing is safe. Gmail adds two special cases: it ignores dots in the part before the @, and anything after a + is just a tag (jdoe+news@gmail.com is delivered to jdoe@gmail.com). That is a Gmail rule, not an email-wide one, so apply it to Gmail addresses only. Other providers can treat dots as significant. This key does that:
=IFERROR(LET(e, LOWER(TRIM(A2)),
user, REGEXEXTRACT(e, "^([^@]+)@"),
dom, REGEXEXTRACT(e, "@(.+)$"),
IF(OR(dom="gmail.com", dom="googlemail.com"),
SUBSTITUTE(REGEXEXTRACT(user, "^[^+]*"), ".", "") & "@gmail.com",
e)), LOWER(TRIM(A2)))
The IFERROR(..., LOWER(TRIM(A2))) wrapper keeps a blank cell or a value that is not an email from showing an error. Companies that route mail on addresses with dots or tags should leave this step out for their own domain.
Step 3: phone numbers
Keep the digits only, and for US numbers drop a leading country code 1:
=LET(d, REGEXREPLACE(A2&"", "\D", ""), IF(AND(LEN(d)=11, LEFT(d,1)="1"), RIGHT(d,10), d))
With this, (304) 555-0101, 304-555-0101, 304.555.0101 and +1 304 555 0101 all become 3045550101. Numbers with extensions (x123) will glue the extension onto the digits, so split extensions into their own column first. Other countries have different lengths and rules; this recipe is for US-style numbers.
Step 4: multi-column keys
Duplicates are often defined by several fields at once, such as name and phone. Join the cleaned values with a separator and flag on the joined key:
=D2 & "|" & E2 & "|" & F2
Where exact matching stops: typos and near-names
Normalizing makes the same value look the same. It cannot tell that Jon and John, Katherine and Catherine, or Smyth and Smith are the same person. Google Sheets has no built-in function for similarity between two strings, and no phonetic function such as SOUNDEX. In plain formulas you are left with partial tricks that are worth knowing:
- Sort and eyeball. Sort by the normalized key (or by last name then first) so near neighbors sit next to each other, then scan. Surprisingly effective for lists of a few hundred rows.
- Match on a shorter key. Compare only the first few letters of the surname and the postcode, for example
=LEFT(D2, 4) & "|" & E2, and review the flagged groups by eye. It over-matches by design, which is what you want when you are hunting for candidates and not deleting automatically. - Never auto-delete a fuzzy match. Two different people called
John ParkandJon Parkscan both be real. Review groups, then decide.
Beyond that you need something that scores how similar two values are and lets you set a threshold, which is what a script or an add-on does.
Install free from Google Workspace MarketplaceSee SheetDupes
Want to test it first? Try it on sample data (makes a copy of a 12-row example sheet in your Drive).
Related guides
- How to Highlight Duplicates in Google Sheets: Conditional Formatting Formulas for One Column, Whole Rows, Repeats Only and Two Sheets (2026)
- How to Find and Remove Duplicates in Google Sheets: Highlight, Count, Delete and Keep the Original (2026)
- How to Compare Two Columns or Two Sheets in Google Sheets to Find Matches and Duplicates (2026)
- How to Remove Duplicates in Google Sheets but Keep the Latest, First or Highest Row per Key (2026)
- How to Prevent Duplicate Entries in Google Sheets: Data Validation Rules, Warnings and a Small Script (2026)
- How to Count Duplicates in Google Sheets: per Value, Extra Rows, Unique Counts and Why the Numbers Disagree (2026)
- How to Combine Two Lists or Several Tabs in Google Sheets Without Duplicates: VSTACK, UNIQUE, One Row per Key and Other Files (2026)
- How to Merge Duplicate Rows in Google Sheets: Sum the Numbers, Join the Notes and Fill the Blanks (2026)
- UNIQUE vs Remove Duplicates in Google Sheets: Live or Static, Letter Case, Spaces, Columns and Headers (2026)
- How to Remove Duplicates Within a Cell in Google Sheets: Comma-Separated Lists, Tags, Line Breaks and Letter Case (2026)
- How to Show Only the Duplicates in Google Sheets: Filter Duplicate Rows, List Repeated Values and Find Rows That Appear Once (2026)
- How to Find Duplicates Across Multiple Columns in Google Sheets: Rows That Match on Two or More Columns, and Values Repeated Anywhere in a Range (2026)
- How to Remove Duplicates Automatically in Google Sheets: Apps Script on a Daily Timer, on Form Submit or From a Menu (2026)
- How to Find Duplicates in Google Sheets but Ignore Blank Cells: Highlight, Count, List and Remove Without Empty Rows Getting in the Way (2026)
- How to Find Duplicate Transactions in Google Sheets: Double-Imported Rows, Invoices Paid Twice and Same-Amount Charges Within a Few Days (2026)
- How to Format Phone Numbers in Google Sheets: Strip Dashes and Spaces, Show (555) 010-1234, Handle +1 and Extensions, Then Find Duplicate Contacts (2026)
- How to Change Text Case in Google Sheets: UPPERCASE, lowercase, Proper Case Names, Sentence Case and Duplicates That Differ Only in Case (2026)
- Mailing labels: one per household, clean addresses
- Automatic email reminders from a date column
- How to generate a PDF or Google Doc for each row in Google Sheets
Instructions refer to Google Sheets as it worked on November 16, 2026. Email-provider behavior is described for Gmail only and can change. Google Sheets and Gmail are trademarks of Google LLC and this site is not affiliated with Google. Questions or corrections: hello@loomwise.app.