When working with contact data, you may need to isolate the domain portion of an email address—for example, extracting domain.com from username@domain.com. This is useful for segmentation, reporting, or domain-based analysis. Below are two simple methods to separate usernames and domains stored in one column of a spreadsheet.
This method splits the email address into two separate columns—one for the username and one for the domain—by using the @ symbol as a delimiter.
Steps:
@ in the box. Uncheck any other options.The result:
username)domain.com)Tip: This method replaces the original email column with just the username, so it’s a good idea to copy your original data elsewhere first if you want to preserve it.
If you prefer to keep your original email addresses intact, use the following formula to extract the domain portion only:
=MID(B1,SEARCH("@",B1)+1,255)
How it works:
SEARCH("@",B1) finds the position of the @ symbol.MID extracts everything after it, up to 255 characters.Usage:
B1 with the actual cell reference that contains the email address.This method is ideal for creating a clean domain column while leaving your source data untouched.
gmail.com users).