Websites, apps & code / Automation

Merge duplicate contacts

A list from several places where the same person appears many times.

Fill in your details

Leave blank to use the example. Names are remembered for other prompts too (stored only on your device).

Variation:Tool

Prompt

I have a contact list with duplicates, please help me merge them.

What the list looks like: 陈美玲 012-345 6789; Chan Mei Ling 0123456789; 美玲 +60123456789
What to keep when merging: Keep the newest email and standardise phones
Tool: Use formulas or the built-in dedupe tool, flagging before changing.

Please:
1. First ask me 3–5 questions, then list the approach and steps (any cost, which data it touches). Only start after I say OK, and test with fake data only.
2. First standardise phone formats (teach me how), then find duplicates.
3. Mark matches only as "possible duplicates" for me to review, and merge only after I confirm; never auto-delete.
4. State clearly which row and which details are kept when merging.
5. Remind me the list holds other people's personal data, to be used only for its original purpose and not shared carelessly.
6. I will not paste real data to you; I will test the rules with fake examples.
Never ask me to paste passwords, API keys or bank details; if needed, show me where to store them safely (environment variables or the service settings page), not in code or sheets.

Paste it into ChatGPT, Gemini, Claude or Meta AI.

Test result

Run on 2026-12-01 with Claude Sonnet 5.5 (variation: Google Sheets), using the example details above. AI never answers word for word the same twice, but the shape stays close.

What we noticed

The AI asked 5 questions and showed your 3 fake numbers all becoming 0123456789 and flagged as possible duplicates, with nothing deleted. It also warned that households sharing a phone would be wrongly matched.

See what the AI actually wrote

Good. I will not ask you to paste a real list; I will explain the rules using your fake examples.

Please answer 5 questions:

  1. Google Sheets or Excel? Roughly how many rows?
  2. Which columns (name, phone, email, date...)? What counts as "newest"; is there an updated date column?
  3. Do different spellings (陈美玲, Chan Mei Ling, 美玲) count as the same person? I suggest using the phone number as the main evidence and the name only as a hint.
  4. When one phone has two different emails, which to keep? "Newest" needs a date to judge.
  5. What about a household sharing one phone? Those would be wrongly treated as duplicates.

Approach and steps:

  1. Back up first: copy the tab and name it "Original backup".
  2. Standardise phones: in a new column use a formula to remove spaces, "-" and "+" and change a leading 60 to 0, for example =SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(B2," ",""),"-",""),"+","") and then handle the 60 prefix. Your three examples all become 0123456789.
  3. Flag possible duplicates: COUNTIF on the cleaned phone; anything above 1 is marked "possible duplicate". In Excel you can use Conditional Formatting > Duplicate Values.
  4. Human review: I only list them; you go group by group and tick a "confirm merge" column before anything is merged. Nothing is auto-deleted.
  5. Merge rule (please confirm): among rows with the same phone, keep the email from the row with the latest updated date; keep the more complete name (for example the full Chinese name); move the other rows to a "Merged" tab instead of deleting.

Cost: none. Data touched: only new columns and tabs; the original stays.

Test with fake examples:

NamePhoneCleanedVerdict
陈美玲 (fake)012-345 67890123456789possible duplicate
Chan Mei Ling (fake)01234567890123456789possible duplicate
美玲 (fake)+601234567890123456789possible duplicate

All three become one number and get flagged for you to look at.

Reminder: the list holds other people's personal data and should only be used for the purpose it was collected for (for example order contact), not shared carelessly or pasted somewhere public. Please do not paste the real list to me.

Answer the questions and confirm the rules, and I will write the formulas.

AI tools that suit this

  • Gemini Suggested tool Free plan

    Google's AI; generates and edits images, works with Gmail and Docs

  • ChatGPT Suggested tool Free plan

    The most widely used AI chat, for writing, questions and images

  • Claude Suggested tool Free plan

    Strong at long documents, editing and code

Recommendations only, not sponsored. Check each site for what the free plan includes.

This site is made by FullMark Tech

Want your own website, or your shop spreadsheets automated? FullMark Tech builds business websites and custom Excel tools.

Ask on WhatsApp See FullMark Tech services