Skip to playerSkip to main content
  • 5 months ago
Learn how to get the unique mail server domain name with this simple formula.
Essentially this is how you extract domain name from e-mail address in Excel. Or in other words, Split e-mail address in Excel? Some people like to ask how to extract e-mail address from excel column. Or extract domain from e-mail.


If you're using Microsoft 365, there are additional functions available that can further simplify the process of obtaining a unique mail server domain name. Alongside the CONCATENATE function, you can leverage the TEXTAFTER and UNIQUE functions to generate distinct domain names effortlessly.

The TEXTAFTER function allows you to extract specific text after a given delimiter, such as a dot or an underscore, from an existing domain name. This function is particularly useful when you have a list of domain names and want to extract the unique portions to create new combinations. By combining TEXTAFTER with the CONCATENATE function, you can easily merge these extracted elements with other desired prefixes or suffixes to generate unique domain names.

In addition to TEXTAFTER, the UNIQUE function plays a crucial role in ensuring the uniqueness of the domain names. This function eliminates any duplicates from a list of values, allowing you to work with only the unique entries. By applying the UNIQUE function to your list of domain names, you can avoid repetition and ensure that each generated domain name is distinct.

By combining the CONCATENATE function with TEXTAFTER and UNIQUE, Microsoft 365 users have access to a powerful set of tools within Excel. These functions enable the creation of unique mail server domain names swiftly and efficiently, providing a seamless solution for both personal and professional purposes.

Here's the formula that's being used in my video.

Get Mail Server Domain Name
=TEXTAFTER(A2:A205,"@")

Get Unique Mail Server Domain Name
=UNIQUE(TEXTAFTER(A2:A205,"@"))
Transcript
00:00Let's say you have a collection of email address like this here, which are fictitious by the way.
00:05How do you extract the domain name or the email domain name?
00:09No, no, let's make it more challenging.
00:11How do you extract a unique email domain name for the purpose of maybe email filtering and organizing?
00:17Or maybe data analytics and statistics and or for the purpose of security and fraudulent detection?
00:23Whatever the reason it is, here are the steps on how you can do it.
00:27The first thing to do is to extract the email domain name for all this email that you can do by using a function called text after.
00:35The first argument was text after would be the complete data set of email address.
00:40The second argument here would be the add symbol.
00:44So to get any text after the add.
00:46And if you hit enter here, it would create an array of all the domain name from every email here.
00:52But what we want is a unique.
00:53So what we're going to do is surround it, this text after function called by, a function called unique.
01:01Like this.
01:03And if you hit enter, you'll only get the unique email domain name address.
01:08Just like that.
Be the first to comment
Add your comment

Recommended