+ Reply to Thread
Results 1 to 8 of 8

splitting data from a cell into different cells

  1. #1
    Forum Contributor
    Join Date
    07-25-2008
    Location
    texas
    Posts
    178

    splitting data from a cell into different cells

    I have a column that has data with multiple values seperated by commas. I need to seperate out the values and add them to a new column.

    Example:

    Column A
    good, cheap, fast
    slow
    good
    cheap
    cheap,good



    I would like them to be added to column B as:
    good
    cheap
    fast
    slow
    good
    cheap
    cheap
    good
    Last edited by jartzh; 01-23-2009 at 11:22 AM.

  2. #2
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    See if this works for you:

    Please Login or Register  to view this content.
    HTH

    Jason

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531
    An alternative based entirely upon Jason's routine but that uses Application.Transpose to return the Array in one go

    Please Login or Register  to view this content.
    Last edited by DonkeyOte; 01-22-2009 at 05:34 PM.

  4. #4
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Good one, Donkey.

  5. #5
    Forum Contributor
    Join Date
    07-25-2008
    Location
    texas
    Posts
    178
    You guys are amazing.
    This works perfectly.

    Thanks

  6. #6
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Glad it helped. Please mark the thread solved.

    Jason

  7. #7
    Forum Contributor
    Join Date
    07-25-2008
    Location
    texas
    Posts
    178
    Jasoncw,
    How do I mark this as SOLVED?

  8. #8
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    If you click on the How To drop down at the top of the forum, it tells you.

    To mark your thread solved do the following:
    - Go to the first post
    - Click edit
    - Click Advance
    - Just below the word "Title:" you will see a dropdown with the word No prefix.
    - Change to Solve
    - Click Save

+ 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