+ Reply to Thread
Results 1 to 7 of 7

Thread: Breaking apart email addresses and sorting

  1. #1
    Registered User
    Join Date
    06-16-2010
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    4

    Breaking apart email addresses and sorting

    I am probably like 99% of those who use Excel - I don't know how to use it, so bare with me.

    I have a CSV list with email addresses. I would like to be able to sort my list by url portion of the email. i.e. johnsmith@smithco.com - I want to be able to sort by the 's' in smithco, not the 'j' in johnsmith. Possible?

    Thanks very much!

  2. #2
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    10,786

    Re: Breaking apart email addresses and sorting

    in another column just put =MID(A1,FIND("@",A1)+1,255) fill down then sort by that column
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and a dabbler in Cisco
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    06-16-2010
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Breaking apart email addresses and sorting

    Thanks for the response! I must not be doing it correctly...I took what you wrote, copied and pasted it into a column, did the fill down, but all its doing is showing the formula in each column nothing happened...the email addresses are in the B column and start in row 2, so I adjusted your "A1" to be "B2", but I didn't assume that would mess anything up? Thanks for the help.

  4. #4
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007, 2010
    Posts
    25,772

    Re: Breaking apart email addresses and sorting

    Format the column with the formula as Number, and try again.
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Registered User
    Join Date
    06-16-2010
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Breaking apart email addresses and sorting

    Embarrassing...but I am not sure how to do what you are suggesting with formatting the column. Is there anyway to spell this out some so that I may be able to figure it out? Thanks for the patience.

  6. #6
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    10,786

    Re: Breaking apart email addresses and sorting

    if you put =a1 in a spare column and drag down does the same thing happen i.e does it still show just the formulas? its possible the cells were formatted text before you entered formulas
    quick fix is to select column with formulas in
    then
    select the data tab
    click text to columns
    the convert text to columns window will open
    just click finish
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and a dabbler in Cisco
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  7. #7
    Registered User
    Join Date
    06-16-2010
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Breaking apart email addresses and sorting

    Got it to work - very cool. Thanks everyone!

+ 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.2.0