sturdybits

Guides / Match Lists

How to remove duplicate contacts when names are spelled differently

30 November 2026

Excel's Data > Remove Duplicates only removes rows that are exactly the same, so Mrs M Hughes at 14 St Albans Rd and Maggie Hughes at 14 Saint Albans Road both stay on the list. To catch those, tidy the names, postcodes and emails in helper columns, build a match key such as postcode plus surname, and check each group of rows that share a key before you delete anything.

Work on a copy. Microsoft's guide to removing duplicates says the rows it removes are deleted permanently.

1. Remove the exact duplicates first

Good for: any version of Excel, as a first pass.

  1. Sort the list so the row you'd rather keep comes first, such as the most recent. In our test, Remove Duplicates kept the first row of each set.
  2. Click in the list and choose Data > Remove Duplicates.
  3. Tick only the columns that identify a contact, such as Email, and choose OK.

It deletes whole rows, so anything only on a deleted row goes with it. We tried it in Excel for Microsoft 365. It ignored capitals: Smith, SMITH and smith counted as one. But "Smith " with a space at the end, LS6 2AB and LS62AB, and Acme Ltd and Acme Limited were all kept as different. That's what the next steps deal with.

2. Tidy the columns you match on

Good for: catching differences in spacing, punctuation and format.

Put each tidy version in a new column, and keep the originals.

Spaces. TRIM removes spaces at either end and turns runs of spaces into one, but Microsoft says it doesn't remove the non-breaking spaces that come with text copied from web pages. This removes both:

=TRIM(SUBSTITUTE(B2, CHAR(160), " "))

Capitals. You don't need to fix them to match, because Excel's comparisons ignore case. PROPER tidies them for display, but check what it does: in our test it turned MCDONALD into Mcdonald and smith's into Smith'S.

Postcodes. Take out every space and use capitals, so LS6 2AB, ls62ab and "LS6 2AB" all become LS62AB:

=UPPER(SUBSTITUTE(E2, " ", ""))

To write them back properly, put one space before the last three characters. The second half of a UK postcode, the inward code, is always three characters. With the tidy postcode in F2:

=LEFT(F2, LEN(F2) - 3) & " " & RIGHT(F2, 3)

Company names. Ltd and Limited mean the same, and Companies House treats Hands UK Ltd and Hand's Ltd as the same as Hands Ltd when it checks new names. This drops Limited, Ltd and full stops:

=TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(LOWER(C2), " limited", ""), " ltd", ""), ".", ""))

Acme Ltd. and Acme Limited both become acme. The Acme Company Limited doesn't, so add more SUBSTITUTEs for The, Company, PLC or LLP if your list needs them.

Emails. =LOWER(TRIM(G2)) handles capitals and stray spaces. Google says dots don't matter in Gmail addresses, so [email protected] and [email protected] are one inbox, though not for work or school accounts. This takes the dots out of Gmail addresses only, with the tidy email in H2:

=IF(RIGHT(H2, 10) = "@gmail.com", SUBSTITUTE(LEFT(H2, LEN(H2) - 10), ".", "") & "@gmail.com", H2)

Addresses are harder. Rd and Road are easy to swap, but St can be Street or Saint, as in 14 St Albans Rd, so replacing it everywhere does harm. Leave addresses for the checking step.

3. Build a match key and highlight shared keys

Good for: finding likely duplicates that are spelled differently elsewhere.

A match key joins columns that are usually typed the same. Postcode plus surname works well for people:

=UPPER(SUBSTITUTE(E2, " ", "")) & "|" & LOWER(TRIM(C2))

Fill it down, select the key column and choose Home > Conditional Formatting > Highlight Cells Rules > Duplicate Values. Then sort by the key so each group sits together. Run it again with a second key, such as the tidy email, to catch people who moved house.

The limits: a typo in the surname, such as Davies and Davis, or a missing postcode gives a different key, so that pair is never flagged. And two people at one address with the same surname share a key without being duplicates.

4. Check each group, then merge

Good for: every list, because a wrong deletion loses a real person.

Decide up front whether you want one row per person or one letter per household, because the answers differ.

When a tool is quicker

Keys find the duplicates that share an exact postcode and surname. They miss the Davies and Davis pairs, and you still read every group yourself.

Match Lists doesn't need an exact key. Drop in your list and it tidies capitals, accents, punctuation, titles, short names such as Maggie for Margaret, company endings, address words such as Rd and St, UK postcodes and dots in Gmail addresses, then groups the likely duplicates. Each has a score and the reason for it, with the differing words highlighted, so Siân Davies and Sian Davis at 30 Kingfisher Way are found. Couples at one address are kept apart when their first names differ. You set the threshold and accept or reject each group, and nothing is deleted: the download is a workbook with each row's group, a suggested row to keep, and your list without its duplicates. It runs in your browser and your files never leave your computer, which matters for members' and donors' details. The free version compares the first 500 rows of each list; Pro is £29 once. You can try it with a sample list.

Quick answers

Does Remove Duplicates ignore capitals? Yes. In our test, Smith, SMITH and smith counted as duplicates. Extra spaces, different postcode spacing and Ltd against Limited didn't.

Which row does Remove Duplicates keep? The first of each set, in our test. Sort the list first so the row you want to keep is on top.

How do I find duplicates when names are spelled differently? Build a key from columns that are usually typed the same, such as postcode and surname, highlight the keys that repeat, and check each group. For typos and nicknames, see how to fuzzy match names in Excel.