How to separate email addresses to username and domain in Excel?
If there is a list of email addresses in Excel, you may need to separate the email addresses into two columns, one contains usernames, and the other contains the domains as below screenshot shown. This article will introduce some tricks on solving this job easily and quickly.
To separate email addresses into usernames and domain addresses, you can apply formulas to handle.
To extract the username from email address
Select a blank cell to place this formula =LEFT(A2,FIND("@",A2)-1), press Enter key, and drag fill handle down to the cells which need this formula.
To extract domain from email address
Select a blank cell to place this formula =RIGHT(A2,LEN(A2)-FIND("@",A2)), press Enter key, and drag fill handle down to the cells which need this formula.
In Excel, the Text to Columns function also can do you a favor on separating email addresses.
1. Select the email addresses you want to separate, and click Data > Text to Columns.
2. Then in the Text to Columns Wizard window, check Delimited option and click Next to go the step 2 of the Wizard.
3. Check Other checkbox, and type @ into next textbox, you can preview the separated result in below window.
4. Click Next, select one cell to place the results in the last step of the Wizard.
5. Click Finish, the email addresses have been split into two columns.
If you neither like to remember formulas nor use the Text to Columns Wizard, you can apply Kutools for Excel’s Split Cells utility to split to rows/columns based on delimiter, specific width or text and number.
|Kutools for Excel, with more than 300 handy functions, makes your jobs more easier.|
After installing Kutools for Excel, please do as below:（Free Download Kutools for Excel Now!)
1. Select the cells you use to separate, and click Kutools > Merge & Split > Split Cells.
2. In the Split Cells dialog, check the type you want to separate to, and then check Other checkbox and type @ into the next textbox. See screenshot:
3. Click Ok and select one cell to place the result.
4. Click OK. The emails have been split into usernames and domains.