All articles

GuidesAugust 22, 2026· 7 min read

How to Clean and Dedupe a Lead List Before You Import It

A messy import takes ten minutes to create and months to undo. Here's how to fix duplicates, titles, countries and suppressed contacts in a spreadsheet before anything touches your CRM.

By Apollo Scraper Team

Importing a lead list takes ten minutes. Cleaning up a bad import can take the rest of the quarter. Duplicates trigger double emails, wrong countries break your territory routing, and one missed unsubscribe can land you in an awkward conversation. This guide shows you how to clean and dedupe a list in a plain spreadsheet before it ever touches your CRM, with formulas you can copy.

The data problems you'll actually run into

Every list has issues, even good ones. Lead data comes from many sources and gets combined, so small inconsistencies creep in. Here's what turns up most often:

  • Duplicates. The same person appears twice, maybe from two overlapping searches, or once with a work email and once without.
  • Contacts you already have. Existing customers, open deals or people your reps spoke to last week.
  • Inconsistent casing and spacing. "john.smith@ACME.com " with a trailing space won't match "john.smith@acme.com".
  • Messy job titles. "VP Sales", "Vice President of Sales", "VP, Sales & BD" and "vp sales emea" all mean much the same thing.
  • Country variations. "United States", "USA", "US" and "U.S." in the same column.
  • Blank or risky emails. Some records won't have an email, and some will have one flagged as invalid.
  • Broken characters. Names like "José" instead of "José", usually caused by opening a UTF-8 file the wrong way in Excel.

That last one is easy to fix before you start. Import the CSV using Excel's Data → From Text/CSV and choose UTF-8, or open it in Google Sheets. The help article on fixing CSVs that look wrong in Excel has the details.

Tip: Never clean the original file. Save a copy called something like "raw" and work in a second tab or file. If a formula goes wrong, you can always start again.

Choosing your dedupe keys

A dedupe key is the field you use to decide whether two rows are the same thing. Pick the wrong one and you either miss duplicates or merge people who aren't the same. Here are the three that matter most for B2B lists:

KeyBest forWatch out for
Email addressContacts you'll emailBlank emails, casing and spaces, people with two work addresses
LinkedIn URLContacts without email, or matching across toolsTrailing slashes, "www" vs no "www", http vs https
Company domainCompanies and accounts"www." prefixes, country domains (acme.co.uk vs acme.com), subsidiaries

For people, a sensible order is: dedupe by email first, then by LinkedIn URL for rows that have no email. For companies, dedupe by domain, not by name. Company names are too inconsistent to match reliably.

The examples below assume a People export laid out like an Apollo Scraper CSV: first_name in column A, last_name in B, title in C, seniority in D, company in E, company_domain in F, email in G, email_status in H, linkedin_url in I, city in J and country in K. Adjust the letters if yours differ.

Spreadsheet formulas that do the heavy lifting

You don't need a data tool for most of this. A few formulas in helper columns will get you 90% of the way. Add each in a new column, fill it down, then sort or filter on the result.

Normalise emails

Lower-case everything and strip spaces so matching works:

=LOWER(TRIM(G2))

Put this in a new column (say L, called "email_clean") and use that column for every check from here on.

Flag duplicates

This marks every repeat after the first time an email appears:

=IF(L2="","",COUNTIF($L$2:L2,L2)>1)

Rows showing TRUE are duplicates. Filter them, check a few by eye, and delete them. Because the range grows as you fill down, the first occurrence stays FALSE and is kept.

Pull the domain out of an email

Useful when company_domain is blank, or to spot people using personal addresses:

=LOWER(MID(L2,FIND("@",L2)+1,100))

Filter that column for gmail.com, outlook.com, yahoo.com and similar. Personal addresses in a B2B list are usually worth removing or at least separating.

Clean up LinkedIn URLs

To match LinkedIn URLs reliably, strip the protocol, the "www." and any trailing slash. In Google Sheets:

=REGEXREPLACE(LOWER(TRIM(I2)),"^https?://(www[.])?|/$","")

Then run the same duplicate check on the cleaned column for rows with no email.

Find people who are already in your CRM

Export your existing contacts' emails into a second tab called "CRM". Then:

=COUNTIF(CRM!A:A,L2)>0

