Table:
0
A
B
C
D
E
1
Country or territory
Area (km²)
Population
Population density (per km²)
Capital
2
Bermuda ( UK )
54
65000
1203.7
Hamilton
3
Canada
9984670
33573000
3.4
Ottawa
4
Greenland ( Den .)
2166086
57000
0.026
Nuuk ( Godthåb )
5
Saint Pierre and Miquelon ( Fr. )
242
6000
24.8
Saint-Pierre
6
United States
9,826,675
316,584,000
32.7
Washington, D.C.

Questions and formulas:
Question: What's the sum of the population with a population density (per km²) of 24.8?
Formula: SUM(FILTER(C1, D1=24.8))
Formula2: SUM(FILTER(C2:C6, D2:D6=24.8))
Level: easy
Question: What's the average area in canada with a population density (per km²) larger than 3.4?
Formula: AVERAGE(FILTER(B1, (A1="canada")*(D1>3.4)))
Formula2: AVERAGE(FILTER(B2:B6, (A2:A6="canada")*(D2:D6>3.4)))
Level: easy
Question: What capital has an area of 2166086?
Formula: LET(query1,SUMMARIZE(E1,SUMX(B1)),FILTER(query1,CHOOSECOLS(query1,2)=2166086))
Formula2: LET(query1,SUMMARIZE(E2:E6,SUMX(B2:B6)),FILTER(query1,CHOOSECOLS(query1,2)=2166086))
Level: hard
Question: What's the highest population density for a population less than 6000?
Formula: MAX(FILTER(D1, C1<6000))
Formula2: MAX(FILTER(D2:D6, C2:C6<6000))
Level: easy
Question: What's the lowest population with a population density (per km²) larger than 1203.7?
Formula: MIN(FILTER(C1, D1>1203.7))
Formula2: MIN(FILTER(C2:C6, D2:D6>1203.7))
Level: easy