+ Reply to Thread
Results 1 to 7 of 7

Spliting data in the same cell

  1. #1
    Forum Contributor
    Join Date
    03-16-2009
    Location
    NC
    MS-Off Ver
    Office 2016
    Posts
    164

    Spliting data in the same cell

    Hello everyone,

    It has been awhile since last I have done this, but how do you split a data in the same cell. For example, I have "Smith, John" in the same cell, and I want to get "Smith" and "John" in two different cells.

    Thanks!
    Last edited by sentinela; 03-24-2009 at 10:27 AM.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Spliting data in the same cell

    Hi,
    try Data - Text to columns and use the comma as delimiter

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,627

    Re: Spliting data in the same cell

    Or try

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    03-16-2009
    Location
    NC
    MS-Off Ver
    Office 2016
    Posts
    164

    Re: Spliting data in the same cell

    Thanks for the help.

    zbor, I couldn't quite get your formula. Although arthurbr's way is a little longer, I think I am going for that. I guess it is simpler.

    Thanks anyway.

  5. #5
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Spliting data in the same cell

    Sentinela, why do you think the Text to columns solution is longer ?
    You can apply it to an entire column, and with a couple of clicks it's ok.
    Of course if values are added regularly, you would have to do it each time, while in that case zbor's solution would be easier

  6. #6
    Forum Contributor
    Join Date
    03-16-2009
    Location
    NC
    MS-Off Ver
    Office 2016
    Posts
    164

    Re: Spliting data in the same cell

    Arthurbr,
    Thanks for all the help.

    Unfortunately my data is not all in one column. I have couple breaks in the data with headings in the middle of the document. But, I have done your way, and it worked just fine.

    I appreciated your help.

  7. #7
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Spliting data in the same cell

    Pleasure, and thx for indicating your thread as solved

+ 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