+ Reply to Thread
Results 1 to 5 of 5

extract or sort on part of an email

  1. #1
    Registered User
    Join Date
    04-21-2009
    Location
    canada
    MS-Off Ver
    Excel 2003
    Posts
    2

    extract or sort on part of an email

    Greetings all. I have used excel often, but am FAR from being proficient at it. What I have to accomplish is to edit a really long list of email addresses. I need to extract emails with certain parameters after the @ symbol. For instance - extract all emails that contain .on.ca. I have no idea how to do this. I have been hand editing the list but I'm going CRAZY.

    Any help MOST appreciated.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: extract or sort on part of an email

    =If(isnumber(search(".on.ca",A1)),A1,"") copied down... adjust reference to suit.

    copied down will extract all emails that have .on.ca in it to the column the formula is in.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    06-28-2007
    Posts
    69

    Re: extract or sort on part of an email

    If you have multiple items that you are searcing for you can extract the characters after the "@" using:

    =MID(A4,FIND("@",A4)+1,30)

    Then sort/find etc.

  4. #4
    Registered User
    Join Date
    04-21-2009
    Location
    canada
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: extract or sort on part of an email

    Awesome and quick response. Thank you.

    I got the formula entered properly, and an getting a#VALUE response. I really don't know much about excel - where in the formula do I select a range of cells to sort on, I start at A1 and go to A20643? What is #VALUE telling me?

    Thanks again.

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: extract or sort on part of an email

    Which formula are you using?

    You only enter one cell reference such as A1 and then copy the formula down.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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