Table:
0
A
B
C
D
E
F
G
1
Name
Years
Gender
Area
Authority
Decile
Roll
2
Frasertown School
1–6
Coed
Frasertown
State
4
107
3
Kotemaori School
1–8
Coed
Kotemaori
State
4
6
4
Mohaka School
1–8
Coed
Mohaka
State
1
36
5
Nuhaka School
1–8
Coed
Nuhaka
State
2
123
6
Ohuka School
1–8
Coed
Ohuka
State
10
12
7
Putere School
1–8
Coed
Putere
State
2
12
8
Ruakituri School
1–8
Coed
Ruakituri
State
7
9
9
St Joseph's School
1–8
Coed
Wairoa
State integrated
3
122
10
Te Kura o Waikaremoana
1–8
Coed
Tuai
State
2
27
11
Te Mahia School
1–8
Coed
Mahia
State
1
48
12
Tiaho Primary School
1–6
Coed
Wairoa
State
2
150
13
TKKM o Ngati Kahungunu o Te Wairoa
1–8
Coed
Wairoa
State
1
61
14
Wairoa College
7–15
Coed
Wairoa
State
2
544
15
Wairoa Primary School
1–6
Coed
Wairoa
State
2
228

Questions and formulas:
Question: Which years have a Decile smaller than 2, and an Area of mohaka?
Formula: LET(query1,LET(query1,FILTER(A1:G1,D1="mohaka"),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,6)))),FILTER(query1,CHOOSECOLS(query1,2)<2))
Formula2: LET(query1,LET(query1,FILTER(A2:G15,D2:D15="mohaka"),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,6)))),FILTER(query1,CHOOSECOLS(query1,2)<2))
Level: hard
Question: Which gender has an Authority of state, Years of 1–8, and a Decile smaller than 10, and a Roll of 36?
Formula: LET(query1,LET(query1,FILTER(A1:G1,(E1="state")*(B1="1–8")),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,6)),SUMX(CHOOSECOLS(query1,7)))),FILTER(query1,(CHOOSECOLS(query1,2)<10)*(CHOOSECOLS(query1,3)=36)))
Formula2: LET(query1,LET(query1,FILTER(A2:G15,(E2:E15="state")*(B2:B15="1–8")),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,6)),SUMX(CHOOSECOLS(query1,7)))),FILTER(query1,(CHOOSECOLS(query1,2)<10)*(CHOOSECOLS(query1,3)=36)))
Level: hard
Question: Which roll has an Area of mahia?
Formula: SUMIFS(G1,D1,"mahia")
Formula2: SUMIFS(G2:G15,D2:D15,"mahia")
Level: easy
Question: Which Decile has an Authority of state, a Roll smaller than 61, and an Area of kotemaori?
Formula: SUM(FILTER(F1, (E1="state")*(G1<61)*(D1="kotemaori")))
Formula2: SUM(FILTER(F2:F15, (E2:E15="state")*(G2:G15<61)*(D2:D15="kotemaori")))
Level: easy