+ Reply to Thread
Results 1 to 9 of 9

Transpose Columns to Rows (automatically inserts new rows)

  1. #1
    Registered User
    Join Date
    04-28-2012
    Location
    Manila,Philippines
    MS-Off Ver
    Excel 2007
    Posts
    6

    Unhappy Transpose Columns to Rows (automatically inserts new rows)

    Hi, I am new here and complete amazed how macro's can make life so much easier but I just can't seem to understand the codes (no programming knowledge).

    I would like to have the sports column to be transposed as rows. I have provided a sample file below.

    I can do the job manually by
    1. Adjust the other columns (C D E) to about 20 columns away.
    2. Use data to columns (delimited by ";").
    3. Insert 20 additional rows in between the existing rows.
    4. Copy the sports.
    5. Special Paste> Transpose.
    6. Move on to the next item and repeat 1-5.
    7. After finishing, I just use ASAP Utilities to delete the empty rows.

    The thing is my file is composed of almost 20k entries and repeating the process would take time.
    Can anyone help me with this matter?
    It will be surely appreciated. Thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Transpose Columns to Rows (automatically inserts new rows)

    hi kichkichkich, welcome to ExcelForum, please check attachment, run code "test"

    PS. I'm not sure I understand 7th step, what empty rows are deleted
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-28-2012
    Location
    Manila,Philippines
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Transpose Columns to Rows (automatically inserts new rows)

    Quote Originally Posted by watersev View Post
    hi kichkichkich, welcome to ExcelForum, please check attachment, run code "test"

    PS. I'm not sure I understand 7th step, what empty rows are deleted
    wow! this is great! Thank you for your help <3

  4. #4
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Transpose Columns to Rows (automatically inserts new rows)

    if you notice there are two codes there: one with formating as in output sheet and one without (blocks without thick border around)

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Transpose Columns to Rows (automatically inserts new rows)

    Please take a few minutes and read the Forum Rules about cross posts.

    Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere.

    It is preferred that you not cross-post at all, but if you do, please provide a link to the cross-post
    Last edited by jeffreybrown; 04-28-2012 at 04:28 AM.
    HTH
    Regards, Jeff

  6. #6
    Registered User
    Join Date
    04-28-2012
    Location
    Manila,Philippines
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Transpose Columns to Rows (automatically inserts new rows)

    Yes I have seen it and thank you, grrr I badly need to know how to use these codes
    Thanks again .

  7. #7
    Registered User
    Join Date
    04-28-2012
    Location
    Manila,Philippines
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Transpose Columns to Rows (automatically inserts new rows)

    Hi, Sorry but this is the first forum which I posted this question so I wasn't able to link the other forums.
    As a response, here are the other links
    http://www.mrexcel.com/forum/showthr...=1#post3135443
    http://www.ozgrid.com/forum/showthre...446#post606446

    Thank you

  8. #8
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Transpose Columns to Rows (automatically inserts new rows)

    Quote Originally Posted by kichkichkich View Post
    I badly need to know how to use these codes
    Thanks again .
    Well with three choices to pick from now you got some learning ahead

  9. #9
    Registered User
    Join Date
    04-28-2012
    Location
    Manila,Philippines
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Transpose Columns to Rows (automatically inserts new rows)

    Quote Originally Posted by jeffreybrown View Post
    Well with three choices to pick from now you got some learning ahead
    Yes sir

+ 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