Article content and detailed guides remain in English. The selected language applies to controls and quick instructions.

Back to articles

Conditional Formatting for Email Lists in Excel and Google Sheets: Highlight Duplicates, Invalid Addresses and Engagement Patterns

On this page

Why Conditional Formatting Matters for Email Lists

Conditional formatting turns a flat spreadsheet of email addresses into a visual dashboard that immediately shows data quality problems. Instead of scanning thousands of rows manually, colours and icons highlight what needs attention:

Problem What to highlight Colour / format Benefit
Duplicate emails Cells appearing more than once Yellow or orange fill Prevent sending duplicates; reduce list size
Invalid syntax Missing @, spaces, forbidden characters Red fill Catch typos and broken addresses
Suspicious domains Disposable, misspelled, or unusual domains Orange fill Filter low-quality addresses
Role-based addresses info@, sales@, admin@, support@ Light blue fill Separate role-based for different treatment
Free email providers gmail.com, yahoo.com, hotmail.com, outlook.com Light grey fill Distinguish B2C from B2B contacts
Bounced addresses Previously bounced (marked in status column) Red text; strikethrough Remove before next send
Unsubscribed Opted out (marked in status column) Grey fill; italic Ensure suppression compliance
High engagement Opened and clicked recently Green fill Prioritise for campaigns
Low engagement No opens in 6+ months Yellow fill Target for reactivation or removal

Excel Conditional Formatting for Email Lists

Highlight duplicate emails

To flag duplicate email addresses in column A:

  1. Select the entire email column (for example, A2:A10000).
  2. Go to Home > Conditional Formatting > Highlight Cells Rules > Duplicate Values.
  3. Choose the formatting (for example, Light Red Fill with Dark Red Text).
  4. Click OK.

All cells containing an email that appears more than once in the range are highlighted.

Custom formula: flag emails missing @ symbol

To highlight cells in column A that do not contain the @ symbol:

  1. Select A2:A10000.
  2. Go to Home > Conditional Formatting > New Rule > Use a formula to determine which cells to format.
  3. Enter the formula: =AND(LEN(A2)>0, ISERROR(FIND("@",A2)))
  4. Set formatting to red fill.
  5. Click OK.

Custom formula: flag emails with spaces

Spaces in email addresses indicate typos or copy-paste errors:

  1. Select A2:A10000.
  2. New Rule > Use a formula.
  3. Formula: =AND(LEN(A2)>0, LEN(A2)<>LEN(SUBSTITUTE(A2," ","")))
  4. Set formatting to orange fill.

Custom formula: highlight free email providers

To highlight Gmail, Yahoo, Hotmail and Outlook addresses (useful for B2B list cleaning):

  1. Select A2:A10000.
  2. New Rule > Use a formula.
  3. Formula: =OR(RIGHT(A2,10)="@gmail.com", RIGHT(A2,10)="@yahoo.com", RIGHT(A2,12)="@hotmail.com", RIGHT(A2,12)="@outlook.com")
  4. Set formatting to light grey fill.

Custom formula: highlight role-based addresses

Role-based email addresses (info@, sales@, admin@, support@, contact@) often have lower deliverability and engagement:

  1. Select A2:A10000.
  2. New Rule > Use a formula.
  3. Formula: =OR(LEFT(A2,5)="info@", LEFT(A2,6)="sales@", LEFT(A2,6)="admin@", LEFT(A2,8)="support@", LEFT(A2,8)="contact@", LEFT(A2,10)="webmaster@", LEFT(A2,11)="postmaster@")
  4. Set formatting to light blue fill.

Engagement-based formatting

If your spreadsheet has an "Last Opened" date column (for example, column D) and today's date is needed for comparison:

Highlight contacts with no opens in 6+ months (inactive):

  1. Select the row range or email column.
  2. New Rule > Use a formula.
  3. Formula: =AND(D2<>"", D2<TODAY()-180)
  4. Set formatting to yellow fill.

Highlight contacts who opened in the last 30 days (highly engaged):

  1. Same setup.
  2. Formula: =AND(D2<>"", D2>=TODAY()-30)
  3. Set formatting to green fill.

Google Sheets Conditional Formatting

Google Sheets uses a similar approach with slightly different menu paths:

Highlight duplicates in Google Sheets

  1. Select the email column (for example, A2:A10000).
  2. Go to Format > Conditional formatting.
  3. Under "Format rules", choose "Custom formula is".
  4. Enter: =COUNTIF(A:A, A2)>1
  5. Set formatting style (for example, yellow fill).
  6. Click Done.

Flag missing @ symbol

  1. Select email column.
  2. Format > Conditional formatting > Custom formula is.
  3. Formula: =AND(LEN(A2)>0, ISERROR(FIND("@",A2)))
  4. Set red fill.

Flag emails with spaces

  1. Custom formula: =AND(LEN(A2)>0, REGEXMATCH(A2, " "))
  2. Set orange fill.

Highlight free email providers

  1. Custom formula: =REGEXMATCH(LOWER(A2), "@(gmail|yahoo|hotmail|outlook|aol)\.")
  2. Set light grey fill.

Highlight role-based addresses

  1. Custom formula: =REGEXMATCH(LOWER(A2), "^(info|sales|admin|support|contact|webmaster|postmaster|noreply|no-reply)@")
  2. Set light blue fill.

Google Sheets advantage: REGEXMATCH

Google Sheets supports REGEXMATCH in conditional formatting, which is more powerful than Excel's text functions for pattern matching. For example, a single rule can flag all addresses that do not match basic email syntax:

=AND(LEN(A2)>0, NOT(REGEXMATCH(A2, "^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$")))

This highlights any cell that contains text but does not match the pattern of a valid email address (letters/numbers, then @, then domain, then dot, then 2+ letter TLD).

Combining Multiple Rules

Both Excel and Google Sheets allow stacking multiple conditional formatting rules on the same range. Rules are applied in priority order (top rule wins when multiple rules match):

Priority Rule Format Purpose
1 (highest) Missing @ symbol Red fill Definitely invalid
2 Contains spaces Orange fill Likely invalid
3 Role-based address Light blue fill May need separate treatment
4 Free email provider Light grey fill B2C indicator
5 Duplicate Yellow fill Deduplication needed
6 (lowest) Valid syntax (no issues) No formatting Clean address

This stacking order ensures that an email that is both a duplicate and missing the @ symbol shows red (the more serious problem), not yellow.

Limitations of Spreadsheet-Based Cleaning

Conditional formatting helps you see problems, but it does not fix them:

What conditional formatting can do What it cannot do
Highlight duplicate values visually Remove duplicates automatically (use Remove Duplicates or UNIQUE)
Flag obvious syntax errors Verify that a mailbox actually exists
Identify role-based or free addresses Check DNS or MX records for domains
Show engagement patterns from your data Tell you if an address will bounce on next send
Help with manual review Scale to hundreds of thousands of addresses efficiently

For large lists, start by extracting and deduplicating addresses across all your source files. Upload your spreadsheets, CSVs, text files and other data sources to Email Extractor to pull all email addresses into a single, deduplicated list. Then apply conditional formatting to the clean output to catch remaining quality issues before importing into your ESP or CRM.

Extract emails

Explore tools

Verify emails

Check address validity before using your list.

ZeroBounce

Email Verification

Verifies email lists and provides tools for monitoring deliverability.

Useful when list cleaning and sender health belong in one workflow.

Explore ZeroBounce (opens in a new tab)