Skip to content

Instantly share code, notes, and snippets.

@mdavy86
Forked from leeogrady/Reverse Pivot in Excel
Created November 16, 2016 00:38
Show Gist options
  • Save mdavy86/2130c91b19eaf6a3a57e32c01a2acda3 to your computer and use it in GitHub Desktop.
Save mdavy86/2130c91b19eaf6a3a57e32c01a2acda3 to your computer and use it in GitHub Desktop.
Covert Wide table to Long...
- Click anywhere within the data table
- Hit the key combination Alt - d - p to bring up the Pivot Table Wizard (which is not on the ribbon)
- Select "Multiple consolidation ranges" and click Next
- Select "I will create the page fields" and click Next
- Select your data table (in the example it's A1:E11) and click Next
- Select the location and click Next
Now you will see a pivot table that looks just like your data table
- Click the Pivot table and in the field list uncheck Row and Column (and uncheck any Page Field, if present)
- Now select the cell with the single remaining total number and double click it.
The result is a new sheet with your data laid out one item per row.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment