How to Clean an Excel Spreadsheet Before Importing It Into a CRM

The cleanup pass, in order, for the operations or office manager whose CRM import just failed, or is about to.

A guide from FileCraft Desk Resources. The methods here are the ones the shop runs on paid work; the examples use invented data and say so.

Why imports fail

A CRM import fails for boring reasons. The same customer twice under two spellings, so the CRM makes two records. An email column holding text that is not an email. Phone numbers in four formats, two of them with extensions baked in. A header row the CRM does not recognize, so a whole column lands in the wrong field or nowhere.

The dangerous failure is the quiet one: the import succeeds and the mess becomes the database. Every duplicate is a customer who gets two mailings and a confused history. The fix is a cleanup pass before the import, in the order below. It is the same order our data cleaning service runs, and nothing in it needs special software: a spreadsheet, patience, and the discipline to write down what you changed.

The cleanup pass, in order

Step 0: Save the original, work on a copy

Before anything else, save the file exactly as received under a name you will not touch, and do every edit on a copy. Cleanup involves deleting rows. The day you delete the wrong row is the day the untouched original pays for itself. Every later step assumes you can go back.

Step 1: Fix the structure first

One header row, in row 1, with names the CRM expects. One row per record: no merged cells, no blank spacer rows, no second table hiding further down the sheet. Split combined fields the CRM keeps separate (first name and last name, street and city) and combine fields it keeps together. Structure problems are the ones that break imports outright, so they go first, before any value is touched.

Step 2: Standardize the values

Put every field into one form across the whole file:

  • Emails: trim spaces, lowercase the whole address. Case is the cheapest duplicate-maker there is.
  • Phones: strip punctuation, then write every number in one format. Pull extensions out into their own column if the CRM has one.
  • Names and places: consistent capitalization, no trailing spaces, states in one form (the two-letter code, everywhere).
  • Dates: one format, the one the CRM accepts, everywhere. Mixed date formats are how birthdays become order dates.

Keep a simple log as you go: which columns you standardized and how. It takes a line per column and it is what lets you answer "what changed?" later without guessing.

Step 3: Remove duplicates, exact first, then fuzzy

Sort or filter on the email column and remove exact duplicates first. Standardizing in step 2 makes more of them exact, which is the point of the order. Then look for fuzzy duplicates: the same person or business under a variant. Same phone with a different name spelling. Same email with a Jr. appearing and disappearing. Same address with the company name punctuated two ways.

Two rules protect the good data. First, decide the survivor before you delete: keep the record that is most complete or most recent, and merge any field the loser has that the survivor lacks. Second, never delete into the void: every removed row goes onto a removed-rows list with the reason and the row it duplicated. If a merge turns out wrong, the list is how you undo it. And when a fuzzy match is genuinely uncertain, two records that might be one person, keep both and flag them. A human who knows the customers can decide in seconds what an algorithm should not decide at all.

Step 4: Validate emails, flag, do not guess

Check every email for basic validity: one @, a domain with a dot, no spaces. The failures stay in the file, marked invalid. Do not correct them by invention: changing arivera@ to a guessed domain fabricates a contact. A flagged address can be fixed by the person who owns the relationship; a fabricated one just bounces to a stranger.

Step 5: Check the file against the CRM's required fields

Every CRM has fields it will not import without. List them, then scan those columns for blanks. A blank the CRM requires is either a value you can find in another column of the same row, or a record that should be held out of the import and listed, not a record to invent a value for. Hold-outs go on the same list as the removed rows, with their reason.

Step 6: Reconcile the counts, then test-import

Write down three numbers: rows in, rows removed (plus any held out), rows out. In minus removed must equal out. If it does not, a row went somewhere unexplained, and you find it now, not after the import. Then import 20 rows first and look at them inside the CRM: right fields, right formats, no surprises. Only then import the full file.

A worked example

Demonstration data is invented. This six-row excerpt was written for this guide; it is not customer data.

FirstLastEmailPhoneCity
JonSmyth[email protected]7165550142buffalo
JohnSmith[email protected](716) 555-0142Buffalo
AnaRiveraarivera@716-555-0119BUFFALO
AnaRivera[email protected](716) 555-0119Buffalo
TomLee[email protected]716.555.0177Tonawanda
SaraKim[email protected]+1 (716) 555-0130Amherst

Standardizing first (lowercase emails, one phone format, one city case) turns rows 1 and 2 into exact duplicates on email: same address, same phone. One survives, the other goes to the removed list with its reason. Rows 3 and 4 share a name and phone but carry different emails, one of them invalid. That is a human decision, not an automatic merge: both stay, row 3's email is flagged invalid, and the pair is noted for whoever owns the customer relationship. Rows 5 and 6 just needed formatting.

The excerpt's counts: 6 rows in, 1 removed, 5 out, 14 cells standardized. 6 - 1 = 5. Small numbers, same discipline as six thousand rows.

The pre-import checklist

  • Original file saved untouched; all edits on a copy.
  • One header row with the field names the CRM expects.
  • One row per record; no merged cells, no spacer rows.
  • Emails trimmed and lowercased; phones in one format; dates in one format.
  • Exact duplicates removed after standardizing.
  • Fuzzy matches reviewed by a person before any merge.
  • Removed rows and hold-outs saved on their own list, with reasons.
  • Invalid emails flagged in place, never guessed into corrections.
  • Required CRM fields checked for blanks.
  • Counts reconciled: rows in, minus removed, equals rows out.
  • Test import of 20 rows inspected inside the CRM before the full import.

When the file is too big for an afternoon: this is the exact pass our spreadsheet and CRM data cleaning service runs, at fixed prices by row count, with the change log and removed-rows sheet delivered with the file. Read the service page, look at the 500-row demonstration, and decide with the evidence in front of you.

Site