+ Reply to Thread
Results 1 to 4 of 4

Split column value from Sheet1 and insert as row in sheet2

  1. #1
    Registered User
    Join Date
    01-24-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2

    Split column value from Sheet1 and insert as row in sheet2

    Hi,

    I am new to excel macro programming and need help to get rid of below requirement. Any help would be really appreciable...

    I have a comma separated data inserted in single column (A) of my worksheet (sheet1) in my excel workbook. I want to split the data based on the delimiter (,) and want to create new rows of the splitted data in another worksheet (sheet2) of my workbook.

    For example,

    Sheet1 of excel can have data till Nth Row. Raw data looks like.... (In Sheet1, Column A)

    Row1 - Cricket,Baseball,Chess
    Row2 - Football,Foosball,Hockey
    .
    .
    .
    RowN - Blah,Blah,Blah

    And output data should look like... (In Sheet2, Column A)
    Cricket
    Baseball
    Chess
    Football
    Foosball
    Hockey
    Blah
    Blah
    Blah

    Hope I was able to explain my need.

    Please check the attached excel for example raw and output data. Click here Test.xls


    Thanks in advance!
    Last edited by gupta1vipin; 01-24-2013 at 12:08 PM. Reason: Attachment added

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

    Re: Split column value from Sheet1 and insert as row in sheet2

    Try this one

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-24-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Split column value from Sheet1 and insert as row in sheet2

    Thanks a ton AB33 for quick solution. Macro is working perfectly fine.

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

    Re: Split column value from Sheet1 and insert as row in sheet2

    You are welcome!

+ 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