Table:
0
A
B
C
D
E
1
School
Locality
Ages
Capacity
Ofsted
2
Castle Hill High School
Brinnington
11-16
132
106172
3
Heaton School
Heaton Moor
10-19
73
106173
4
Lisburne School
Offerton
4-11
56
106170
5
Oakgrove School
Heald Green
4-11
24
131887
6
Valley School
Bramhall
2-11
69
106168
7
Windlehurst School
Marple
11-16
21
131889

Questions and formulas:
Question: Which Ages have a Capacity larger than 21, and an Ofsted of 106168?
Formula: LET(query1,SUMMARIZE(C1,SUMX(D1),SUMX(E1)),FILTER(query1,(CHOOSECOLS(query1,2)>21)*(CHOOSECOLS(query1,3)=106168)))
Formula2: LET(query1,SUMMARIZE(C2:C7,SUMX(D2:D7),SUMX(E2:E7)),FILTER(query1,(CHOOSECOLS(query1,2)>21)*(CHOOSECOLS(query1,3)=106168)))
Level: hard
Question: Which Ages have an Ofsted larger than 106172, and a School of oakgrove school?
Formula: LET(query1,LET(query1,FILTER(A1:E1,A1="oakgrove school"),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)>106172))
Formula2: LET(query1,LET(query1,FILTER(A2:E7,A2:A7="oakgrove school"),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)>106172))
Level: hard
Question: Which Ofsted has a Capacity smaller than 56, and Ages of 11-16?
Formula: SUM(FILTER(E1, (D1<56)*(C1="11-16")))
Formula2: SUM(FILTER(E2:E7, (D2:D7<56)*(C2:C7="11-16")))
Level: easy
Question: Which Capacity has a School of windlehurst school, and an Ofsted smaller than 131889?
Formula: SUM(FILTER(D1, (A1="windlehurst school")*(E1<131889)))
Formula2: SUM(FILTER(D2:D7, (A2:A7="windlehurst school")*(E2:E7<131889)))
Level: easy