TRUE means the person already exists. Decide whether to drop them or update them, but don't import them as new records.

Normalising titles and countries

Duplicates cause the loudest problems, but inconsistent titles and countries cause the slow, annoying ones: broken reports, wrong territory assignments, segments that miss half the people they should include.

Titles: bucket them, don't rewrite them

Don't try to rewrite every job title into a perfect format. Keep the original title for personalisation and add a "title_group" column that sorts people into a handful of buckets you'll actually use. A quick way in Excel or Sheets:

=IF(ISNUMBER(SEARCH("founder",C2)),"Founder",IF(ISNUMBER(SEARCH("vp",C2)),"VP",IF(ISNUMBER(SEARCH("director",C2)),"Director",IF(ISNUMBER(SEARCH("head",C2)),"Head","Other"))))

Then check the "Other" pile by hand. You'll usually find a few patterns to add, like "Chief" or "Owner". The seniority column, where it's filled, gives you a second opinion. If a row says "Director" in your group but "entry" in seniority, look at it.

Countries: one lookup table

Create a small tab called "Countries" with two columns: every variation you find in column A ("USA", "US", "United States of America") and the version you want in column B ("United States"). Then:

=IFERROR(VLOOKUP(TRIM(K2),Countries!A:B,2,FALSE),TRIM(K2))

Use whatever format your CRM expects. If your CRM uses a dropdown for country, match its exact spelling, or the import will reject rows or create stray values.

Names and companies

Fix casing on names with =PROPER(TRIM(A2)), but check the results. PROPER turns "McDonald" into "Mcdonald" and "van der Berg" into "Van Der Berg". For personalised emails, those details matter to the person reading.

Suppression lists: the step you can't skip

A suppression list is everyone you must not contact. It's the most important part of cleaning, because the cost of getting it wrong is higher than any duplicate. It should include:

  • Anyone who has unsubscribed or asked not to be contacted, from any tool.
  • Existing customers, unless the campaign is meant for them.
  • Open opportunities owned by another rep.
  • Competitors and partners.
  • Domains you've agreed not to approach, like a partner's clients.
  • Hard-bounced addresses from earlier campaigns.

Keep it as one shared list with two tabs: one for emails and one for domains. Check every new list against both using the COUNTIF approach above, once on email_clean and once on company_domain. Anything that matches gets removed, not just flagged.

This also helps with compliance. Rules differ by country, so check the rules that apply to you (GDPR, CAN-SPAM, etc.), but honouring opt-outs everywhere is the baseline in practically every case.

Tip: Update the suppression list the same day someone opts out, and make it the first thing you check against, not the last. If you run out of time, it's the duplicates you want to have skipped, not the suppression check.

The pre-import checklist

Run through this list before you click import. It takes ten minutes and saves hours.

  1. The file opens with correct characters (no "é" mess).
  2. Emails are lower-cased and trimmed.
  3. Duplicates by email, then LinkedIn URL, are removed.
  4. Invalid emails are removed, and risky or catch-all ones are tagged. If you used verification, the email_status column tells you which is which; our post on email verification and bounce rate explains what each means.
  5. Rows already in your CRM are removed or set aside to update.
  6. Suppression list checked by email and by domain.
  7. Countries match your CRM's spelling.
  8. Title groups are added for segmentation.
  9. A "lead_source" column is added, such as "apollo-export-uk-finance-oct", so you can report on the list later.
  10. Helper columns you don't want in the CRM are deleted, or simply left unmapped.
  11. You've test-imported 20 rows and checked how they look in the CRM before importing the rest.

That last step catches most mapping mistakes. If the 20 test rows look right, the other 4,980 will too.

One thing that makes all of this easier is starting with consistent files. Apollo Scraper CSVs use the same UTF-8 format and column layout every time, so once you've built a cleaning sheet with these formulas you can paste each new export into it and reuse the whole thing. When your list is clean, our guide to importing Apollo CSVs into HubSpot, Salesforce and Pipedrive covers the mapping step. Start by building your suppression tab today, before the next list arrives.

100 free leads on sign up

Automate Your B2B Lead Generation With Apollo Scraper

Get started for free

No Credit Card Required*

How to Clean and Dedupe a Lead List Before CRM Import