FormulaCraft

How to remove everything before 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.

Email
alice@example.com
bob@company.org
carol@domain.net
david@mail.co

=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. 1Decide on the delimiter character — for example '@' to extract a domain from an email.
  2. 2Use FIND("@",A2) to get the character's position.
  3. 3Add 1 to skip past the character itself.
  4. 4Use LEN(A2) as the number of characters to extract — this is always long enough to get the rest of the string.
  5. 5Full formula: =MID(A2,FIND("@",A2)+1,LEN(A2)).
  6. 6Wrap in IFERROR to return the original value when the delimiter is missing.

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

Can I use SEARCH instead of FIND?

Yes — SEARCH is identical in behavior but case-insensitive, useful when the delimiter letter might appear in different cases.

What if I want to remove the text before the second occurrence of a character?

Use a nested FIND with a start position argument: FIND("@",A2,FIND("@",A2)+1) finds the second occurrence.

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: