Table:
0
A
B
C
D
E
F
G
1
Name
Years
Gender
Area
Authority
Decile
Roll
2
Conifer Grove School
1–8
Coed
Takanini
State
7
526
3
Cosgrove School
1–6
Coed
Papakura
State
2
606
4
Drury School
1–8
Coed
Drury
State
8
423
5
Edmund Hillary School
1–8
Coed
Papakura
State
1
146
6
Hingaia Peninsula School
1–8
Coed
Karaka
State
9
91
7
Kelvin Road School
1–6
Coed
Papakura
State
1
459
8
Kereru Park Campus
1–8
Coed
Papakura
State
1
76
9
Mansell Senior School
7–8
Coed
Papakura
State
1
149
10
Opaheke School
1–8
Coed
Papakura
State
5
605
11
Papakura Central School
1–6
Coed
Papakura
State
5
347
12
Papakura Normal School
1–8
Coed
Papakura
State
3
651
13
Park Estate School
1–6
Coed
Papakura
State
1
112
14
Redhill School
1–8
Coed
Papakura
State
1
199
15
Rosehill Intermediate
7–8
Coed
Papakura
State
4
368
16
St Mary's Catholic School
1–8
Coed
Papakura
State integrated
4
281
17
Takanini School
1–8
Coed
Takanini
State
1
442

Questions and formulas:
Question: Which authority had a role of 651?
Formula: LET(query1,SUMMARIZE(E1,SUMX(G1)),FILTER(query1,CHOOSECOLS(query1,2)=651))
Formula2: LET(query1,SUMMARIZE(E2:E17,SUMX(G2:G17)),FILTER(query1,CHOOSECOLS(query1,2)=651))
Level: hard
Question: For the roll of 651, what was the lowest Decile?
Formula: MIN(FILTER(F1, G1=651))
Formula2: MIN(FILTER(F2:F17, G2:G17=651))
Level: easy
Question: What were the years for Redhill school, authority of state?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,(E1="state")*(A1="redhill school")),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G17,(E2:E17="state")*(A2:A17="redhill school")),2))
Level: medium
Question: What was the sum roll of Karaka area?
Formula: SUMIFS(G1,D1,"karaka")
Formula2: SUMIFS(G2:G17,D2:D17,"karaka")
Level: easy