+ Reply to Thread
Results 1 to 5 of 5

Sort Email by domain and move domain group to new list

  1. #1
    Registered User
    Join Date
    01-06-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    2

    Sort Email by domain and move domain group to new list

    Hello, I have a long list of contacts that I have on a spreadsheet. I want to sort the list by domain, then transfer the different domain group to a separate list. All of the email address are in column A
    Example:
    [email protected]
    [email protected]
    [email protected]
    ect. ect.
    I hope I explained this so you understand what I am trying to accomplish
    Thanks for your help.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Sort Email by domain and move domain group to new list

    I know this isnt what you asked, but have tou considered using filters? you can use a text filter/ends with. alternatively, in a helper column, add this, copied down...
    =MID(A1,SEARCH("@",A1,1)+1,99)

    you canthen either sort based on the helper, or filter based on the helper
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,704

    Re: Sort Email by domain and move domain group to new list

    In B1 type this formula and copy down.

    =MID(A1,FIND("@",A1,1)+1,LEN(A1)-FIND("@",A1,1)-4)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    01-06-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Sort Email by domain and move domain group to new list

    Thanks FDibbins, but I am too new to this to understand what your asking me to try. I have done a filter to "find @yhoo.com and found all the email from yhoo domain, but do not know how to move them to another workbook.
    as a group.

    Also don't understand code tags,

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Sort Email by domain and move domain group to new list

    the code tags only apply if you are pasting VBA code, so dont worry about that.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1