Pivot Table help - Can I show certain data depending on value in another field

Monty85

New Member
Joined
May 6, 2019
Messages
43
Office Version
  1. 365
Platform
  1. Windows
I feel like I've seen this done before but I can't seem to work it out and am struggling in what terms to search for when looking for help.

What I want to do is have a dynamic Pivot Table displayed that will filter the data depending on a category that is selected from a separate field.

In the below example, if Cell B1="One" than the pivot table should only show the data for items that are in Category One (listed in Column E) - so only 3 rows would display.

Category Name:One
IDFirst NameLast NameDOBCategory
79​
RApple
1/04/1979​
One
30​
EBanana
5/06/1980​
Two
36​
FPear
7/02/1998​
Three
96​
SOrange
12/08/2001​
One
31​
GLettuce
15/10/1968​
Two
32​
YCarrot
20/03/1987​
Three
49​
DPotato
4/07/1997​
One
12​
VOnion
3/12/2002​
Two
51​
WTomato
25/06/1974​
Three
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
If you put Category as a filter field, it will do that - e.g.

1707299696264.png
 
Upvote 0
If you put Category as a filter field, it will do that - e.g.

View attachment 106459

Ah thanks.

I still can't seem to get the Pivot Table to remain in the original format though. Guides i've found online just tell me to select the fields I want, but when i do that I end up with everything listed in one column or split incorrectly across rows.

Probably just need to play around with the options some more until I work it out.
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,951
Members
449,095
Latest member
nmaske

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