How to Check if Email Addresses Are Valid in Google Sheets: ISEMAIL, Clean Up Spaces and Capitals, Flag Bad Emails and Find Duplicates (2026)
A mailing list or sign-up sheet collects bad addresses quietly: a missing @, a comma typed for a dot, a space in the middle, a “mailto:” prefix copied from a link, or the same person twice in different capitals. Google Sheets has a built-in check for this, ISEMAIL, which tells you whether a value follows a commonly accepted email format. This guide cleans the column first so stray spaces and capitals don’t decide the answer, checks every address, highlights and lists the bad ones, finds duplicate emails, and sets up a rule that refuses bad entries from now on.
The short answer
- Check one address:
=ISEMAIL(A2)returns TRUE or FALSE. - Clean it first:
=REGEXREPLACE(LOWER(TRIM(SUBSTITUTE(A2, CHAR(160), " "))), "^mailto:", "")removes spaces at the ends (including non-breaking spaces), lowercases it and drops a leadingmailto:. - Highlight bad emails: Format › Conditional formatting, Custom formula is,
=$D2=FALSE(D holds the ISEMAIL results). - List bad emails:
=FILTER(A2:A11, A2:A11<>"", D2:D11=FALSE) - Block bad entries: Data › Data validation › Add rule, Criteria Text is valid email, then Reject the input.
ISEMAIL checks the format only. Google’s help page says it doesn’t verify that the address exists, so a well-formed address for a closed mailbox still returns TRUE.
The example
An email list in column A with ten rows. Five addresses are malformed, two people appear twice (rows 2 and 4, rows 3 and 10), and the rest need only light cleanup.
| Row | A: Email | What’s wrong |
|---|---|---|
| 2 | ana@example.com | clean |
| 3 | BEN@Example.com | capital letters |
| 4 | ana@example.com | a trailing space; same person as row 2 |
| 5 | cara.example.com | no @ |
| 6 | dev@example | nothing after the domain name |
| 7 | eli@@example.com | two @ signs |
| 8 | fay @example.com | a space inside the address |
| 9 | mailto:gus@example.org | a mailto: prefix copied from a link |
| 10 | ben@example.com | same person as row 3, in lowercase |
| 11 | hana@example,com | a comma instead of a dot |
The plan is helper columns next to the data: C for the cleaned address, D for the ISEMAIL check and E for the duplicate check. You can delete them once you’ve fixed the list.
Step 1: clean the addresses
Put this in C2 and fill it down to C11:
=REGEXREPLACE(LOWER(TRIM(SUBSTITUTE(A2, CHAR(160), " "))), "^mailto:", "")
Read it from the inside out. SUBSTITUTE with CHAR(160) turns non-breaking spaces into normal spaces, because the TRIM help page says non-breaking spaces will not be trimmed. TRIM then removes spaces at the ends (and collapses repeated spaces to one). LOWER converts the text to lowercase. Finally REGEXREPLACE replaces ^mailto:, which only matches “mailto:” at the very start, with nothing. REGEXREPLACE only works with text, which an email column is.
Row 3 becomes “ben@example.com”, row 4 loses its trailing space and row 9 becomes “gus@example.org”. Cleaning can’t fix the space inside row 8: TRIM leaves a single space between words, so “fay @example.com” stays as it is, and the check in the next step catches it.
Step 2: check the format with ISEMAIL
Put this in D2 and fill it down to D11:
=ISEMAIL(C2)
It checks the cleaned value in C, so the answer is about the address itself, not about a stray space or prefix:
| Row | C: cleaned | D: =ISEMAIL(C2) | E: duplicate? (Step 5) |
|---|---|---|---|
| 2 | ana@example.com | TRUE | TRUE |
| 3 | ben@example.com | TRUE | TRUE |
| 4 | ana@example.com | TRUE | TRUE |
| 5 | cara.example.com | FALSE | FALSE |
| 6 | dev@example | FALSE | FALSE |
| 7 | eli@@example.com | FALSE | FALSE |
| 8 | fay @example.com | FALSE | FALSE |
| 9 | gus@example.org | TRUE | FALSE |
| 10 | ben@example.com | TRUE | TRUE |
| 11 | hana@example,com | FALSE | FALSE |
Rows 5, 6, 7, 8 and 11 return FALSE: no @, nothing after the domain name, two @ signs, a space inside the address and a comma instead of a dot. Those need a person to fix them, usually by checking the original form or contact record.
Step 3: highlight the bad emails
To color the original cells that failed, select A2:A11, choose Format › Conditional formatting, set Format cells if to Custom formula is and enter:
=$D2=FALSE
Pick a fill color and click Done. As Google’s conditional formatting help page explains, you write the rule for the first row of the range and it adjusts for each row; the $ keeps the column fixed on D. Rows 5, 6, 7, 8 and 11 are colored, and the color goes away as soon as a fixed address passes the check.
Step 4: list the bad emails in one place
To review them on their own, put this in an empty column or a new tab:
=FILTER(A2:A11, A2:A11<>"", D2:D11=FALSE)
FILTER returns only the rows that meet every condition: the email cell isn’t blank and its check is FALSE. Here it lists the five bad addresses from rows 5, 6, 7, 8 and 11, in their original form. The A2:A11<>"" condition matters if the range has empty rows, because ISEMAIL of an empty cell is FALSE. If every address passes, FILTER returns #N/A, which here simply means nothing is left to fix.
Step 5: find duplicate emails
Put this in E2 and fill it down to E11:
=COUNTIF($C$2:$C$11, C2)>1
TRUE marks an address that appears more than once: rows 2 and 4 (ana@example.com) and rows 3 and 10 (ben@example.com). It counts the cleaned column on purpose. COUNTIF is not case sensitive, so capitals alone wouldn’t split a pair, but it checks each cell for equality, so the trailing space in row 4 would. To remove the extra copies once you’ve found them, see how to find and remove duplicates; for Gmail addresses that differ only in dots or a +tag, see duplicates that don’t match exactly.
Step 6: keep one clean copy of each valid email
For a ready-to-use list, for example to paste into a mail tool, combine FILTER with UNIQUE:
=UNIQUE(FILTER(C2:C11, D2:D11))
FILTER keeps the cleaned addresses whose check is TRUE and UNIQUE drops the repeats, in the order they first appear: ana@example.com, ben@example.com and gus@example.org. It updates as the list changes.
Make the cleanup permanent
To replace the originals with the cleaned text, copy C2:C11, click A2 and choose Edit › Paste special › Values only (Google’s paste special help calls it “Paste values only”: it pastes only the text, not the formulas). Then delete the helper columns, or keep them for the next import.
Step 7: block bad emails from now on
Select the email column (for example A2:A1000), choose Data › Data validation › Add rule, and under Criteria choose Text is valid email. Open Advanced options and, under If the data is invalid, choose Reject the input, or Show a warning if you only want a flag. Click Done. Typing “fay @example.com” into the column is then refused, while “ivy@example.com” goes in. The steps for opening the rules panel and choosing what happens to invalid data are in Google’s data validation help.
The rule checks what is entered into the column; it doesn’t change or remove addresses that are already there, so clean and check the existing list with Steps 1–6 as well.
Why this matters for reminder emails
If the sheet drives automatic emails, a malformed address means a message that never goes out. In SheetReminders (our date-based reminder add-on), a row whose email cell isn’t shaped like name@domain.tld is skipped, so no reminder is sent for it. Running the check above before you set up reminders from a date column makes sure every row can actually be emailed.
Troubleshooting
- ISEMAIL says FALSE for an address that looks right. Check it for hidden characters: compare
=LEN(A2)with the number of characters you can see. The cleanup formula in Step 1 handles spaces at the ends and non-breaking spaces; see removing extra spaces for line breaks and other cases. - ISEMAIL says TRUE but the email bounced. ISEMAIL doesn’t verify that the address exists, only its format. A typo in the domain that is still well formed passes.
- FILTER shows #N/A. No row met the conditions, so there is nothing to list.
- REGEXREPLACE shows an error. The cell holds a number, and REGEXREPLACE only works with text. Email cells are text, so check that the formula points at the email column.
FAQ
How do I check if an email address is valid in Google Sheets?
Use =ISEMAIL(A2). It returns TRUE when the value follows a commonly accepted email format and FALSE when it does not. Google’s help page notes that it checks the format only and doesn’t verify that the address exists, so it catches typos such as a missing @ but not a mailbox that was closed.
Does ISEMAIL check that the email address really exists?
No. Google’s ISEMAIL help page says it checks whether the value follows a commonly accepted format for email addresses but doesn’t verify its existence. A well-formed address for a mailbox that doesn’t exist still returns TRUE.
How do I highlight invalid email addresses in Google Sheets?
Put =ISEMAIL(C2) in a helper column next to a cleaned copy of the addresses, select the email cells, choose Format › Conditional formatting, pick Custom formula is and enter =$D2=FALSE (D being the ISEMAIL column). Every address that fails the check is colored.
How do I clean up email addresses before checking them?
Use =REGEXREPLACE(LOWER(TRIM(SUBSTITUTE(A2, CHAR(160), " "))), "^mailto:", ""). SUBSTITUTE turns non-breaking spaces into normal spaces, TRIM removes spaces at the ends, LOWER makes every letter lowercase and REGEXREPLACE removes a mailto: prefix at the start.
How do I find duplicate email addresses in Google Sheets?
Clean the addresses first, then use =COUNTIF($C$2:$C$11, C2)>1 next to each one. COUNTIF is not case sensitive, but it does treat a trailing space as part of the value, which is why the cleaned column is used.
Can Google Sheets stop people from typing an invalid email?
Yes. Select the column, choose Data › Data validation › Add rule, set Criteria to Text is valid email, and under Advanced options choose Reject the input. An entry that isn’t shaped like an email address is then refused.
Install free from Google Workspace MarketplaceSee SheetDupes
Want to test it first? Try it on sample data (makes a copy of a 12-row example sheet in your Drive).
Related guides
- How to Remove Extra Spaces in Google Sheets: Leading, Trailing and Double Spaces, Non-Breaking Spaces, Line Breaks and Why TRIM Isn’t Working (2026)
- Duplicates That Don’t Match Exactly in Google Sheets: Case, Extra Spaces, Gmail Dots, Phone Formats and Typos (2026)
- How to Change Text Case in Google Sheets: UPPERCASE, lowercase, Proper Case Names, Sentence Case and Duplicates That Differ Only in Case (2026)
- How to Format Phone Numbers in Google Sheets: Strip Dashes and Spaces, Show (555) 010-1234, Handle +1 and Extensions, Then Find Duplicate Contacts (2026)
- How to Prevent Duplicate Entries in Google Sheets: Data Validation Rules, Warnings and a Small Script (2026)
- How to Find and Remove Duplicates in Google Sheets: Highlight, Count, Delete and Keep the Original (2026)
- How to Highlight Duplicates in Google Sheets: Conditional Formatting Formulas for One Column, Whole Rows, Repeats Only and Two Sheets (2026)
- UNIQUE vs Remove Duplicates in Google Sheets: Live or Static, Letter Case, Spaces, Columns and Headers (2026)
- How to Send Automatic Email Reminders from a Date Column in Google Sheets (2026)