Table:
0
A
B
C
D
E
F
1
School
Team Name
Town
County
School Enrollment (2008–10)
Football?
2
De Kalb High School
Tigers
De Kalb
Buchanan
118
Y
3
Jefferson Conception Junction High School
(Lady) Eagles
Conception Junction
Nodaway
50
N
4
Osborn High School
Wildcats/ Lady Cats
Osborn
De Kalb
40
N
5
North Andrew High School
Cardinals
Rosendale
Andrew
105
Y
6
Northeast Nodaway High School
BlueJays
Ravenwood
Nodaway
73
N
7
Southwest Livingston High School
Wildcats
Ludlow
Livingston
65
Y (football only)
8
South Nodaway High School
Longhorns
Barnard
Nodaway
71
Y
9
Stewartsville High School
Cardinals
Stewartsville
De Kalb
88
Y
10
Union Star High School
Trojans
Union Star
De Kalb
47
Y

Questions and formulas:
Question: DId the school with an enrollment of 50 have football?
Formula: LET(query1,SUMMARIZE(F1,SUMX(E1)),FILTER(query1,CHOOSECOLS(query1,2)=50))
Formula2: LET(query1,SUMMARIZE(F2:F10,SUMX(E2:E10)),FILTER(query1,CHOOSECOLS(query1,2)=50))
Level: hard
Question: What is the highest number of school enrollment for Union Star High School in De Kalb county?
Formula: MAX(FILTER(E1, (D1="de kalb")*(A1="union star high school")))
Formula2: MAX(FILTER(E2:E10, (D2:D10="de kalb")*(A2:A10="union star high school")))
Level: easy
Question: What school had a team name of the Trojans?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="trojans"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F10,B2:B10="trojans"),1))
Level: medium