New Tool Radar

AI for Data & Spreadsheets

How to Check Email Addresses in Excel Before a Mail Merge

Check email addresses in Excel for a valid shape before a mail merge sends to bad addresses.

Schematic with three steps: Flag addresses without an @ and a; Flag addresses with spaces or double dots; Fix the failures from the source and.

A mail merge sends to every address in the list, including the ones with a missing @, a space in the middle, or a typo in the domain. One bad address can bounce, and a list with many bad addresses can look like spam. Check the shape of every address before the merge, and fix the failures from the source list.

What you need

  • Excel with the email column to check
  • The source list of correct addresses
  • A helper column for the shape check

Step 1: Flag addresses without an @ and a dot after it

In a helper column, enter a formula that checks each address for an @ sign and a dot after the @, for example with FIND and ISNUMBER, and fill it down. Flag every address that fails either test.

Step 2: Flag addresses with spaces or double dots

Add a check for spaces anywhere in the address and for two dots in a row, both of which make an address invalid. Read each flagged address and compare it with the source list.

Step 3: Fix the failures from the source and re-check

Correct each flagged address from the source list, or remove it from the merge if no correct address exists. Re-run the checks until no address is flagged, then run the merge.

Worked example: synthetic 25-address list

The table below is a synthetic example. It shows the expected result of an email shape check; no workbook was opened.

Check Count Result
Addresses in the list 25 Source
Addresses passing the shape check 22 Ready to merge
Missing @ sign 1 Fix from source
Space inside the address 1 Fix from source
No dot after the @ 1 Fix from source

Expected result (UNTESTED). 22 of 25 addresses pass the shape check; 3 fail, one with no @, one with a space inside, and one with no dot after the @. Fix all 3 from the source list before the merge. This check was not run live; the table shows the expected result for the synthetic example.

Limits

  • A shape check only proves the address looks like an email; it cannot prove the mailbox exists.
  • A valid address can still bounce if the mailbox is full or closed; the check does not replace a test send.
  • Some valid addresses use a plus sign or a subdomain, so do not flag those as errors.
  • Never guess a corrected address; fix it from the source list or leave it out of the merge.

Sources

See all