+ Reply to Thread
Results 1 to 5 of 5

Split content from comma separated variables in a cell and copy information

  1. #1
    Registered User
    Join Date
    12-07-2010
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    15

    Split content from comma separated variables in a cell and copy information

    Please see attached file for input and desired output.

    If there are more than one (could be between 0-15) new numbers in the column new number, I want to split this cell and put the original number in the A-column and copy all data fields so that only one new number exist in each cell in the new number column.

    Anyone know how to do this in an easy way?
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Split content from comma separated variables in a cell and copy information

    Please see attached
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    12-07-2010
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Split content from comma separated variables in a cell and copy information

    I can't seem to get it to work, If I input:
    Please Login or Register  to view this content.
    in sheet1, the result is just the same.
    I want the result to be like this:

    Please Login or Register  to view this content.
    Ah I just saw that this macro works the other way round, I have cells with many numbers that I want to split, not the other way round.
    Sorry if I was unclear
    Last edited by Snajder; 12-06-2012 at 07:37 AM.

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Split content from comma separated variables in a cell and copy information

    Snajder,
    Yes, it was the opposite code. I realised this after I posted the code and just got back to my PC.

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,514

    Re: Split content from comma separated variables in a cell and copy information

    Try this
    Please Login or Register  to view this content.

+ 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