+ Reply to Thread
Results 1 to 3 of 3

Reformat a vertical data set to a horizontal table

  1. #1
    Registered User
    Join Date
    06-03-2009
    Location
    Baltimore, USA
    MS-Off Ver
    Excel 2003
    Posts
    1

    Reformat a vertical data set to a horizontal table

    I have a spreadsheet that I need to reformat into a more usable format. The spreadsheet shows each employee #, then the type of deduction, then the amount. Currently, the data is in rows and each employee number is listed multiple times. I would like to reformat it so that each employee number is on one row, with amounts being in separate columns.

    I have attached a sample (this is not real data, my actual spreadsheet has 6,800 rows).

    I haven't had any luck using the TRANSPOSE option, and when I do a Pivot table, Excel wants to analyze the data (ie- sum, count, etc), rather than show the actual data. There is probably an easy solution, but I have not been able to find it.

    THANK YOU TO ANYONE WHO CAN HELP.
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Reformat a vertical data set to a horizontal table

    I would advise INDEX approach, eg to replicate Sheet1!B5:D16 in your preferred format on Sheet2

    A2: =INDEX(Sheet1!$B$5:$B$16,1+(3*(ROWS(A$2:A2)-1)))
    copy down to A5

    B2: =INDEX(Sheet1!$D$5:$D$16,COLUMNS($B2:B2)+(3*(ROWS(B$2:B2)-1)))
    copy across matrix B2:D5

+ 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