Compare lists
Match the two lists on email, after trimming spaces and ignoring capital letters. Every email that turns up in the other list is already there; the rest are new. Spreadsheet formulas can do this, but a stray space is enough to hide a match from a formula, and a capital letter is enough in many other tools. On the same two files the answer can be 0, 23 or 84 depending on how you compare. Sift trims and ignores case for you, in your browser, with nothing uploaded.
Compare two lists in Sift, free →
This is the answer you will find on most forums, and it works once both lists are clean:
=LOWER(TRIM(A2)) (A being the email column) and fill it down.=COUNTIF(Other!$B:$B, B2)>0. TRUE means the email is already
in the other list. FALSE means it is new.
XLOOKUP and MATCH work the same way, and the same formulas work in
Google Sheets. All of them already ignore capital letters, so LOWER only matters
if you take the clean key into another tool. What they do not ignore is spaces. An address exported as
jane@acme.com , with a space on the end, never matches jane@acme.com.
TRIM fixes ordinary spaces but not the non-breaking spaces that web forms and
some exports paste in; for those you also need
SUBSTITUTE(A2, CHAR(160), "").
Sift's repository has two fake test files you can download and try this on: a CRM export of 1,200 companies and a product user list of 392 people. How many emails do they share?
COUNTIF or XLOOKUP gives you.Nothing about the people changed, only how the addresses were written. A formula that looks right can quietly miss most of the overlap.
Test files: crm_companies.csv and account_users.csv, both fake, in Sift's public repository.
With an AI agent, Sift's sift_match tool compares two files on your machine and
reports how many emails are in both, only in the first, and only in the second. It compares
exactly unless asked otherwise, so tell your agent to trim and lowercase the keys
(normaliseKeys); on the test files that is the difference between 0 and 84.
Your agent gets the counts, not the rows. Set up Sift for
agents.
j.smith@gmail.com
and jsmith+news@gmail.com as the same inbox. Sift trims and ignores case but
does not remove dots or plus tags, so those count as different addresses.jane@acme.con will not match
jane@acme.com. To catch the same person under a misspelled email, match on
name and company instead with fuzzy duplicate
matching.