Table:
0
A
B
C
D
E
1
Official Name
Status
Area km 2
Population
Census Ranking
2
Quispamsis
Town
57.06
17886
231 of 5,008
3
Rothesay
Town
34.73
11947
336 of 5,008
4
Grand Bay-Westfield
Town
59.73
5117
693 of 5,008
5
Sussex
Town
9.03
4312
780 of 5,008
6
Hampton
Town
21.00
4292
782 of 5,008
7
Sussex Corner
Village
9.43
1495
1,609 of 5,008

Questions and formulas:
Question: If the census ranking is 231 of 5,008, what was the population?
Formula: SUMIFS(D1,E1,"231 of 5,008")
Formula2: SUMIFS(D2:D7,E2:E7,"231 of 5,008")
Level: easy
Question: If the area is 59.73, what is the official name?
Formula: LET(query1,SUMMARIZE(A1,SUMX(C1)),FILTER(query1,CHOOSECOLS(query1,2)=59.73))
Formula2: LET(query1,SUMMARIZE(A2:A7,SUMX(C2:C7)),FILTER(query1,CHOOSECOLS(query1,2)=59.73))
Level: hard
Question: If the census ranking is 693 of 5,008, what is the status?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="693 of 5,008"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E7,E2:E7="693 of 5,008"),2))
Level: medium
Question: With the official name Quispamsis, what is the census ranking?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="Quispamsis"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E7,A2:A7="Quispamsis"),5))
Level: medium
Question: What was the population for census ranking 782 of 5,008?
Formula: SUMIFS(D1,E1,"782 of 5,008")
Formula2: SUMIFS(D2:D7,E2:E7,"782 of 5,008")
Level: easy
Question: If the area is 34.73, what is the census ranking?
Formula: LET(query1,SUMMARIZE(E1,SUMX(C1)),FILTER(query1,CHOOSECOLS(query1,2)=34.73))
Formula2: LET(query1,SUMMARIZE(E2:E7,SUMX(C2:C7)),FILTER(query1,CHOOSECOLS(query1,2)=34.73))
Level: hard