Table:
0
A
B
C
D
E
F
1
Name
Faith
Type
Intake
DCSF number
Ofsted number
2
Aldbury
CE
Primary
10
3000
117382
3
Bovingdon
–
Primary
60
2003
131188
4
Flamstead
–
Primary
15
2031
117100
5
Gaddesden Row
–
JMI
8
2032
117101
6
Great Gaddesden
CE
Primary
12
3335
117433
7
Kings Langley
–
Primary
60
2338
117283
8
Little Gaddesden
CE
Primary
15
3352
117443
9
Long Marston
CE
Primary
20
3373
117459
10
Markyate
–
Primary
30
2074
117127
11
St Bartholomew's, Wigginton
CE
Primary
15
3380
117463
12
St Paul's, Chipperfield
CE
Primary
30
3349
117441

Questions and formulas:
Question: Who has a DCSF number of 3373?
Formula: LET(query1,SUMMARIZE(A1,SUMX(E1)),FILTER(query1,CHOOSECOLS(query1,2)=3373))
Formula2: LET(query1,SUMMARIZE(A2:A12,SUMX(E2:E12)),FILTER(query1,CHOOSECOLS(query1,2)=3373))
Level: hard
Question: What is the average primary intake with an Ofsted number of 117433 and a DCSF number greater than 3335?
Formula: AVERAGE(FILTER(D1, (C1="primary")*(F1=117433)*(E1>3335)))
Formula2: AVERAGE(FILTER(D2:D12, (C2:C12="primary")*(F2:F12=117433)*(E2:E12>3335)))
Level: easy
Question: What is the lowest Ofsted number for a primary with a CE faith, intake of 30 and a DCSF number lower than 3349?
Formula: MIN(FILTER(F1, (C1="primary")*(B1="ce")*(D1=30)*(E1<3349)))
Formula2: MIN(FILTER(F2:F12, (C2:C12="primary")*(B2:B12="ce")*(D2:D12=30)*(E2:E12<3349)))
Level: easy