Table:
0
A
B
C
D
E
F
G
1
School
Location
Mascot
Enrollment
IHSAA Class
# / County
Year Joined
2
Austin *
Austin
Eagles
437
AA
72 Scott
1958
3
Brownstown Central
Brownstown
Braves
611
AAA
36 Jackson
1965
4
Charlestown
Charlestown
Pirates
702
AAA
10 Clark
1958
5
Clarksville
Clarksville
Generals
530
AA
10 Clark
1958
6
Corydon Central
Corydon
Panthers
819
AAA
31 Harrison
1958
7
Eastern (Pekin)
New Pekin
Musketeers
552
AA
88 Washington
2003
8
North Harrison
Ramsey
Cougars
702
AAA
31 Harrison
1978
9
Salem
Salem
Lions
656
AAA
88 Washington
1958
10
Scottsburg
Scottsburg
Warriors
865
AAA
72 Scott
1958
11
Silver Creek
Sellersburg
Dragons
644
AAA
10 Clark
1958

Questions and formulas:
Question: what is the enrollement for the year joined 1958 in clarksville?
Formula: SUM(FILTER(D1, (G1=1958)*(B1="clarksville")))
Formula2: SUM(FILTER(D2:D11, (G2:G11=1958)*(B2:B11="clarksville")))
Level: easy
Question: what is the #/county that is ihsaa class aaa, has enrollment higher than 611 and the dragons is the mascot?
Formula: LET(query1,LET(query1,FILTER(A1:G1,(E1="aaa")*(C1="dragons")),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,CHOOSECOLS(query1,2)>611))
Formula2: LET(query1,LET(query1,FILTER(A2:G11,(E2:E11="aaa")*(C2:C11="dragons")),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,CHOOSECOLS(query1,2)>611))
Level: hard