Table:
0
A
B
C
D
E
F
G
H
1
Department
Projects
Municipalities
Farmers
Irrigated Ha
BID/PRONAR Investment (US$)
Local Investment (US$)
Total
2
Cochabamba
20
16
3210
1983
2,365,141
626,798
2,991,939
3
Chuquisaca
34
16
1612
2367
2,719,142
780,009
3,499,151
4
La Paz
32
19
3077
4584
3, 201,460
979,723
4, 181,183
5
Oruro
26
7
1326
1885
1, 740,746
548,554
2, 289,300
6
Potosi
12
4
1300
706
1, 047,322
359,058
1, 406, 380
7
Santa Cruz
9
8
554
699
912,185
265,932
1, 1778,117
8
Tarija
25
13
1477
2170
2, 727,255
897, 336
3, 624,590

Questions and formulas:
Question: What was the local investment (in $) in the projects of the department with $912,185 BID/PRONAR investment?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,F1=912185),7))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H8,F2:F8=912185),7))
Level: medium
Question: How many farmers were included by the department with 32 projects?
Formula: SUM(FILTER(D1, B1=32))
Formula2: SUM(FILTER(D2:D8, B2:B8=32))
Level: easy
Question: What department irrigated 2170 Ha?
Formula: LET(query1,SUMMARIZE(A1,SUMX(E1)),FILTER(query1,CHOOSECOLS(query1,2)=2170))
Formula2: LET(query1,SUMMARIZE(A2:A8,SUMX(E2:E8)),FILTER(query1,CHOOSECOLS(query1,2)=2170))
Level: hard
Question: What was the BID/PRONAR investment (in $) in the department that included 1326 farmers in its projects?
Formula: LET(query1,SUMMARIZE(F1,SUMX(D1)),FILTER(query1,CHOOSECOLS(query1,2)=1326))
Formula2: LET(query1,SUMMARIZE(F2:F8,SUMX(D2:D8)),FILTER(query1,CHOOSECOLS(query1,2)=1326))
Level: hard
Question: What was the department that got $626,798 in local investments?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,G1=626798),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H8,G2:G8=626798),1))
Level: medium