Table:
0
A
B
C
D
E
F
1
Name
Years
Area
Authority
Decile
Roll
2
Fox Glacier School
1–8
Fox Glacier
State
8
25
3
Franz Josef Glacier School
1–8
Franz Josef
State
9
19
4
Haast School
1–8
Haast
State
3
18
5
Hokitika School
1–6
Hokitika
State
4
154
6
Jacobs River School
1–8
Jacobs River
State
5
6
7
Kaniere School
1–6
Kaniere
State
7
129
8
Kokatahi-Kowhitirangi School
1–6
Kokatahi
State
8
52
9
Kumara School
1–8
Kumara
State
5
23
10
Ross School
1–6
Ross
State
6
16
11
South Westland Area School
1–15
Harihari
State
4
100
12
St Mary's School
1–8
Hokitika
State
5
152
13
Westland High School
7–15
Hokitika
State
6
397
14
Whataroa School
1–8
Whataroa
State
7
36

Questions and formulas:
Question: What is the decile sum with a roll smaller than 25, and franz josef area?
Formula: SUM(FILTER(E1, (F1<25)*(C1="franz josef")))
Formula2: SUM(FILTER(E2:E14, (F2:F14<25)*(C2:C14="franz josef")))
Level: easy
Question: What is the area with decile of 8, and a 25 roll?
Formula: LET(query1,SUMMARIZE(C1,SUMX(E1),SUMX(F1)),FILTER(query1,(CHOOSECOLS(query1,2)=8)*(CHOOSECOLS(query1,3)=25)))
Formula2: LET(query1,SUMMARIZE(C2:C14,SUMX(E2:E14),SUMX(F2:F14)),FILTER(query1,(CHOOSECOLS(query1,2)=8)*(CHOOSECOLS(query1,3)=25)))
Level: hard