FormulaCraft

How to extract the domain from an email address in Excel and Google Sheets

Topic:Text manipulation
Excel & Google Sheets
=MID(A2, FIND("@", A2) + 1, 100)

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1FIND("@", A2) returns the position of the @ symbol.
  2. 2MID starts one character after it and takes the rest.
  3. 3100 is just a length comfortably longer than any domain.

Tips

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.

Frequently asked

How do I get just the part before the @?

Use =LEFT(A2, FIND("@", A2) - 1) — it returns everything up to, but not including, the @ symbol.

More on Text manipulation

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: