Jun 05 2019 01:41 PM
I have a column of e-mail addresses currently sorted by first name in the address. How do I sort that column by the first letter of the name that appears after the @ sign [i.e., by company name]?
Jun 05 2019 01:50 PM
Jun 06 2019 10:23 AM
Jun 06 2019 10:43 AM
Jun 06 2019 11:10 AM
@Gellison You can use flash fill to extract the domain name in an adjacent column, then use that to sort by. To do this, assuming your email addresses are in column A (can be wherever), in column B you'd just type out the entire domain name. Excel will recognize this. Go to the next cell and start typing the domain name. As soon as Excel recognizes the pattern, it will fill in the range with light gray text of all matching records. When it looks good, confirm with ENTER.
The above is opposed to entering a formula manually. In which case I'd use a formula like:
=RIGHT(A1,LEN(A1)-FIND("@",A1))