How do I sort by domain for email addresses in an Excel file?

How do I sort by domain for email addresses in an Excel file?

To sort email addresses by domain, follow these steps:

Create a duplicate of the Excel file.

Start the copy of the file and click on the column to the right of the column formulated with the email addresses.

Right click the column you just outlined and select Insert. This creates a blank column that you will require later. Duplicate this step so that there are two blank columns when you are done.

Duplicate the email ID column and paste it into the 1st blank column you just produced. (This will give you a column to sort while still protecting the original column of addresses.)


  1. Now click on the column that contains the copied email addresses.
  2. Click Data > Text to Columns.
  3. Select Delimited and click Next.
  4. Make sure the only box checked is Other and enter the @ symbol in the box.
  5. Click Finish.
  6. A window will pop up inquiring if you want to replace the contents of the selected cells. Pick OK.
  7. Note: The email addresses are now separated into 2 columns. The first one contains the information before the @ symbol. The second one includes the important information after the @ symbol, which is the domain.
  8. Save the file.
  9. Click Data > Sort.
  10. Choose the column title you need to sort (the one that contains the domains) and select how you want it sorted (for example A – Z).
Try out Benchmark Email Software
Latest Comments
  1. softwares

    Hello mate, very nice and informative article you have shared with all of us. I appreciate your efforts. Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *