Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in


How to extract domains from multiple email addresses in Excel?

If you have a list of customer email addresses in your worksheet, and now you want to extract their domain names from the cells separately (see following screenshots). How could you quickly deal with this problem in Excel?

doc-extract-domains1 -2 doc-extract-domains2

Extract domains from email addresses with Function

Extract domains from email addresses with Text to Columns

Extract domains from email addresses with Kutools for Excel

Split Email addresses to username and domain into separated columns:

With Kutools for Excel’s Split Cells feature, you can quickly split the cell contents to multiple columns and rows based on a specific separator as you need.


Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!

Using this mixed Mid and Search function, you can quickly get the domain names from the list, please do as this:

1. In a blank cell C1, enter this formula =MID(A1,SEARCH("@",A1)+1,255), see screenshot:


Note: In the above formula, 255 is just a large number to make sure you get the whole domain.

2. Press Enter key and select cell C1, then drag the fill handle over to the range that you want to contain this formula. And the domains have been extracted from the cells, see screenshot:


Except the formula, you can also get the domains from cells with Text to Columns feature in Excel.

1. Select the range that you want to extract the domains.

2. Click Data > Text to Columns, see screenshot:


3. In the Convert Text to Columns Wizard, check Delimited option in Step 1.


4. And click Next button, in Step 2, check Other option under Delimiters, and in the Other text box, enter the character @. See screenshot:


5. Go on Next, and in Step 3, check General from Columndata format.


6. At last, click Finish button, and the domains have been split from the cells, see screenshot:


Note: With this method, the original data will be destroyed, you'd better back up a copy of the data at first.

If you are interested in some powerful add-ins for Excel, Kutools for Excel’s Split Cells feature can help you to extract domains from the email addresses.

Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 60 days. 

After installing Kutools for Excel, please do as follows:

1. Select the email addresses that you want to extract the domains.

2. Click Kutools > Text > Split Cells, see screenshot:


3. In the Split Cells dialog box, do the following operations:

(1.) Choose Split to Columns option under the Type section;

(2.) Click Other option under the Split by section, and then enter the @ character into the text box.


4. Then, please click OK button, and in the popped out box, select a cell where you want to output the result, see screenshot:


5. Then click OK, and all the domains of the email addresses have been split out.  See screenshot:


Download and free trial Kutools for Excel Now !

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!

Related article:

How to quickly extract email address from text string?

Excel Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 70%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 80% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.