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 seeWhat the sheet seesFix
Anna / ANNADifferent letter case (some tools ignore it, some do not)LOWER()
Jane Doe / Jane Doe A trailing or double spaceTRIM()
Jane Doe (pasted from a web page)A non-breaking space, character 160, which TRIM leaves aloneSUBSTITUTE(x, CHAR(160), " ")
j.doe+news@gmail.com / jdoe@gmail.comDifferent addresses, same Gmail inboxStrip dots and +tags for Gmail only
(304) 555-0101 / 304-555-0101Different punctuationKeep digits only
Jon Park / John ParkA typo or spelling variantFuzzy 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:

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.

Fuzzy and format-aware matching without helper columns? SheetDupes (disclosure: we make it) is a Google Sheets add-on that does the normalizing for you. Each match column has a type: Text, Email or Phone, suggested from its header. Exact matching ignores extra spaces and can ignore letter case and punctuation. Email columns can fold Gmail dots, +tags and googlemail.com, only when you turn that option on. US phone numbers match across common formats. Fuzzy matching finds typos and near-names (Jon / John, Katherine / Catherine) at a similarity you set, and you preview the groups before anything changes. Highlight shades the extra rows without changing any value, and Standardize can tidy a column afterwards (trim spaces, Proper Case names, US phones, lowercase emails). It copies a backup tab before removing, merging or standardizing and will not rewrite a sheet that contains formulas. Preview and Highlight are free on any size sheet; the 14-day free trial needs no credit card, and writes remain free after the trial on sheets with up to 2,000 data rows during launch (through Jan 31, 2027; 500 after that). It only reads and writes the spreadsheet you have open and your data is not sent to Loomwise. It is live on the Google Workspace Marketplace.
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

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.