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).
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
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:
- Google Sheets or Excel? Roughly how many rows?
- Which columns (name, phone, email, date...)? What counts as "newest"; is there an updated date column?
- 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.
- When one phone has two different emails, which to keep? "Newest" needs a date to judge.
- What about a household sharing one phone? Those would be wrongly treated as duplicates.
Approach and steps:
- Back up first: copy the tab and name it "Original backup".
- 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.
- Flag possible duplicates: COUNTIF on the cleaned phone; anything above 1 is marked "possible duplicate". In Excel you can use Conditional Formatting > Duplicate Values.
- 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.
- 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:
| Name | Phone | Cleaned | Verdict |
|---|---|---|---|
| 陈美玲 (fake) | 012-345 6789 | 0123456789 | possible duplicate |
| Chan Mei Ling (fake) | 0123456789 | 0123456789 | possible duplicate |
| 美玲 (fake) | +60123456789 | 0123456789 | possible 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.