Table:
0
A
B
C
D
E
F
1
Municipality
No. of Barangays
Area (hectares)
Population (2007)
Population (2010)
Pop. density (per km 2 )
2
Bagamanoc
18
8074
10183
11370
140.8
3
Baras
29
10950
11787
12243
111.8
4
Bato
27
4862
18738
19984
411.0
5
Caramoran
27
26374
25618
28063
106.4
6
Gigmoto
9
18182
7569
8003
44.0
7
Pandan
26
11990
19005
19393
161.7
8
Panganiban (Payo)
23
7996
9290
9738
121.8
9
San Andres (Calolbon)
38
16731
33781
35779
213.8
10
San Miguel
24
12994
12966
14107
108.6
11
Viga
31
15823
19266
20669
130.6

Questions and formulas:
Question: What is the 2007 population of Gigmoto?
Formula: SUMIFS(D1,A1,"Gigmoto")
Formula2: SUMIFS(D2:D11,A2:A11,"Gigmoto")
Level: easy
Question: What is the 2010 population of the municipality with 31 barangays?
Formula: SUM(FILTER(E1, B1=31))
Formula2: SUM(FILTER(E2:E11, B2:B11=31))
Level: easy
Question: What is the population density of Caramoran?
Formula: SUMIFS(F1,A1,"Caramoran")
Formula2: SUMIFS(F2:F11,A2:A11,"Caramoran")
Level: easy
Question: What municipality has a 130.6 pupulation density?
Formula: LET(query1,SUMMARIZE(A1,SUMX(F1)),FILTER(query1,CHOOSECOLS(query1,2)=130.6))
Formula2: LET(query1,SUMMARIZE(A2:A11,SUMX(F2:F11)),FILTER(query1,CHOOSECOLS(query1,2)=130.6))
Level: hard