+ Reply to Thread
Results 1 to 3 of 3

Need macro help with transposing columns to rows and repeat a row value multiple times

  1. #1
    Registered User
    Join Date
    01-10-2012
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2010
    Posts
    3

    Need macro help with transposing columns to rows and repeat a row value multiple times

    Hi guys,

    I've got a larger spreadsheet that I am having trouble writing a macro to transpose columns into rows. Please see the attached xls file. I've got two sheets, a "current" sheet and then an "expected" one.

    Thanks in advance for your help.Transpose.xlsx

  2. #2
    Valued Forum Contributor StevenM's Avatar
    Join Date
    03-23-2008
    Location
    New Lenox, IL USA
    MS-Off Ver
    2007
    Posts
    910

    Re: Need macro help with transposing columns to rows and repeat a row value multiple times

    Copy this code to a standard module (if you don't know how, just ask).
    Run: CreateData (with your "Current" worksheet active).
    This macro creates a new worksheet with the results.

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-10-2012
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Need macro help with transposing columns to rows and repeat a row value multiple times

    Thank you so much! It works great!

+ 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