Correlation Matrix keying on one variable

Reboshua

Board Regular
Joined
Jan 23, 2015
Messages
88
I have a dataset - see below - that shows the quiz grades of 30 students in 6 different classrooms over 5 days in February.​

I'd like to create a correlation matrix to show the relationship between these students and their grades, but I am ONLY interested in seeing correlations between kids in the same classroom. I am trying to examine whether seating arrangements in classrooms have an effect on student grades, either because kids cheat off of one another or because kids of similar abilities tend to cluster around one another, etc.

Without breaking the data table up by Teacher and then doing individual matrices for each classroom, is there a way to create a single correlation table that only correlates kids with the same teacher to one another?

Thanks!Excel 2016 (Windows) 64 bit
A
B
C
D
1
NameTeacherDateQuiz Grade
2
SallyJones
2/1/2018​
61​
3
JaneAnderson
2/1/2018​
69​
4
BillySmith
2/1/2018​
88​
5
BobbyHill
2/1/2018​
93​
6
AliceBarnes
2/1/2018​
99​
7
JoeJohnson
2/1/2018​
91​
8
GaryJones
2/1/2018​
66​
9
CarolAnderson
2/1/2018​
62​
10
AnnSmith
2/1/2018​
81​
11
MichaelHill
2/1/2018​
69​
12
JessicaBarnes
2/1/2018​
68​
13
TimJohnson
2/1/2018​
82​
14
PeterJones
2/1/2018​
75​
15
CindyAnderson
2/1/2018​
75​
16
EllenSmith
2/1/2018​
96​
17
MarthaHill
2/1/2018​
89​
18
DavidBarnes
2/1/2018​
91​
19
MatthewJohnson
2/1/2018​
91​
20
JoshuaJones
2/1/2018​
77​
21
AmyAnderson
2/1/2018​
68​
22
TomSmith
2/1/2018​
96​
23
BenHill
2/1/2018​
83​
24
AlieBarnes
2/1/2018​
66​
25
RachaelJohnson
2/1/2018​
85​
26
KaylieJones
2/1/2018​
61​
27
KimAnderson
2/1/2018​
64​
28
MarySmith
2/1/2018​
88​
29
ValHill
2/1/2018​
69​
30
ShawnBarnes
2/1/2018​
99​
31
VickyJohnson
2/1/2018​
68​
32
SallyJones
2/2/2018​
91​
33
JaneAnderson
2/2/2018​
85​
34
BillySmith
2/2/2018​
80​
35
BobbyHill
2/2/2018​
78​
36
AliceBarnes
2/2/2018​
85​
37
JoeJohnson
2/2/2018​
89​
38
GaryJones
2/2/2018​
92​
39
CarolAnderson
2/2/2018​
63​
40
AnnSmith
2/2/2018​
71​
41
MichaelHill
2/2/2018​
63​
42
JessicaBarnes
2/2/2018​
72​
43
TimJohnson
2/2/2018​
80​
44
PeterJones
2/2/2018​
77​
45
CindyAnderson
2/2/2018​
62​
46
EllenSmith
2/2/2018​
60​
47
MarthaHill
2/2/2018​
98​
48
DavidBarnes
2/2/2018​
73​
49
MatthewJohnson
2/2/2018​
78​
50
JoshuaJones
2/2/2018​
70​
51
AmyAnderson
2/2/2018​
72​
52
TomSmith
2/2/2018​
96​
53
BenHill
2/2/2018​
90​
54
AlieBarnes
2/2/2018​
87​
55
RachaelJohnson
2/2/2018​
75​
56
KaylieJones
2/2/2018​
77​
57
KimAnderson
2/2/2018​
61​
58
MarySmith
2/2/2018​
99​
59
ValHill
2/2/2018​
90​
60
ShawnBarnes
2/2/2018​
92​
61
VickyJohnson
2/2/2018​
70​
62
SallyJones
2/3/2018​
90​
63
JaneAnderson
2/3/2018​
85​
64
BillySmith
2/3/2018​
77​
65
BobbyHill
2/3/2018​
97​
66
AliceBarnes
2/3/2018​
94​
67
JoeJohnson
2/3/2018​
96​
68
GaryJones
2/3/2018​
84​
69
CarolAnderson
2/3/2018​
88​
70
AnnSmith
2/3/2018​
95​
71
MichaelHill
2/3/2018​
80​
72
JessicaBarnes
2/3/2018​
64​
73
TimJohnson
2/3/2018​
87​
74
PeterJones
2/3/2018​
64​
75
CindyAnderson
2/3/2018​
67​
76
EllenSmith
2/3/2018​
66​
77
MarthaHill
2/3/2018​
81​
78
DavidBarnes
2/3/2018​
69​
79
MatthewJohnson
2/3/2018​
81​
80
JoshuaJones
2/3/2018​
76​
81
AmyAnderson
2/3/2018​
91​
82
TomSmith
2/3/2018​
78​
83
BenHill
2/3/2018​
71​
84
AlieBarnes
2/3/2018​
62​
85
RachaelJohnson
2/3/2018​
100​
86
KaylieJones
2/3/2018​
92​
87
KimAnderson
2/3/2018​
82​
88
MarySmith
2/3/2018​
65​
89
ValHill
2/3/2018​
64​
90
ShawnBarnes
2/3/2018​
73​
91
VickyJohnson
2/3/2018​
91​
92
SallyJones
2/4/2018​
68​
93
JaneAnderson
2/4/2018​
72​
94
BillySmith
2/4/2018​
97​
95
BobbyHill
2/4/2018​
95​
96
AliceBarnes
2/4/2018​
78​
97
JoeJohnson
2/4/2018​
76​
98
GaryJones
2/4/2018​
63​
99
CarolAnderson
2/4/2018​
60​
100
AnnSmith
2/4/2018​
73​
101
MichaelHill
2/4/2018​
71​
102
JessicaBarnes
2/4/2018​
80​
103
TimJohnson
2/4/2018​
66​
104
PeterJones
2/4/2018​
75​
105
CindyAnderson
2/4/2018​
73​
106
EllenSmith
2/4/2018​
73​
107
MarthaHill
2/4/2018​
86​
108
DavidBarnes
2/4/2018​
83​
109
MatthewJohnson
2/4/2018​
91​
110
JoshuaJones
2/4/2018​
86​
111
AmyAnderson
2/4/2018​
98​
112
TomSmith
2/4/2018​
95​
113
BenHill
2/4/2018​
65​
114
AlieBarnes
2/4/2018​
66​
115
RachaelJohnson
2/4/2018​
75​
116
KaylieJones
2/4/2018​
60​
117
KimAnderson
2/4/2018​
89​
118
MarySmith
2/4/2018​
93​
119
ValHill
2/4/2018​
64​
120
ShawnBarnes
2/4/2018​
83​
121
VickyJohnson
2/4/2018​
78​
122
SallyJones
2/5/2018​
99​
123
JaneAnderson
2/5/2018​
75​
124
BillySmith
2/5/2018​
64​
125
BobbyHill
2/5/2018​
95​
126
AliceBarnes
2/5/2018​
79​
127
JoeJohnson
2/5/2018​
81​
128
GaryJones
2/5/2018​
66​
129
CarolAnderson
2/5/2018​
62​
130
AnnSmith
2/5/2018​
98​
131
MichaelHill
2/5/2018​
60​
132
JessicaBarnes
2/5/2018​
79​
133
TimJohnson
2/5/2018​
65​
134
PeterJones
2/5/2018​
73​
135
CindyAnderson
2/5/2018​
63​
136
EllenSmith
2/5/2018​
84​
137
MarthaHill
2/5/2018​
96​
138
DavidBarnes
2/5/2018​
98​
139
MatthewJohnson
2/5/2018​
71​
140
JoshuaJones
2/5/2018​
65​
141
AmyAnderson
2/5/2018​
67​
142
TomSmith
2/5/2018​
100​
143
BenHill
2/5/2018​
93​
144
AlieBarnes
2/5/2018​
98​
145
RachaelJohnson
2/5/2018​
63​
146
KaylieJones
2/5/2018​
98​
147
KimAnderson
2/5/2018​
99​
148
MarySmith
2/5/2018​
97​
149
ValHill
2/5/2018​
60​
150
ShawnBarnes
2/5/2018​
97​
151
VickyJohnson
2/5/2018​
95​
Sheet: Sheet20
 
Last edited:

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Forum statistics

Threads
1,214,972
Messages
6,122,530
Members
449,088
Latest member
RandomExceller01

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