+ Reply to Thread
Results 1 to 4 of 4

Transposing Data from Horizontal to Vertical

  1. #1
    Registered User
    Join Date
    11-16-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    1

    Question Transposing Data from Horizontal to Vertical

    I currently have a spreadsheet that is 1 row per user with their data entered in columns.

    Example:

    User 1 Value 1 Value 2 Value 3
    User 2 Value 1 Value 2 Value 3


    How can I get the data to display as:
    User 1 Value 1
    User 1 Value 2
    User 1 Value 3
    User 2 Value 1
    User 2 Value 2
    User 3 Value 3


    Thank you in advance!

  2. #2
    Forum Contributor Steve N.'s Avatar
    Join Date
    12-22-2011
    Location
    USA
    MS-Off Ver
    Excel 2007, 2010
    Posts
    298

    Re: Transposing Data from Horizontal to Vertical

    Can you attach a sample spreadsheet? How many users and values are you working with?

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

    Re: Transposing Data from Horizontal to Vertical

    You can try this macro which will begin pasting the results in A20.

    Please Login or Register  to view this content.
    Place in normal module
    • Highlight macro to copy >> Ctrl + C >> Open your workbook
    • Alt + F11 >> opens the Visual Basic Editor (VBE)
    • Ctrl + R >>opens the Project Explorer (if not already open on left side of screen)
    • Insert menu >> Module or Alt + I, M >> activates the Insert menu and inserts a Standard Module
    • Paste code >> Ctrl + V (right side of screen)
    • Alt + Q >> exits VBE and returns to Excel
    • Back in Excel to run the macro >> Alt + F8 >> Macro Dialog Box >> Highlight macro >> Run
    Attached Files Attached Files
    Last edited by jeffreybrown; 11-16-2012 at 07:56 PM.
    HTH
    Regards, Jeff

  4. #4
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Transposing Data from Horizontal to Vertical

    See the attached
    Attached Files Attached Files

+ 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