+ Reply to Thread
Results 1 to 5 of 5

Splitting a comma seperated name into two fields

Hybrid View

  1. #1
    Registered User
    Join Date
    05-10-2013
    Location
    london
    MS-Off Ver
    Excel 2010
    Posts
    68

    Splitting a comma seperated name into two fields

    Hi, have been reading through the with Dummies book, but cannot find an answer to this, probably due to not understanding the process name

    I have the following in cell A1 "Smith, John"

    I would like to split this into two cells, John (B1) and Smith (C1)

    Any help greatly appreciated

    Thanks
    Heath

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Splitting a comma seperated name into two fields

    Perhaps.

    =LEFT(A1,FIND(" ",A1)-1)

    =MID(A1,FIND(" ",A1)+1,255)
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Splitting a comma seperated name into two fields

    You said separeted by comma...

    =LEFT(A1,FIND(",",A1)-1)

    =MID(A1,FIND(",",A1)+1,255)

  4. #4
    Registered User
    Join Date
    05-10-2013
    Location
    london
    MS-Off Ver
    Excel 2010
    Posts
    68

    Re: Splitting a comma seperated name into two fields

    Thank you.

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Splitting a comma seperated name into two fields

    You are welcome and thanks for the feed back.

    As that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thank you.

+ 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