+ Reply to Thread
Results 1 to 3 of 3

How do I separate cell contents into 2 cells using a comma as the marker?

Hybrid View

  1. #1
    Registered User
    Join Date
    02-27-2008
    Posts
    44

    How do I separate cell contents into 2 cells using a comma as the marker?

    e.g.
    one cell shows
    lastname, firstname

    and I want to break it out into 2 separate cells with lastname in one and firstname in the other......

    any suggestions?

    thanks!
    jo

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606
    Try Data > Text to Columns > Delimited > Select comma > Finish.

  3. #3
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hi,

    You can do that with a formula in B1

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

    and in C1

    =TRIM(REPLACE(A1,1,FIND(",",A1&","),""))
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

+ 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