Opposite Pivot Table Filter in 2nd Pivot Table

jamesrr25

New Member
Joined
Apr 9, 2016
Messages
1
Hello,

I am attempting to create a "peer" pivot table = PVT2(H5), based off the filter selection in PVT1(cell E5). My plan is to use a combo box to have the user select a school to review in PVT1, and by doing so they could view that school's peers(all other schools except the one selected) in PVT2. The Rows, Columns, and Values should remain the same for both pivot tables, the only thing changing would be the Filter selection.

Notes:
- using Excel 2010, but moving to proplus soon.
- For the schools list I will always have a finite list(approx 100), so this is not something that will adjust.

Im assuming there is some fancy macro that I could write to get this done, but my vba skills can barely be called skills at this point. Please help! :) Thank you


Excel 2013
Row\Col
A
B
C
D
E
F
G
H
I
J
3
SchoolGradesubject
4
School11stMath
5
School22ndreadingPVT1PVT2
6
School33rdwritingSchoolSchool1School(Multiple Items)
7
School44thscience
8
School55thphysicsRow LabelsCount of GradeRow LabelsCount of Grade
9
School66thhistoryMath
2​
history
1​
10
School13rdMathGrand Total
2
Math
1​
11
School24threadingphysics
1​
12
School35thMathreading
3​
13
School46threadingscience
2​
14
School55thwritingwriting
2​
15
School66thscienceGrand Total
10
16
17
18

<tbody>
</tbody>
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,215,396
Messages
6,124,685
Members
449,179
Latest member
kfhw720

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