Pivot Table Help

suraiya

New Member
Joined
Nov 18, 2014
Messages
4
Hello

I am trying to create a PT that would show some event registration summary. My data consists of different event types users have registered for over various years, what I would like to be able to filter a specific year and event type and pivot what other events the users have registered for. Please help, I feel like I am missing something obvious! Below is what I am trying to achieve.



[TABLE="width: 476"]
<colgroup><col width="84" style="width: 63pt; mso-width-source: userset; mso-width-alt: 3072;"> <col width="79" style="width: 59pt; mso-width-source: userset; mso-width-alt: 2889;" span="7"> <tbody>[TR]
[TD="width: 84, bgcolor: #8EA9DB"]Year[/TD]
[TD="width: 79, bgcolor: transparent, align: right"]8[/TD]
[TD="width: 79, bgcolor: transparent"][/TD]
[TD="width: 79, bgcolor: transparent"][/TD]
[TD="width: 79, bgcolor: transparent"][/TD]
[TD="width: 79, bgcolor: transparent"][/TD]
[TD="width: 79, bgcolor: transparent"][/TD]
[TD="width: 79, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: #8EA9DB"]Event Type[/TD]
[TD="bgcolor: transparent"]GNR[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=D9E1F2]#D9E1F2[/URL] , colspan: 7"]Year[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=D9E1F2]#D9E1F2[/URL] , align: right"]8[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=D9E1F2]#D9E1F2[/URL] , align: right"]9[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=D9E1F2]#D9E1F2[/URL] , align: right"]10[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=D9E1F2]#D9E1F2[/URL] , align: right"]11[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=D9E1F2]#D9E1F2[/URL] , align: right"]12[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=D9E1F2]#D9E1F2[/URL] , align: right"]13[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=D9E1F2]#D9E1F2[/URL] , align: right"]14[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]FEB[/TD]
[TD="bgcolor: transparent, align: right"]1[/TD]
[TD="bgcolor: transparent, align: right"]45[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent, align: right"]8[/TD]
[TD="bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]BNR[/TD]
[TD="bgcolor: transparent, align: right"]8[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent, align: right"]1[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent, align: right"]55[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent, align: right"]7[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]BUK[/TD]
[TD="bgcolor: transparent, align: right"]2[/TD]
[TD="bgcolor: transparent, align: right"]25[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent, align: right"]8[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent, align: right"]8[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]COF[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent, align: right"]8[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent, align: right"]8[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent, align: right"]55[/TD]
[TD="bgcolor: transparent, align: right"]7[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]DCUK[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent, align: right"]2[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]DUM[/TD]
[TD="bgcolor: transparent, align: right"]8[/TD]
[TD="bgcolor: transparent, align: right"]2[/TD]
[TD="bgcolor: transparent, align: right"]2[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent, align: right"]8[/TD]
[TD="bgcolor: transparent, align: right"]8[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]FBT[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent, align: right"]7[/TD]
[TD="bgcolor: transparent, align: right"]4[/TD]
[TD="bgcolor: transparent, align: right"]55[/TD]
[TD="bgcolor: transparent, align: right"]8[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]GNR[/TD]
[TD="bgcolor: transparent, align: right"]45[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent, align: right"]8[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent, align: right"]1[/TD]
[TD="bgcolor: transparent, align: right"]8[/TD]
[/TR]
</tbody>[/TABLE]

Hope that makes sense

Suraiya
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
hello

it doesn't make sense to me

when filtering for a specific year & event type, how can the results have data from other years and events?

some further explanation would help

thanks
 
Upvote 0
something like this?

[Table="width:, class:head"]
[tr=bgcolor:#FFFFFF][td]Event[/td][td]
8
[/td][td]
9
[/td][td]
10
[/td][td]
11
[/td][td]
12
[/td][td]
13
[/td][td]
14
[/td][td][/td][td=bgcolor:#DDEBF7]Year[/td][td=bgcolor:#DDEBF7]8[/td][/tr]

[tr=bgcolor:#FFFFFF][td]FEB[/td][td]
1​
[/td][td]
45​
[/td][td][/td][td][/td][td][/td][td]
8​
[/td][td][/td][td][/td][td=bgcolor:#DDEBF7]Event[/td][td=bgcolor:#DDEBF7]GNR[/td][/tr]

[tr=bgcolor:#FFFFFF][td]BNR[/td][td]
8​
[/td][td][/td][td]
1​
[/td][td][/td][td]
55​
[/td][td][/td][td]
7​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]BUK[/td][td]
2​
[/td][td]
25​
[/td][td][/td][td][/td][td]
8​
[/td][td][/td][td]
8​
[/td][td][/td][td=bgcolor:#DDEBF7]Value [/td][td=bgcolor:#DDEBF7]Year [/td][/tr]

[tr=bgcolor:#FFFFFF][td]COF[/td][td][/td][td]
8​
[/td][td][/td][td]
8​
[/td][td][/td][td]
55​
[/td][td]
7​
[/td][td][/td][td=bgcolor:#DDEBF7]Event [/td][td=bgcolor:#DDEBF7]8[/td][/tr]

[tr=bgcolor:#FFFFFF][td]DCUK[/td][td][/td][td][/td][td][/td][td]
2​
[/td][td][/td][td][/td][td][/td][td][/td][td]GNR[/td][td]
45​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]DUM[/td][td]
8​
[/td][td]
2​
[/td][td]
2​
[/td][td][/td][td][/td][td]
8​
[/td][td]
8​
[/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]FBT[/td][td][/td][td]
7​
[/td][td]
4​
[/td][td]
55​
[/td][td]
8​
[/td][td][/td][td][/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]GNR[/td][td]
45​
[/td][td][/td][td]
8​
[/td][td][/td][td][/td][td]
1​
[/td][td]
8​
[/td][td][/td][td][/td][td][/td][/tr]
[/table]
 
Upvote 0
or like this?

[Table="width:, class:head"]
[tr=bgcolor:#FFFFFF][td]Event[/td][td]
8
[/td][td]
9
[/td][td]
10
[/td][td]
11
[/td][td]
12
[/td][td]
13
[/td][td]
14
[/td][td][/td][td=bgcolor:#DDEBF7]Year[/td][td=bgcolor:#DDEBF7](Multiple Items)[/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]FEB[/td][td]
1​
[/td][td]
45​
[/td][td][/td][td][/td][td][/td][td]
8​
[/td][td][/td][td][/td][td=bgcolor:#DDEBF7]Event[/td][td=bgcolor:#DDEBF7](Multiple Items)[/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]BNR[/td][td]
8​
[/td][td][/td][td]
1​
[/td][td][/td][td]
55​
[/td][td][/td][td]
7​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]BUK[/td][td]
2​
[/td][td]
25​
[/td][td][/td][td][/td][td]
8​
[/td][td][/td][td]
8​
[/td][td][/td][td=bgcolor:#DDEBF7]Value [/td][td=bgcolor:#DDEBF7]Year [/td][td=bgcolor:#DDEBF7][/td][/tr]

[tr=bgcolor:#FFFFFF][td]COF[/td][td][/td][td]
8​
[/td][td][/td][td]
8​
[/td][td][/td][td]
55​
[/td][td]
7​
[/td][td][/td][td=bgcolor:#DDEBF7]Event [/td][td=bgcolor:#DDEBF7]8[/td][td=bgcolor:#DDEBF7]12[/td][/tr]

[tr=bgcolor:#FFFFFF][td]DCUK[/td][td][/td][td][/td][td][/td][td]
2​
[/td][td][/td][td][/td][td][/td][td][/td][td]BNR[/td][td]
8​
[/td][td]
55​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]DUM[/td][td]
8​
[/td][td]
2​
[/td][td]
2​
[/td][td][/td][td][/td][td]
8​
[/td][td]
8​
[/td][td][/td][td]DUM[/td][td]
8​
[/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]FBT[/td][td][/td][td]
7​
[/td][td]
4​
[/td][td]
55​
[/td][td]
8​
[/td][td][/td][td][/td][td][/td][td]GNR[/td][td]
45​
[/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td]GNR[/td][td]
45​
[/td][td][/td][td]
8​
[/td][td][/td][td][/td][td]
1​
[/td][td]
8​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[/table]
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,906
Members
452,366
Latest member
TePunaBloke

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