+ Reply to Thread
Results 1 to 4 of 4

Separate two email addresses in one cell

  1. #1
    Registered User
    Join Date
    04-14-2013
    Location
    Arizona, USA
    MS-Off Ver
    Excel 2003
    Posts
    12

    Separate two email addresses in one cell

    Hello Excel Experts! I have been all over the forum with various keyword searches and all I have come up with as an answer to my question doesn't answer my need for a formulaic approach to this problem (e.g., Data > Text to Columns is manual and I need formulaic). I would have thought this to be easy, but based on my searches, it's been elusive. Your help will be greatly appreciated.

    All I need to do is - with a formula - take two email addresses separated by a semi-colon in one cell and extract them both individually into two separate cells.

    Could you help? Thank you!

  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
    52,917

    Re: Separate two email addresses in one cell

    Hi and welcome to the forum

    Assuming your data is in A1, for the B1 use this...=LEFT(A1,SEARCH(";",A1,1)-1)
    for C1 use this...=MID(A1,SEARCH(";",A1,1)+1,99)
    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
    Registered User
    Join Date
    04-14-2013
    Location
    Arizona, USA
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Separate two email addresses in one cell

    Thank you FDibbins! This works very well and can be easily modified to include a function to ensure a second email actually exists before using the MID function. I appreciate the quick response! Thank you.

  4. #4
    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
    52,917

    Re: Separate two email addresses in one cell

    Happy to help and thanks for the feedback

+ 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