Cleanse and de-duplicate CRM data before migrating, in five moves: standardize the fields you will match on, find duplicates with matching rules ranked by confidence, merge them by a written rule for which record survives, have a sales lead decide the uncertain matches, and archive records that should not move. Record every merge so it can be reversed.
A migration copies whatever it is given. If the old CRM holds the same customer three times, the new one will too, and each copy will carry a third of the notes. This guide is for the person who has been asked to clean the data before a CRM change and wants a method. It assumes a spreadsheet tool or a database and a few people who know the customers.
Key takeaways
- Clean before the load. Duplicates merged afterward have already split the history.
- Standardize first, then match. Two phone numbers written differently will not match until they are written the same way.
- Rank matching rules by confidence. Merge the certain ones automatically and send the uncertain ones to a person.
- Write the survivor rule before merging: which record is kept, and which value wins when two differ.
- Merging a contact must move its notes, activities and deals to the survivor.
- Keep a merge log with the IDs of both records.
- Archive what should not move, and do not delete it.
Why cleanse before migrating and not after?
Because the migration is the one moment when every record passes through your hands. Before the load, a duplicate is two rows that can be compared and joined. After the load, it is two live records that salespeople have already started editing, each with its own notes, tasks and deals.
Reconciliation also depends on it. If cleansing is part of the load, every difference between the old and new counts is explained by a rule: so many merged, so many archived.
What should you standardize first?
Standardize the fields you will match on and the fields people filter by. Do it on a copy of the data, with a rule per field, so the same rule can be run again on the final extract.
| Field | Common problem | Rule to apply |
|---|
| Email | Capital letters, spaces before or after, two addresses in one cell | Lowercase, trim, split into primary and secondary |
| Phone | Brackets, dots, spaces, missing country code | Digits only with a country code; keep the extension in its own field |
| Company name | "Inc", "Inc.", "LLC", "Ltd", all capitals | Keep the display name; build a second, simplified name for matching only |
| Person name | Full name in one field, titles, nicknames | Split first and last; move titles to their own field |
| Dropdown values | "Hot", "hot", "HOT lead" | Map every old value to one new value; list the ones nobody can map |
| Dates | Mixed formats, text such as "last spring" | One date format; unreadable dates go to a review list |
Never overwrite the original value in the working file. Add a cleaned column beside it, so anyone can see what the rule did.
Which matching rules find duplicate records?
Use several rules in order, from the most certain to the least. Each rule either merges automatically or sends the pair to a review list. A wrong merge is worse than a missed one: a missed duplicate can be merged later, but two different customers joined into one are hard to separate.
| Matching rule | Confidence | What to do |
|---|
| Same email address after cleaning | High | Merge automatically, unless the address is shared, such as info@ or sales@ |
| Same phone number and same last name | High | Merge automatically |
| Same company domain and same first and last name | High | Merge automatically |
| Same simplified company name and same postal code | Medium | Review list for companies |
| Same first and last name, different company | Low | Review list; often a person who changed jobs |
| Same phone number only | Low | Review list; often a switchboard number |
Match companies first, then contacts within each company. A contact match is far more reliable once you know the two records sit under the same company.
What merge rules decide which record survives?
A survivor rule names the record that is kept. Common choices are the record with the most recent activity, the one with the most fields filled, or the one that already has an ID in your accounting system. Pick one and apply it everywhere.
Then set a rule for each field where the two records differ:
- Most recently updated value wins for phone, job title and address.
- Survivor's value wins, the other is kept as secondary for email.
- Most restrictive value wins for marketing consent. If either record says the person opted out, the merged record says so. Your legal adviser should confirm this rule for your situation.
- Keep both for notes, activities, deals and attachments. These are never chosen between: all of them move to the survivor, with their original dates and authors.
- Owner follows the survivor, with the other owner told about the merge.
Write the old ID of the merged-away record on the survivor, and in the merge log. That is what makes a merge reversible.
Who decides?
The sales lead owns the rules. A technical person runs the matching and prepares the review list. Two or three salespeople work through the list for their own accounts, since they know whether two similar names at one firm are the same person. Finance should see the company merges if customer IDs are shared with the accounting system.
If the review list runs to thousands of pairs, the weaker rules are too loose. Tighten them and accept that some duplicates will be merged later in the new system.
What does a before and after look like?
The records below are fictional and for illustration only. Four rows in the old system describe one company and two people.
Before
| Row | Company | Contact | Email | Phone | Owner | Last activity |
|---|
| 1 | Harlow Supply Co. | Dana Reyes | dana.reyes@harlowsupply.example | (555) 010-0142 | M. Ortiz | 2026-03-14 |
| 2 | Harlow Supply Company Inc | D. Reyes | Dana.Reyes@harlowsupply.example | 555.010.0142 | Former employee | 2024-09-02 |
| 3 | HARLOW SUPPLY | Dana Reyes | dreyes@harlowsupply.example | (blank) | M. Ortiz | 2025-11-20 |
| 4 | Harlow Supply Co. | Tom Avery | tom.avery@harlowsupply.example | 555-010-0177 | M. Ortiz | 2026-01-08 |
After
| Record | Result | Rule that applied |
|---|
| Company: Harlow Supply Co. | One company; three name variants joined | Same domain; simplified name match confirmed by the review list |
| Contact: Dana Reyes | Rows 1 and 2 merged automatically; row 1 survives | Same email after lowercasing; most recent activity survives |
| Contact: Dana Reyes, second email | Row 3 merged after review; dreyes@ kept as secondary email | Same name and company, different email: review list, confirmed by the owner |
| Contact: Tom Avery | Unchanged, linked to the one company | No match |
| Notes and activities | All items from rows 1, 2 and 3 now sit on one contact, in date order | Keep both |
| Merge log | Old IDs of rows 2 and 3 stored on the survivor | Every merge is recorded |
Four rows became one company and two contacts, and nothing written about Dana Reyes was lost.
What should you archive instead of migrate?
Archive records that are true but no longer useful, and records that were never real. Archive means moved to a read-only store that can still be searched, not deleted.
| Record type | Usual treatment | Why |
|---|
| Test records and spam form submissions | Leave out | Never real |
| Contacts whose email bounces, with no activity | Archive | Cannot be reached; may still explain an old deal |
| Leads with no activity for a number of years you choose | Archive | Adds noise to searches and reports |
| Companies that have closed | Archive, unless there are open invoices | History only |
| Closed deals older than your cut-off | Migrate as a summary or archive | Useful for reporting, rarely opened |
| Contacts who opted out of marketing | Migrate, with the opt-out | The opt-out must be respected in the new system |
How long customer records may or must be kept is a question for your own legal or compliance adviser.
How do you stop duplicates coming back?
Ask for three things in the new CRM: a duplicate warning when someone creates a contact with an email that already exists, required fields and fixed dropdowns on the fields you just cleaned, and one named owner for the rules. If a packaged product cannot enforce your rules, the CRM customization depth checklist helps you test how far it can be adapted.
When this is more than you need
A list of a few hundred contacts can be cleaned by sorting on email and reading down the column. Written rules, a review list and a merge log are worth the effort when there are thousands of records, several sources, or history attached to the duplicates. If the history is your main worry, the CRM migration checklist for keeping customer history covers what to check after the load. For the full sequence from inventory to cutover, see our guide to CRM data migration to a custom CRM.
How Timeline Digital approaches data cleansing
Timeline Digital is a custom software development company founded in 2013 in Islamabad, Pakistan, that builds custom CRM systems and runs migrations into them as managed projects, delivered remotely. In our CRM data migration services, your sales lead approves the matching and merge rules, and we record every merge with both record IDs. The pilot is always free. It covers 2 to 3 key modules of the CRM, which can include a trial migration of a sample of your data. There is no fixed timeframe: the schedule for your CRM migration is set from your requirements in the Plan step. The free pilot of 2 to 3 key modules is ready in about 2 days, and with 1,200+ developers we have the capacity to deliver a focused system in as little as 2 weeks. The full project starts after you approve the pilot, and the scope, milestones and terms are agreed after it. Timeline Digital does not publish prices for custom software, because every project is custom.