How to Pivot a Pivot

pivot table in Microsoft ExcelFor those with nice clean simple datasets to work with, this might seem like a silly thing to want to do. For those of us who deal with some monster-sized data exports, this could solve so many problems. While you can’t EXACTLY pivot a pivot, in Excel 2010 you can create a data subset with a Pivot Table that can be copied, pasted and “re-pivoted” in just a few clicks.

  1. Create a Pivot table from your large data set. Select all the fields you’d like to include in your subset. Don’t worry about where the fields land in the Layout Area.
  2. Now, from the Design tab, in the Layout group, click Report Layout and choose Show in Tabular Form.
  3. Drag any fields in the Values area of the Layout to Row Labels. Be sure the order of the fields is what you’d like to see in your data subset.
  4. Again, from the Design tab, in the Layout group, click Report Layout and choose Repeat All Item Labels.
  5. Filter any fields you wish to reduce the number of records to only what you’d like to see in your data subset.
  6. Finally, we’ll clean it up by removing all Subtotals and Grand Totals with the two buttons to the left of Report Layout.

What you should have left is a good representation of your new data subset. Now, just select all your data (try Ctrl+A), copy (Ctrl+C) and paste values to a new worksheet.