How to merge duplicate contacts in Excel when names are spelled differently (2026)
Excel's Data > Remove Duplicates only deletes rows whose selected cells are identical, and Microsoft warns that "the duplicate data is permanently deleted". To merge contacts whose names are reversed (DUPONT Jean), misspelled (Lefebvre / Lefèvre) or initialled (J.P. Dupont), you need three things Excel does not do in one step: normalise the values, match names approximately but only when another field agrees (same ZIP code, city or company), and combine the rows instead of deleting them so that a phone number present on one copy and an address present on the other both survive.
Why Remove Duplicates misses most real duplicates
| Row A | Row B | Identical for Excel? | Same person? |
|---|---|---|---|
| Jean-Pierre Dupont | DUPONT Jean Pierre | No | Yes, reversed and hyphen |
| Jean-Pierre Dupont | J.P. Dupont | No | Yes, initials |
| Catherine Lefebvre | Catherine Lefèvre | No | Very likely, spelling |
| jp.dupont@gmail.com | jpdupont@gmail.com | No | Yes, Gmail ignores dots |
| (415) 555-2671 | +1 415 555 2671 | No | Yes, same number |
| Marie Martin, Lyon | Marie Martin, Bordeaux | Yes if you only select the name | Probably not |
The last line is the trap in the other direction: selecting only the name column merges different people. Microsoft's own page suggests highlighting duplicates first with Home > Conditional Formatting > Highlight Cells Rules > Duplicate Values and copying the data to another sheet before removing anything (Find and remove duplicates).
Method in Excel, with helper columns
- Copy the sheet. Work on a copy; keep the original row number in a column so you can trace every merge.
- Email key:
=LOWER(TRIM(C2)). - Phone key: strip spaces, dots, dashes and brackets with nested
SUBSTITUTE, then replace a leading0with the country code. Watch for numbers Excel already damaged: it "automatically removes leading zeros" and keeps only 15 significant digits (Keeping leading zeros and large numbers), so0612345678may already be612345678. - Name key (order-free): in Excel for Microsoft 365 or Excel 2024,
=TEXTJOIN(" ",TRUE,SORT(TEXTSPLIT(LOWER(SUBSTITUTE(A2,"-"," "))," ",,TRUE),,,TRUE))turnsDUPONT Jean-PierreandJean Pierre Dupontinto the samedupont jean pierre. TEXTSPLIT is not available in older versions. - Flag matches:
=COUNTIF(E:E,E2)>1on each key, and a combined key such as name key & ZIP code. - Sort by key, then merge by hand: for each group, keep the most complete row and copy missing cells from the others.
This catches case, spacing, word order and phone formatting. It does not catch spelling (Lefebvre / Lefèvre) or initials (J.P.), because Excel worksheet formulas have no built-in fuzzy comparison.
Options for the spelling part
| Option | Catches spelling and initials | Keeps data from every copy | Availability |
|---|---|---|---|
| Remove Duplicates | No | No, deletes | All Excel versions |
| Helper keys + COUNTIF | Order and format only | Manual | All; order-free name key needs 365 or 2024 |
| Power Query fuzzy merge / grouping | Spelling, by similarity threshold (default 0.80) | You build the merge step | Excel for Microsoft 365 per Microsoft's page |
| Fuzzy Lookup add-in | Spelling | No, lookup only | Windows; download page lists Excel 2007 to 2016 |
| Merge duplicate contacts | Spelling, initials, reversed names | Yes, first non-empty value per column, tags combined | Browser, nothing uploaded |
Power Query's fuzzy matching uses the Jaccard similarity and a threshold from 0 to 1 with 0.80 by default (Create a fuzzy match). The Fuzzy Lookup add-in's download page lists Windows and Excel 2007, 2010, 2013 or 2016 as prerequisites.
Rules that keep false merges out
- Never merge on a similar name alone. Require the same ZIP code (or the same city when ZIP is empty) or the same company.
- Treat a shared phone with different first names as two people. Households share landlines; companies share switchboards.
- Do not let an initial chain two names.
J. Martinmay matchJulie MartinorJacques Martin, but Julie and Jacques must not end up in one group. - Watch masculine/feminine pairs.
Jean/Jeanne,Michel/Michelleare close by spelling and are different people. - Keep a merge log with the original row numbers of each group and the row kept.
FAQ
Which row should I keep? The most complete one, or the most recently updated if the file has a date column. Then fill its empty cells from the other rows rather than discarding them.
How similar is "similar"? With Jaro-Winkler on individual words, lefebvre / lefevre scores 0.975 and Jon / John about 0.93, while Jean / Marie is under 0.5. A threshold around 0.90 on the whole name, combined with a same-ZIP or same-company condition, is a reasonable start.
Does word order matter? It should not. Compare names as a set of words so that DUPONT Jean equals Jean Dupont.
Can I undo Remove Duplicates? Only with Undo right away. Microsoft states the duplicate data is permanently deleted, so work on a copy.