Skip to main content

How to extract domains from multiple email addresses in Excel?

Author: Xiaoyang Last Modified: 2024-10-21

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?

A screenshot showing email addresses in an Excel worksheet Arrow A screenshot showing extracted domains from email addresses in Excel

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


Extract domains from email addresses with Function

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:

A screenshot showing the formula used to extract domains from email addresses in Excel

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:

A screenshot showing extracted domains using a formula


Extract domains from email addresses with Text to Columns

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:

A screenshot showing the Text to Columns option in the Excel Data menu

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

A screenshot showing the Convert Text to Columns Wizard - Step 1 of 3

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

A screenshot showing the Convert Text to Columns Wizard - Step 2 of 3

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

A screenshot showing the Convert Text to Columns Wizard - Step 3 of 3

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

A screenshot showing domains extracted using Text to Columns in Excel

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


Extract domains from email addresses with Kutools for Excel

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 offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Itegarate with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...         Free trial...

After installing Kutools for Excel, please do as follows:

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

2. Click Kutools > Merge & Split > Split Cells, see screenshot:

A screenshot showing the Split Cells option on the Kutools tab on the ribbon

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.

A screenshot showing the Split Cells dialog 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:

A screenshot showing the cell selection for output

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

A screenshot showing the final result of domain extraction using Kutools

Kutools for Excel - Supercharge Excel with over 300 essential tools. Enjoy permanently free AI features! Get It Now


Demo: Extract domains from email addresses with Kutools for Excel

Kutools for Excel: Over 300 handy tools at your fingertips! Enjoy permanently free AI features! Download Now!

Related article:

How to quickly extract email address from text string?

Best Office Productivity Tools

🤖 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 Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create 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 Ranges & Columns ...
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 Toolsets12 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 Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!