FormulaCraft

How to get the text after a character in Excel and Google Sheets

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

Verified example

Computed by a real spreadsheet engine on the sample data below.

EmailDomain
alice@example.com
bob@mail.com
carol@test.org
dan@work.io
eve@site.net

=MID(A2,FIND("@",A2)+1,LEN(A2))example.com

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. 1Enter =MID(A2,FIND("@",A2)+1,LEN(A2)) — FIND locates the delimiter; adding 1 starts extraction on the character after it.
  2. 2LEN(A2) as the length argument generously covers the maximum possible characters, so nothing is cut off.
  3. 3In Excel 365, use =TEXTAFTER(A2,"@") for the same result with simpler syntax.
  4. 4Wrap in IFERROR to handle cells where the delimiter is absent.

Tips

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

Frequently asked

How do I get text after the last occurrence of a delimiter?

Replace the last delimiter with a unique placeholder using SUBSTITUTE, find it with FIND, then use MID. Example: =MID(A2,FIND("*",SUBSTITUTE(A2,"/","*",LEN(A2)-LEN(SUBSTITUTE(A2,"/",""))))+1,LEN(A2)).

Is TEXTAFTER available in Google Sheets?

Not as of 2024 — use MID and FIND in Google Sheets.

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: