Table:
0
A
B
C
D
E
F
1
Rank
Commodity
Value (Int $1000)
Production (MT)
Quantity world rank
Value world rank
2
1
Wheat
939150
6400000
19
17
3
2
Indigenous chicken meat
635889
446424
NA
NA
4
3
Olives
616541
770000
6
6
5
4
Tomatoes
480433
1300000
17
17
6
5
Indigenous cattle meat
433257
160384
NA
NA
7
6
Cow milk, whole, fresh
409566
1750000
NA
NA
8
7
Barley
389709
3800000
12
7
9
8
Indigenous sheep meat
325935
119706
NA
NA
10
9
Almonds, with shell
307240
104115
5
5
11
10
Oranges
231910
1200000
14
14
12
11
Potatoes
230032
1500000
NA
NA
13
12
Hen eggs, in shell
221668
267267
NA
NA
14
13
String beans
173716
182180
3
3
15
14
Grapes
171485
300000
NA
NA
16
15
Apples
169166
400000
NA
NA
17
16
Strawberries
168627
124239
11
11
18
17
Onions, dry
136521
650000
23
23
19
18
Other melons (inc.cantaloupes)
134386
730000
8
8
20
19
Tangerines, mandarins, clem.
128945
522000
12
12

Questions and formulas:
Question: when the value (int $1000) is 409566, what is the commodity?
Formula: LET(query1,SUMMARIZE(B1,SUMX(C1)),FILTER(query1,CHOOSECOLS(query1,2)=409566))
Formula2: LET(query1,SUMMARIZE(B2:B20,SUMX(C2:C20)),FILTER(query1,CHOOSECOLS(query1,2)=409566))
Level: hard
Question: When the value rank is 23, what is the value?
Formula: SUM(FILTER(C1, F1=23))
Formula2: SUM(FILTER(C2:C20, F2:F20=23))
Level: easy
Question: When the value world rank is 7, what is the rank?
Formula: SUM(FILTER(A1, F1=7))
Formula2: SUM(FILTER(A2:A20, F2:F20=7))
Level: easy
Question: When the production (mt) is 650000, what is the total number of rank?
Formula: SUM(FILTER(A1, D1=650000))
Formula2: SUM(FILTER(A2:A20, D2:D20=650000))
Level: easy
Question: When the production (mt) is 446424, what is the value world rank ?
Formula: LET(query1,SUMMARIZE(F1,SUMX(D1)),FILTER(query1,CHOOSECOLS(query1,2)=446424))
Formula2: LET(query1,SUMMARIZE(F2:F20,SUMX(D2:D20)),FILTER(query1,CHOOSECOLS(query1,2)=446424))
Level: hard
Question: where value world rank is 12, what is the quantity world rank?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,F1=12),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F20,F2:F20=12),5))
Level: medium