Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
Heads up: Excel and Google Sheets do this differently.
=TRIM(MID(SUBSTITUTE(B2,"@",REPT(" ",LEN(B2))),MAX(1,FIND("@",B2)-LEN(B2)),LEN(B2)))=REGEXEXTRACT(B2, "[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}")Computed by a real spreadsheet engine on the sample data below.
| header | text |
| example | Please contact us at support@example.com for assistance. |
| example2 | Reach out via sales@example.org or info@example.net |
| example3 | No email here |
=TRIM(MID(SUBSTITUTE(B2,"@",REPT(" ",LEN(B2))),MAX(1,FIND("@",B2)-LEN(B2)),LEN(B2)))→Please contact us at support
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need the Google Sheets version instead? Open Sheets variant in workspace →
Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.
For multiple emails, you would need to modify the formula to handle each case separately, possibly using array formulas.
The provided formulas should work with most standard email formats, but very unusual formats might require adjustments.
Yes, you can drag the formula down to apply it to other cells in the column.
Split a full name or any delimited text into separate columns. Google Sheets uses SPLIT; Excel uses TEXTSPLIT — here is each.
How-toClean leading, trailing, and double spaces with TRIM — the usual fix for lookups that fail on values that look identical.
How-toTurn numbers stored as text into real numbers with VALUE or by multiplying by 1 — the fix for sums that ignore values.
How-toPull everything after the @ from an email using FIND and MID. Works the same in Excel and Google Sheets.
How-toGet the first name from a full name with LEFT and FIND, splitting on the first space. Works in Excel and Google Sheets.
How-toPad numbers to a fixed width with leading zeros using TEXT, or a custom number format. Works in Excel and Google Sheets.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: