Use Excel pivot table as data source for another Pivot Table

16

I have a Pivot table in excel that is using a raw table as its data source. This pivot table is doing a bunch of grouping and summing of rows.

I'd like to now use the result of this new pivot table as the data source for a new pivot table which will further modify this data.

Is this possible with excel? I suppose you could call it 'nested pivot tables'

This question is tagged with excel pivot-table

~ Asked on 2013-12-02 16:30:40

The Best Answer is


16

In a new sheet (where you want to create a new pivot table) press the key combination (Alt+D+P). In the list of data source options choose "Microsoft Excel list of database". Click Next and select the pivot table that you want to use as a source (select starting with the actual headers of the fields). I assume that this range is rather static and if you refresh the source pivot and it changes it's size you would have to re-size the range as well. Hope this helps.

~ Answered on 2014-02-26 17:49:58


10

  • Make your first pivot table.

  • Select the first top left cell.

  • Create a range name using offset:

    OFFSET(Sheet1!$A$3,0,0,COUNTA(Sheet1!$A:$A)-1,COUNTA(Sheet1!$3:$3))

  • Make your second pivot with your range name as source of data using F3.

If you change number of rows or columns from your first pivot, your second pivot will be update after refreshing pivot

GFGDT

~ Answered on 2017-01-22 23:04:59


Most Viewed Questions: