How to copy report filter pages data into one worksheet?

ariannem

New Member
Joined
Sep 28, 2020
Messages
3
Office Version
  1. 2016
Platform
  1. Windows
So I've set up a pivot table with filters and have split my reports into separate worksheets under each filter. What I want is to collect all of the data from each filtered worksheet onto one page so that I can see all of the filtered reports in one place. I've been doing this manually, but there are several filters I need to run, and each filter splits into around ten separate sub-reports. Is there any way to set this up using a macro or some other form of coding?

I've tried GETPIVOTDATA, but everytime I switch to a new filter and split new sub-reports from it, the code resets and becomes #REF!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
With a cell within the Pivot Table active, select PivotTable Analyze, select the Options drop down at the far left under the Pivot Table's name, and select Show Report Filter Pages. This should generate a separate worksheet for every item in the filter.
If you just want to use GETPIVOTDATA formulas, make sure it's checked under Options -> Formulas -> Working with formulas -> Use GetPivotData functions for Pivot Table references. It can also be turned On/Off for individual Pivot Tables in the Options under PivotTable Analyze. Note that you can't just copy GetPivotData functions like you would a regular function because they contain hard coded values rather than cell references that would change when copied.
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,688
Members
448,978
Latest member
rrauni

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top