Yes, you can check whether an email address in Excel is plausibly valid using a single formula. Excel has no built-in "is this a valid email" function, but a combination of ISNUMBER, SEARCH (or FIND), and LEN checks for an @ symbol, a dot after it, and no spaces catches the overwhelming majority of typos and malformed entries. This guide shows you the formula, how to apply it to a whole column, and how to flag bad entries automatically with conditional formatting or data validation.
What You'll Need
- Excel for Microsoft 365, Excel 2021, 2019, 2016, or Excel for the web (the basic formula works in all of these; the newer VALIDATE-style functions noted below are 365-only)
- A spreadsheet with email addresses in a column (the examples below assume they start in cell A2)
- No add-ins, no VBA, and no external data connections required
Step-by-Step
- Open your spreadsheet and click the cell to the right of your first email address. If emails are in column A starting at row 2, click B2.
- Enter the basic validation formula. Type or paste this, then press Enter:
=AND(ISNUMBER(SEARCH("@",A2)),ISNUMBER(SEARCH(".",A2,SEARCH("@",A2)+2)),ISERROR(SEARCH(" ",A2)),LEN(A2)-LEN(SUBSTITUTE(A2,"@",""))=1)
This checks four things: there is an @ symbol, there is a dot at least two characters after the @ (so a domain like .com can exist), there are no spaces, and the @ appears exactly once. - Read the result. TRUE means the address passes the basic structural checks; FALSE means something is wrong, such as a missing @, no dot in the domain, or a space inside the address.
- Make the output friendlier (optional). Wrap the same logic in IF so you see words instead of TRUE/FALSE:
=IF(AND(ISNUMBER(SEARCH("@",A2)),ISNUMBER(SEARCH(".",A2,SEARCH("@",A2)+2)),ISERROR(SEARCH(" ",A2)),LEN(A2)-LEN(SUBSTITUTE(A2,"@",""))=1),"OK","Invalid") - Copy the formula down the column. Click the cell with the formula, then double-click the small square fill handle at the bottom-right corner of the cell. Excel fills the formula down as far as your data in column A goes. Alternatively, select the cell and drag the handle down manually.
- Handle blank cells. If empty rows show as "Invalid", add a blank check at the start:
=IF(A2="","",IF(AND(...),"OK","Invalid"))
using the same AND logic inside. - Highlight invalid entries with conditional formatting. Select your email column (A2:A1000, for example). Go to Home > Conditional Formatting > New Rule > Use a formula to determine which cells to format. Enter the AND formula above (adjusted to reference the first cell of your selection, A2) and choose a fill color such as light red. Bad entries are now shaded in place, without needing a helper column.
- Prevent bad entries in the first place with data validation (optional). Select the email column, go to Data > Data Validation, set Allow to Custom, and paste the same AND formula referencing the first selected cell. On the Error Alert tab, choose Stop and type a message like "Please enter a valid email address." Excel now rejects entries that fail the check.
- If you have Microsoft 365, try a simpler modern version. With the newer REGEXTEST function you can validate against a pattern in one line, for example:
=REGEXTEST(A2,"^[^@\s]+@[^@\s]+\.[^@\s]+$")
This returns TRUE or FALSE and is easier to maintain than nested SEARCH logic, but it only works in current Microsoft 365 versions. - Test with known examples. Enter one valid address and a few broken ones (missing @, two @@, no dot after the @, a space) and confirm the formula flags each case as expected before relying on it.
Note: menu labels and dialog wording can differ slightly between Excel versions, platforms (Windows, Mac, web), and languages, but the formulas themselves are identical everywhere.
Common Mistakes
- Forgetting the dot position check. Checking only for an @ and a dot anywhere lets through broken entries like "john.smith@localhost", where the dot comes before the @ and the domain has no dot at all.
- Using FIND instead of SEARCH without knowing the difference. FIND is case-sensitive; SEARCH is not. For email validation either works because @ and . have no case, but mixing them up causes confusion when people adapt the formula.
- Referencing the wrong cell in conditional formatting or data validation. The formula must point to the top-left cell of your selected range (A2 if the range starts at A2), written without dollar signs on the row, or every row will be checked against the same cell.
- Locking cells incorrectly when copying down. If you add dollar signs like $A$2 inside a helper-column formula, every row checks A2 instead of its own row.
- Expecting the formula to prove the mailbox exists. No formula can confirm an address actually receives mail; it only checks structure. A perfectly formatted fake address will still pass.
Tips
- Keep the validation logic in one helper column and reference it from conditional formatting rules, so you only maintain the formula in one place.
- To clean leading or trailing spaces that cause false failures, wrap the cell reference in TRIM: use TRIM(A2) inside the formula, or run Find & Replace to strip spaces first.
- Lowercase everything for consistency with LOWER(A2) if you plan to export the list to an email tool.
- For very large lists, convert the range to a Table (Ctrl+T) so the validation formula fills automatically for new rows you add.
- Combine validation with a filter: filter the helper column for "Invalid" to get an instant list of addresses that need fixing.
Troubleshooting
- Every result shows FALSE. Almost always a cell-reference problem. Click one result cell and check that the formula points to the email on the same row, not to a fixed cell.
- The formula returns a #VALUE! error. SEARCH returns an error when the text is not found, which is expected inside AND only if wrapped properly. Make sure you kept the ISNUMBER and ISERROR wrappers exactly as written; remove one and the error surfaces.
- Valid addresses are flagged as invalid. Check for invisible characters: spaces pasted from web forms, non-breaking spaces (CHAR(160)), or smart quotes. Use TRIM, or run Find & Replace on the column to remove them, then re-check.
- Conditional formatting does nothing. Confirm the rule's formula references the first cell of the applied range and that the "Applies to" range actually covers your data. Edit the rule under Home > Conditional Formatting > Manage Rules.
- Data validation blocks everything. Open Data > Data Validation and verify the formula starts with = and references the correct first cell. Remember that data validation does not catch entries pasted in from elsewhere; use the helper-column method as well if paste-ins are common.
- REGEXTEST gives a #NAME? error. Your Excel version does not include that function. Update Microsoft 365, or use the SEARCH-based formula, which works everywhere.
Frequently Asked Questions
Can Excel verify that an email address actually exists?
No. A formula can only check structure, such as the presence and position of @ and a dot. Confirming a mailbox is real requires sending a message or using a dedicated email verification service outside Excel.
What is the simplest formula that works in all Excel versions?
The AND/SEARCH combination in Step 2 is the most compatible option. It runs in every desktop and web version of Excel from at least Excel 2016 onward, with no add-ins.
Does Excel have a built-in email validation feature?
No dedicated function exists for emails specifically. Data validation with a custom formula (Step 8) is the built-in way to enforce the rule as users type.
Why does "abc@x" fail the check?
It has no dot after the @, so there is no domain extension. That is intentional, since a routable public email domain needs at least one dot (for example, example.com).
Will the formula catch two @ symbols?
Yes. The LEN(A2)-LEN(SUBSTITUTE(A2,"@",""))=1 part counts the @ characters and fails the address if there is more than one.
Can I apply this in Google Sheets too?
Yes, the AND, SEARCH, ISNUMBER, and SUBSTITUTE functions work identically in Google Sheets, and its conditional formatting accepts the same custom formula approach.