Home
Challenges
Extract Email Domains
Cleanup
Easy

Extract Email Domains

An Excel email list mixes different domains, and you need to pull the provider or company part from each address.

AuthorExcelClash Team
PublishedApr 02, 2026
Extract Email Domains

The Problem

Email addresses contain useful information, but it is buried inside one long text string. If you want to group contacts by company or mail provider, the part you really need is the domain after the @ sign.

Reading those domains by eye works on a tiny list, but it gets clumsy fast. This challenge is about extracting the domain into its own column so the list becomes easier to count, filter, and summarize.

How We Solve It

The key step is finding the @ sign. Once we know its position, we can return everything to the right of it or remove everything before it. Both approaches work, and the challenge accepts formulas built around that logic.

Method 1: MID with FIND

Mid Extract Illustration
Method 1: Start after the @ sign and return the remaining text.

This is the formula used in the solution. FIND locates the @, then MID starts one character later and returns the rest of the email. It is dependable because the username can be any length and the formula still finds the right starting point.

This solves the challenge directly because the worksheet needs everything after the @ sign in its own column. Once the starting position is known, MID can pull the domain cleanly no matter how long the username is.

=MID(A2,FIND("@",A2)+1,LEN(A2))

Method 2: RIGHT with a length calculation

Right Extract Illustration
Method 2: Use RIGHT after calculating how many characters come after the @ sign.

This version works from the other side. First it calculates how many characters are to the right of the @, then RIGHT returns exactly that many. It is a nice option when you like formulas that describe the domain as the ending segment of the text.

This solves the same problem with a different angle. Instead of choosing where to begin, it measures how much text belongs to the domain and then returns that ending piece from the right side of the email.

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

Method 3: Delete the front part with REPLACE

Replace Cleanup Illustration
Method 3: Remove everything up to and including the @ sign.

Another way to think about the task is not to extract the domain but to delete the username. REPLACE can do that by replacing everything from the first character through the @ with an empty string.

This solves the challenge by removing the part we do not want instead of building the part we do. That can feel more natural when the username is just noise and the real goal is to leave only the domain behind.

=REPLACE(A2, 1, FIND("@", A2), "")

Function Explanation

1. FIND

FIND returns the position of a character or text fragment inside another string. Here it tells the rest of the formula where the domain begins.

Learn more this functionFIND

2. MID

MID returns text starting from a position you choose. Combined with FIND, it becomes a flexible way to isolate the domain from each email.

Learn more this functionMID

3. REPLACE

REPLACE swaps part of a string based on position. In this case it removes the part we do not need, leaving the domain behind.

Learn more this functionREPLACE

After extraction, the next useful step is usually a summary such as a unique count or a grouped report by domain. That is why this challenge ends with a unique-domain total.

Try Yourself

Extract the domain from each email in column A, then finish the summary so the sheet shows the total number of emails and how many unique domains appear in the list.

1
Objective #1
Cell: B2-B6

In Column B, use a formula to isolate everything after the "@" symbol from Column A.

2
Objective #2
Cell: B9

In cell B9, count the total number of emails in your subscriber list.

3
Objective #3
Cell: B10

In cell B10, identify the number of unique domains identified (Assume no blanks).

Tactical Arena
Objectives Met: 0 / 0
Share this challenge
Share this challenge

Let others know about this challenge!

Related Challenges
Cleanup
#7
Format Phone Numbers

An Excel contact list stores raw digits, and you need to turn them into a phone format that is easier to read.

Easy
Cleanup
#8
Check for Matching Passwords

An Excel signup sheet has repeated password entries, and you need to confirm both fields match exactly before approval.

Easy
Analysis
#9
Calculate Sales Tax

An Excel price sheet stores net amounts, and you need to add tax correctly and show final totals from one shared rate.

Easy
Analysis
#10
Identify Overdue Invoices

An Excel invoice tracker stores due dates and payment status, and you need to flag which unpaid rows are already overdue.

Easy
Discussion
0 Feedbacks
ExcelClash

ExcelClash is an interactive platform designed to level up your Excel skills through real-world exercises and challenges. Sharpen your logic, solve real spreadsheet problems, and learn faster—without boring lessons. Just hands-on practice that actually sticks.

Navigation
Back to Challenges
Go to Dashboard
Platform Home
Discover
SUM FunctionsLookup FunctionsConditional FunctionsLogical Functions
Support
About UsContact UsPrivacy PolicyTerms of Service
© 2026 ExcelClash, Inc. All rights reserved.
Objectives Met: 0 / 0