+ Reply to Thread
Results 1 to 9 of 9

Creating multiple rows from one row with multiple columns

  1. #1
    Registered User
    Join Date
    05-01-2011
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2010
    Posts
    9

    Creating multiple rows from one row with multiple columns

    Hi I have been searching your posts and found a VBA post to split one row into multiple rows, however I need something that will return a little different results. I am looking for some help with this.

    I have uploaded my sample data with a data tab and a result tab.

    I would like to copy specific columns until the entire row is copy down (basically in a database format), along with the headings copying down in the last column.

    I hope someone could help me.
    Thanks for your help
    UPLOADTEST1.xlsm

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

    Re: Creating multiple rows from one row with multiple columns

    Try
    Please Login or Register  to view this content.

  3. #3
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Creating multiple rows from one row with multiple columns

    @ jindon,

    Nice as always!

    But your Code copies the Results 18 times instead of only once?
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

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

    Re: Creating multiple rows from one row with multiple columns

    Quote Originally Posted by Winon View Post
    @ jindon,

    But your Code copies the Results 18 times instead of only once?
    I don't know what you mean but I read the problem as my result.

  5. #5
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Creating multiple rows from one row with multiple columns

    @ jindon,

    What I am trying to say is that your Code Copies the Results over and over down to Row 127 instead of down to Row 8 only.

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

    Re: Creating multiple rows from one row with multiple columns

    7 (column E to K) * 18 (rows) makes 126 rows + heading = 128

    That's how I read the problem

  7. #7
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Creating multiple rows from one row with multiple columns

    @ jindon,

    Sorry jindon,

    You are right.

    I did not notice the OP gave us a short example of the Results he is after.

    Your Code is flawless!

  8. #8
    Registered User
    Join Date
    05-01-2011
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Creating multiple rows from one row with multiple columns

    Thank you so much it worked
    Last edited by katkins0429; 03-10-2013 at 03:23 AM. Reason: SOLVED

  9. #9
    Registered User
    Join Date
    05-01-2011
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Creating multiple rows from one row with multiple columns [SOLVED]

    Thank you again for this code.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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