DT Data Toolkit

Cleaning a contact CSV before you import it into a CRM

The four checks that prevent duplicate contacts, bounced emails and a broken import: whitespace, case, phone format, and date format.

A CRM import fails quietly. It accepts 4,000 rows, creates 3,600 contacts, and nobody notices the 400 duplicates until a campaign goes out twice. Four checks catch nearly all of it, and they take minutes if you do them in order.

1. Trim whitespace before anything else

" Aysel" and "Aysel" are different strings to a database. A trailing space in an email column produces an address that looks right and bounces. Trim first, then deduplicate — the other order leaves duplicates behind.

2. Lower-case emails, keep the display name as typed

Email is case-insensitive in practice, so normalise it to lower case for matching. Names are not: do not "fix" capitalisation in names, especially for languages with their own rules.

3. Phone numbers: digits and a country code only

(555) 010-2233, 5550102233 and +1 555 010 2233 are the same person. Strip spaces, brackets and dashes. If the country column exists, prefix the country code; if it does not, leave the number as-is and record the assumption rather than guessing a country.

4. One date format, stated explicitly

04/01/2026 is 4 January in most of Europe and 1 April in the US. Pick YYYY-MM-DD for the import file. Ambiguous dates are worse than missing dates because they look valid.

5. Count the duplicates you removed, and report it

If you are cleaning a list for a client, the deliverable is not only the cleaned file. It is the cleaned file plus four numbers: rows received, rows kept, duplicates removed, rows missing an email or phone. Without those numbers the client cannot tell whether the file is finished.

One rule that saves the most time

Never merge two records because the names look similar. Match on email, then on phone. Two people called "John Smith" in the same city are a normal thing, and merging them loses a customer permanently.

Preview generated from the actual workbook
Preview generated from the actual workbook

The Client Data Cleanup Kit contains the import template, a COUNTIF-based duplicate counter and a QA report sheet for exactly these four numbers.

Related product

Excel · XLSX$24.00

Client Data Cleanup Kit

Clean a messy client list in one pass: duplicates, broken emails and inconsistent names.

View details Checkout not connected yet

Back to the workbooks