Table:
0
A
B
C
D
E
1
Official Name
Status
Area km 2
Population
Census Ranking
2
Edmundston
City
106.92
16,032
254 of 5,008
3
Saint-André
Rural community
140.68
2,479
1,146 of 5,008
4
Saint-Léonard
Town
5.20
1,343
1,723 of 5,008
5
Sainte-Anne-de-Madawaska
Village
9.21
1,002
2,068 of 5,008
6
Clair
Village
10.46
857
2,276 of 5,008
7
Rivière-Verte
Village
7.00
744
2,476 of 5,008
8
Lac-Baker
Village
37.12
719
2,531 of 5,008
9
Baker Brook
Village
12.40
585
2,805 of 5,008
10
Saint-François-de-Madawaska
Village
6.34
533
2,915 of 5,008
11
Saint-Hilaire
Village
5.67
145
4,187 of 5,008

Questions and formulas:
Question: What is the status of the community that has an area larger than 5.2 sq km, and a Census Ranking of 2,531 of 5,008?
Formula: LET(query1,LET(query1,FILTER(A1:E1,E1="2,531 of 5,008"),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,3)))),FILTER(query1,CHOOSECOLS(query1,2)>5.2))
Formula2: LET(query1,LET(query1,FILTER(A2:E11,E2:E11="2,531 of 5,008"),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,3)))),FILTER(query1,CHOOSECOLS(query1,2)>5.2))
Level: hard
Question: What is saint-andré's population?
Formula: SUMIFS(D1,A1,"saint-andré")
Formula2: SUMIFS(D2:D11,A2:A11,"saint-andré")
Level: easy