Table:
0
A
B
C
D
E
F
G
1
School
Location
Mascot
Enrollment
IHSAA Class
IHSAA Football Class
County
2
Crawfordsville
Crawfordsville
Athenians
689
AAA
AAA
54 Montgomery
3
Danville
Danville
Warriors
824
AAA
AAA
32 Hendricks
4
Frankfort
Frankfort
Hot Dogs
887
AAA
AAAA
12 Clinton
5
Lebanon
Lebanon
Tigers
1038
AAA
AAAA
06 Boone
6
North Montgomery
Crawfordsville
Chargers
641
AAA
AAA
54 Montgomery
7
Southmont
Crawfordsville
Mounties
612
AAA
AAA
54 Montgomery
8
Tri-West
Lizton
Bruins
620
AAA
AAA
32 Hendricks
9
Western Boone
Thorntown
Stars
592
AAA
AAA
06 Boone

Questions and formulas:
Question: Which school has enrollment of 887?
Formula: LET(query1,SUMMARIZE(A1,SUMX(D1)),FILTER(query1,CHOOSECOLS(query1,2)=887))
Formula2: LET(query1,SUMMARIZE(A2:A9,SUMX(D2:D9)),FILTER(query1,CHOOSECOLS(query1,2)=887))
Level: hard