Table:
0
A
B
C
D
E
F
G
1
INEGI code
Municipality
Municipal Seat
Area (km 2 )
Population (2005)
Population density (/km 2 )
Human Development Index (2000)
2
1
Amealco de Bonfil
Amealco
682.1
56457
82.8
0.6803
3
2
Pinal de Amoles
Pinal de Amoles
705.37
25325
35.9
0.6659
4
3
Arroyo Seco
Arroyo Seco
731.17
12493
17.1
0.7029
5
4
Cadereyta de Montes
Cadereyta
1,131
57204
50.6
0.7074
6
5
Colón
Colón
807.15
51625
64.0
0.7036
7
6
Corregidora
El Pueblito
245.8
104218
424.0
0.8535
8
7
Ezequiel Montes
Ezequiel Montes
298.28
34729
116.4
0.7534
9
8
Huimilpan
Huimilpan
388.4
32728
84.3
0.6824
10
9
Jalpan de Serra
Jalpan
1,185.1
22025
18.6
0.7178
11
10
Landa de Matamoros
Landa de Matamoros
840.1
18905
22.5
0.6606
12
11
El Marqués
La Cañada
787.4
79743
101.3
0.7295
13
12
Pedro Escobedo
Pedro Escobedo
290.9
17007
58.5
0.7598
14
13
Peñamiller
Peñamiller
694.9
56553
81.4
0.7023
15
14
Querétaro
Santiago de Querétaro
759.9
734139
966.1
0.8560
16
15
San Joaquín
San Joaquín
499
7634
15.3
0.6593
17
16
San Juan del Río
San Juan del Río
799.9
208462
260.6
0.8035
18
17
Tequisquiapan
Tequisquiapan
343.6
54929
159.9
0.7827

Questions and formulas:
Question: What municipality where the human development index in the year 2000 was 0.7827?
Formula: LET(query1,SUMMARIZE(B1,SUMX(G1)),FILTER(query1,CHOOSECOLS(query1,2)=0.7827))
Formula2: LET(query1,SUMMARIZE(B2:B18,SUMX(G2:G18)),FILTER(query1,CHOOSECOLS(query1,2)=0.7827))
Level: hard
Question: What is the total number of population in the year 2005 where the population density 35.9 (/km 2)?
Formula: SUM(FILTER(E1, F1=35.9))
Formula2: SUM(FILTER(E2:E18, F2:F18=35.9))
Level: easy
Question: What is the human development index for the year 2000 where the ingei code is 10?
Formula: SUM(FILTER(G1, A1=10))
Formula2: SUM(FILTER(G2:G18, A2:A18=10))
Level: easy
Question: What is the area (km 2) where the population density (/mk2) is 84.3?
Formula: SUM(FILTER(D1, F1=84.3))
Formula2: SUM(FILTER(D2:D18, F2:F18=84.3))
Level: easy