Table:
0
A
B
C
D
E
1
School
Grades
Affiliation
Student Body
Enrollment
2
Lutheran West High School
9-12
Christian
Co-ed
443
3
Magnificat High School
9-12
Roman Catholic
Female
800
4
Ruffing Montessori
PK-8
Nonsectarian
Co-ed
301
5
St. Thomas Lutheran School
PK-K
Lutheran
Co-ed
39
6
St. Christopher School
K-8
Roman Catholic
Co-ed
502

Questions and formulas:
Question: Which Affiliation has an Enrollement larger than 502?
Formula: LET(query1,SUMMARIZE(C1,SUMX(E1)),FILTER(query1,CHOOSECOLS(query1,2)>502))
Formula2: LET(query1,SUMMARIZE(C2:C6,SUMX(E2:E6)),FILTER(query1,CHOOSECOLS(query1,2)>502))
Level: hard
Question: What School has an Enrollement smaller than 301?
Formula: LET(query1,SUMMARIZE(A1,SUMX(E1)),FILTER(query1,CHOOSECOLS(query1,2)<301))
Formula2: LET(query1,SUMMARIZE(A2:A6,SUMX(E2:E6)),FILTER(query1,CHOOSECOLS(query1,2)<301))
Level: hard
Question: Which Grades has an Enrollment larger htan 443 with a Student body of Co-ed?
Formula: LET(query1,LET(query1,FILTER(A1:E1,D1="co-ed"),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)>443))
Formula2: LET(query1,LET(query1,FILTER(A2:E6,D2:D6="co-ed"),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)>443))
Level: hard
Question: What's the Student Body with an Affiliation of Roman Catholic and has an Enrollment of 502?
Formula: LET(query1,LET(query1,FILTER(A1:E1,C1="roman catholic"),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)=502))
Formula2: LET(query1,LET(query1,FILTER(A2:E6,C2:C6="roman catholic"),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)=502))
Level: hard