Pivot Table Filter For Multiple Survey Responses

Sheepeys

New Member
Joined
Nov 20, 2014
Messages
16
Hi!
I have a spreadsheet with data from a survey: 9 questions, each with an answer between 1 and 5. I have a pivot table that shows me a breakdown of how many of each answer (1 through 5) there is for a single question. Is there a way that I can include all of my data and filter by question, so I don't need to create 9 different pivot tables, but I can still see the information for a single question?

I'm unsure how to attach a file, but here is a link to my spreadsheet on Google Drive ("Sheet 1" is my current attempt at a pivot table):
https://drive.google.com/file/d/1gRYVuhFjkMkqFJvUmMp7ol0psoHI3WBn/view?usp=sharing

Thank you!
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
something like this?

[Table="width:, class:head"]
[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]Teacher[/td][td=bgcolor:#DDEBF7](All)[/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td][/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]Sum of Value[/td][td=bgcolor:#DDEBF7]Grade[/td][td=bgcolor:#DDEBF7][/td][td=bgcolor:#DDEBF7][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]Attribute[/td][td=bgcolor:#DDEBF7]
1
[/td][td=bgcolor:#DDEBF7]K[/td][td=bgcolor:#DDEBF7]Grand Total[/td][/tr]

[tr=bgcolor:#FFFFFF][td]Q1[/td][td]
100​
[/td][td]
92​
[/td][td]
192​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]Q2[/td][td]
121​
[/td][td]
76​
[/td][td]
197​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]Q3[/td][td]
117​
[/td][td]
66​
[/td][td]
183​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]Q4[/td][td]
120​
[/td][td][/td][td]
120​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]Q5[/td][td]
129​
[/td][td]
67​
[/td][td]
196​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]Q6[/td][td]
124​
[/td][td]
80​
[/td][td]
204​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]Q7[/td][td]
129​
[/td][td]
74​
[/td][td]
203​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]Q8[/td][td]
136​
[/td][td][/td][td]
136​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]Q9[/td][td]
106​
[/td][td]
61​
[/td][td]
167​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]Grand Total[/td][td=bgcolor:#DDEBF7]
1082
[/td][td=bgcolor:#DDEBF7]
516
[/td][td=bgcolor:#DDEBF7]
1598
[/td][/tr]
[/table]
 
Upvote 0
or this

[Table="width:, class:head"]
[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]Teacher[/td][td=bgcolor:#DDEBF7](All)[/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]Count of Value[/td][td=bgcolor:#DDEBF7]Grade[/td][td=bgcolor:#DDEBF7]Value[/td][td=bgcolor:#DDEBF7][/td][td=bgcolor:#DDEBF7][/td][td=bgcolor:#DDEBF7][/td][td=bgcolor:#DDEBF7][/td][td=bgcolor:#DDEBF7][/td][td=bgcolor:#DDEBF7][/td][td=bgcolor:#DDEBF7][/td][td=bgcolor:#DDEBF7][/td][td=bgcolor:#DDEBF7][/td][td=bgcolor:#DDEBF7][/td][td=bgcolor:#DDEBF7][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7][/td][td=bgcolor:#DDEBF7]
1
[/td][td=bgcolor:#DDEBF7][/td][td=bgcolor:#DDEBF7][/td][td=bgcolor:#DDEBF7][/td][td=bgcolor:#DDEBF7][/td][td=bgcolor:#D9D9D9]1 Total[/td][td=bgcolor:#DDEBF7]K[/td][td=bgcolor:#DDEBF7][/td][td=bgcolor:#DDEBF7][/td][td=bgcolor:#DDEBF7][/td][td=bgcolor:#DDEBF7][/td][td=bgcolor:#D9D9D9]K Total[/td][td=bgcolor:#DDEBF7]Grand Total[/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]Attribute[/td][td=bgcolor:#DDEBF7]
1
[/td][td=bgcolor:#DDEBF7]
2
[/td][td=bgcolor:#DDEBF7]
3
[/td][td=bgcolor:#DDEBF7]
4
[/td][td=bgcolor:#DDEBF7]
5
[/td][td=bgcolor:#D9D9D9][/td][td=bgcolor:#DDEBF7]
1
[/td][td=bgcolor:#DDEBF7]
2
[/td][td=bgcolor:#DDEBF7]
3
[/td][td=bgcolor:#DDEBF7]
4
[/td][td=bgcolor:#DDEBF7]
5
[/td][td=bgcolor:#D9D9D9][/td][td=bgcolor:#DDEBF7][/td][/tr]

[tr=bgcolor:#FFFFFF][td]Q1[/td][td]
36​
[/td][td]
9​
[/td][td]
8​
[/td][td]
3​
[/td][td]
2​
[/td][td=bgcolor:#D9D9D9]
58​
[/td][td]
10​
[/td][td]
4​
[/td][td]
4​
[/td][td]
8​
[/td][td]
6​
[/td][td=bgcolor:#D9D9D9]
32​
[/td][td]
90​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]Q2[/td][td]
26​
[/td][td]
14​
[/td][td]
13​
[/td][td]
2​
[/td][td]
4​
[/td][td=bgcolor:#D9D9D9]
59​
[/td][td]
8​
[/td][td]
11​
[/td][td]
7​
[/td][td]
5​
[/td][td]
1​
[/td][td=bgcolor:#D9D9D9]
32​
[/td][td]
91​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]Q3[/td][td]
25​
[/td][td]
17​
[/td][td]
13​
[/td][td]
1​
[/td][td]
3​
[/td][td=bgcolor:#D9D9D9]
59​
[/td][td]
13​
[/td][td]
10​
[/td][td]
5​
[/td][td]
2​
[/td][td]
2​
[/td][td=bgcolor:#D9D9D9]
32​
[/td][td]
91​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]Q4[/td][td]
26​
[/td][td]
9​
[/td][td]
13​
[/td][td]
8​
[/td][td]
1​
[/td][td=bgcolor:#D9D9D9]
57​
[/td][td][/td][td][/td][td][/td][td][/td][td][/td][td=bgcolor:#D9D9D9][/td][td]
57​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]Q5[/td][td]
22​
[/td][td]
8​
[/td][td]
11​
[/td][td]
7​
[/td][td]
6​
[/td][td=bgcolor:#D9D9D9]
54​
[/td][td]
16​
[/td][td]
6​
[/td][td]
3​
[/td][td]
5​
[/td][td]
2​
[/td][td=bgcolor:#D9D9D9]
32​
[/td][td]
86​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]Q6[/td][td]
25​
[/td][td]
4​
[/td][td]
11​
[/td][td]
12​
[/td][td]
2​
[/td][td=bgcolor:#D9D9D9]
54​
[/td][td]
11​
[/td][td]
8​
[/td][td]
5​
[/td][td]
2​
[/td][td]
6​
[/td][td=bgcolor:#D9D9D9]
32​
[/td][td]
86​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]Q7[/td][td]
16​
[/td][td]
18​
[/td][td]
12​
[/td][td]
4​
[/td][td]
5​
[/td][td=bgcolor:#D9D9D9]
55​
[/td][td]
14​
[/td][td]
6​
[/td][td]
5​
[/td][td]
2​
[/td][td]
5​
[/td][td=bgcolor:#D9D9D9]
32​
[/td][td]
87​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]Q8[/td][td]
29​
[/td][td]
4​
[/td][td]
11​
[/td][td]
4​
[/td][td]
10​
[/td][td=bgcolor:#D9D9D9]
58​
[/td][td][/td][td][/td][td][/td][td][/td][td][/td][td=bgcolor:#D9D9D9][/td][td]
58​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]Q9[/td][td]
35​
[/td][td]
3​
[/td][td]
10​
[/td][td]
5​
[/td][td]
3​
[/td][td=bgcolor:#D9D9D9]
56​
[/td][td]
19​
[/td][td]
7​
[/td][td][/td][td]
2​
[/td][td]
4​
[/td][td=bgcolor:#D9D9D9]
32​
[/td][td]
88​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]Grand Total[/td][td=bgcolor:#DDEBF7]
240
[/td][td=bgcolor:#DDEBF7]
86
[/td][td=bgcolor:#DDEBF7]
102
[/td][td=bgcolor:#DDEBF7]
46
[/td][td=bgcolor:#DDEBF7]
36
[/td][td=bgcolor:#DDEBF7]
510
[/td][td=bgcolor:#DDEBF7]
91
[/td][td=bgcolor:#DDEBF7]
52
[/td][td=bgcolor:#DDEBF7]
29
[/td][td=bgcolor:#DDEBF7]
26
[/td][td=bgcolor:#DDEBF7]
26
[/td][td=bgcolor:#DDEBF7]
224
[/td][td=bgcolor:#DDEBF7]
734
[/td][/tr]
[/table]
 
Upvote 0
I'm actually looking for something like the pivot table I already have, showing the results for one question, but with the ability to easily switch between questions, through maybe another drop-down filter?
 
Upvote 0
Sorry, I just saw your second response. That's very much what I'm looking for! I can build graphs from that. Perfect!
 
Upvote 0
like this one?

[Table="width:, class:head"]
[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]Teacher[/td][td=bgcolor:#DDEBF7](All)[/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]Attribute[/td][td=bgcolor:#DDEBF7]Q1[/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td][/td][td][/td][td][/td][td][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]Count of Value[/td][td=bgcolor:#DDEBF7]Grade[/td][td=bgcolor:#DDEBF7][/td][td=bgcolor:#DDEBF7][/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]Value[/td][td=bgcolor:#DDEBF7]
1
[/td][td=bgcolor:#DDEBF7]K[/td][td=bgcolor:#DDEBF7]Grand Total[/td][/tr]

[tr=bgcolor:#FFFFFF][td]
1​
[/td][td]
36​
[/td][td]
10​
[/td][td]
46​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]
2​
[/td][td]
9​
[/td][td]
4​
[/td][td]
13​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]
3​
[/td][td]
8​
[/td][td]
4​
[/td][td]
12​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]
4​
[/td][td]
3​
[/td][td]
8​
[/td][td]
11​
[/td][/tr]

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

[tr=bgcolor:#FFFFFF][td=bgcolor:#DDEBF7]Grand Total[/td][td=bgcolor:#DDEBF7]
58
[/td][td=bgcolor:#DDEBF7]
32
[/td][td=bgcolor:#DDEBF7]
90
[/td][/tr]
[/table]
 
Upvote 0
I like the second to last one (with all the questions in rows and the choices in columns). How do I recreate it?

Thank you!
 
Upvote 0

Forum statistics

Threads
1,225,626
Messages
6,186,093
Members
453,337
Latest member
fiaz ahmad

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