Pivot Tables: Possible to apply one filter to multiple columns?

averagegirl

New Member
Joined
Aug 30, 2012
Messages
2
Hello! Here is my dilemma. My master chart, from which I want to create a pivot table, looks something like this:

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Client[/TD]
[TD]Project[/TD]
[TD]Senior Person[/TD]
[TD]Senior Person[/TD]
[TD]Senior Person[/TD]
[TD]Junior Person[/TD]
[TD]Junior Person[/TD]
[TD]Junior Person[/TD]
[/TR]
[TR]
[TD]Client 1[/TD]
[TD]Project A[/TD]
[TD]John Lennon[/TD]
[TD][/TD]
[TD][/TD]
[TD]Britney Spears[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Client 2[/TD]
[TD]Project B[/TD]
[TD]John Lennon[/TD]
[TD]Ringo Starr[/TD]
[TD][/TD]
[TD]Selena Gomez[/TD]
[TD]Taylor Swift[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Client 2[/TD]
[TD]Project C[/TD]
[TD]Paul McCartney[/TD]
[TD][/TD]
[TD][/TD]
[TD]Britney Spears[/TD]
[TD]Usher[/TD]
[TD]Selena Gomez[/TD]
[/TR]
[TR]
[TD]Client 3[/TD]
[TD]Project D[/TD]
[TD]John Lennon[/TD]
[TD]Paul McCartney[/TD]
[TD]George Harrison[/TD]
[TD]Justin Bieber[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I want to create a pivot table that allows me to generate a list of all the projects that a particular Senior Person is working on. And I would ideally like to do this with only one filter. E.g., I want to be able to select "Paul McCartney" from one filter and get a list that includes both Client 2/Project C and Client 3/Project D (even though Paul McCartney's name appears into two different Senior Person columns).

If this isn't possible because I have three Senior Person columns, is there another solution that would get me the result? Originally, the table looked like this, but I was told that the Pivot Table would always recognize "John Lennon" and "John Lennon; Ringo Starr" as separate entities rather than two instances of "John Lennon."

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Client[/TD]
[TD]Project[/TD]
[TD]Senior Person[/TD]
[TD]Junior Person[/TD]
[/TR]
[TR]
[TD]Client 1[/TD]
[TD]Project A[/TD]
[TD]John Lennon[/TD]
[TD]Britney Spears[/TD]
[/TR]
[TR]
[TD]Client 2[/TD]
[TD]Project B[/TD]
[TD]John Lennon; Ringo Starr[/TD]
[TD]Selena Gomez; Taylor Swift[/TD]
[/TR]
[TR]
[TD]Client 2[/TD]
[TD]Project C[/TD]
[TD]Paul McCartney[/TD]
[TD]Britney Spears; Usher; Selena Gomez[/TD]
[/TR]
[TR]
[TD]Client 3[/TD]
[TD]Project D[/TD]
[TD]John Lennon; Paul McCartney; George Harrison[/TD]
[TD]Justin Bieber[/TD]
[/TR]
</tbody>[/TABLE]

So that's why I tried splitting them up into their own columns. (Btw, I did try giving each person his/her own row, which works for the pivot table, but that results in the master chart showing multiple rows for the same project. This is something that I want to avoid.) Anyway, any help on this would be much appreciated! Thanks so much!
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
You can not create a pivot table with columns that have the same header titles. In your original layout you could create autofilters and filter with "contains" John Lennon.
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,305
Members
452,633
Latest member
DougMo

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