## Separate Email addresses to usernames and domains in Excel

Normally, the Email address is consisted of user name, @ symbol and domain name, but, sometimes, you may need to split the Email address into separate username and domain name as below screenshot shown, this article, I will introduce some formulas for splitting the Email addresses in Excel.

#### Separate Email addresses to usernames and domain names with formulas

In Excel, the LEFT and FIND functions can help you to extract the usernames, the generic syntax is:

=LEFT(email, FIND("@", email)-1)
• email: The Email address or cell contains the Email address that you want to split.

Please copy or enter the following formula into a blank cell where you want to get the result:

=LEFT(A2,FIND("@",A2)-1)

And then, drag the fill handle down to other cells that you want to fill this formula, and all the usernames have been extracted as below screenshot shown:

##### Explanation of the formula:

FIND("@",A2)-1: The FIND function will return the position of the character @ in cell A2, and subtracting 1 means to exclude the @ character. And it will get the result: 10.

LEFT(A2,FIND("@",A2)-1)=LEFT(A2, 10): The LEFT function will extract 10 characters from the left side od cell A2.

##### Extract domain names from Email addresses:

To extract the domain names, the RIGHT, LEN and FIND functions can do you a favor, the generic syntax is:

=RIGHT(email, LEN(email)-FIND("@", email))
• email: The Email address or cell contains the Email address that you want to split.

Please apply the below formula into a blank cell:

=RIGHT(A2,LEN(A2)-FIND("@",A2))

And then, drag the fill handle down to the cells you want to apply this formula, and all domain names have been extracted at once, see screenshot:

##### Explanation of the formula:

FIND("@",A2): The FIND function will return the position of the character @ in cell A2, and it will get the result: 11.

LEN(A2):This LEN function is used to get the number of characters in cell A2. It will get the number 20.

LEN(A2)-FIND("@",A2)=20-11: Subtract the position of the @ character from the total length of the text string in cell A2 to get the number of character after the @ character. This part formula is recognized as the num_chars argument of the RIGHT function.

RIGHT(A2,LEN(A2)-FIND("@",A2))=RIGHT(A2, 9): At last, this RIGHT function is used to extract 9 characters from the right side of the cell A2.

#### Relative functions used:

• LEFT:
• The LEFT function extracts the given number of characters from the left side of a supplied string.
• RIGHT:
• The RIGHT function is used to extract a specific number of characters from the right side of the text string.
• FIND:
• The FIND function is used to find a string within another string, and returns the starting position of the string inside another one.
• LEN:
• The LEN function returns the number of characters in a text string.

#### More articles:

• Separate Octets Of IP Address In Excel
• Have you ever tried to split the IP addresses into separate columns in Excel worksheet? Maybe the Text to Column feature can help you to solve this job quickly, but, this article, I will talk about some formulas for achieving this task in Excel.
• Split Text And Numbers In A Cell In Excel
• Supposing a cell data is mixed with text and numbers, how can you split them into separate column cells? This tutorial is going to show you the detailed steps to get it down with formulas.

### The Best Office Productivity Tools

#### Kutools for Excel - Helps You To Stand Out From Crowd

 🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions… Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ... Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup... Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List... Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Columns to Select Same & Different Cells ... Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ... Top 15 Toolsets:  12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

#### Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

• One second to switch between dozens of open documents!
• Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
• Increases your productivity by 50% when viewing and editing multiple documents.
• Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.