+ Reply to Thread
Results 1 to 6 of 6

Formula to extract only emails from a list of data in excel

  1. #1
    Registered User
    Join Date
    09-23-2012
    Location
    Mumbai
    MS-Off Ver
    Excel 2010
    Posts
    61

    Formula to extract only emails from a list of data in excel

    Hi,

    https://drive.google.com/file/d/0Bzv...it?usp=sharing

    You can download the excel from the above link.

    This excel includes some text data, in each cell there is an email address along with additional text. I only want to get the email addresses from the entire data.

    Hope there is some way of doing this in excel.

    Looking forward for your answers!

  2. #2
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Pune
    MS-Off Ver
    Office 365 (Win 10)
    Posts
    489

    Re: Formula to extract only emails from a list of data in excel

    Will this be helpful?
    Please make the Post as solved, when you get your answer & Click * if you like my suggestion

  3. #3
    Registered User
    Join Date
    09-23-2012
    Location
    Mumbai
    MS-Off Ver
    Excel 2010
    Posts
    61

    Re: Formula to extract only emails from a list of data in excel

    yes... it is really helpful...

    I have managed to remove the text after Gmail.com, now all the cell ends with an email address. Can you give me the formula to extract the emails from each cell from the right.

    I have uploaded the new file here: https://drive.google.com/file/d/0Bzv...it?usp=sharing

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula to extract only emails from a list of data in excel

    I didn't download your file.

    Try this...

    Text strings starting in A2.

    This formula entered in B2 and copied down:

    =TRIM(RIGHT(SUBSTITUTE(LEFT(A2,FIND(" ",A2&" ",FIND("@",A2))-1),
    " ",REPT(" ",LEN(A2))),LEN(A2)))
    Last edited by Tony Valko; 05-05-2014 at 08:22 AM.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Registered User
    Join Date
    09-23-2012
    Location
    Mumbai
    MS-Off Ver
    Excel 2010
    Posts
    61

    Re: Formula to extract only emails from a list of data in excel

    Thanks a lot, but it is also getting some extra characters with the email. Not working

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

    Re: Formula to extract only emails from a list of data in excel

    you have far to many things leading or following the mail addresses
    this should get most of them
    =TRIM(MID(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(" "&A2,CHAR(160)," "),"("," "),")"," "),".."," ")," ",REPT(" ",50)),FIND("@",SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(" "&A2,CHAR(160)," "),"("," "),")"," "),".."," ")," ",REPT(" ",50)))-25,50))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    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

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Formula to extract emails when there is no spaces in the cell
    By nieyasmela in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-10-2013, 07:54 AM
  2. How to use VBA to extract excel files from daily emails from outlook?
    By eajustin15 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-18-2013, 02:38 PM
  3. Does anyone have code to batch extract data from standardised emails [outlook 2010]
    By inciteful in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-18-2013, 03:08 PM
  4. Outlook Macros to extract info from multiple emails, add to excel...
    By bnasty in forum Outlook Programming / VBA / Macros
    Replies: 1
    Last Post: 10-25-2012, 02:23 PM
  5. Send the corresponding row to the list of emails from excel
    By kishoremcp in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-08-2012, 10:19 AM

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