Table:
0
A
B
C
D
E
F
1
Rank
Nation
Gold
Silver
Bronze
Total
2
1
China
7
4
1
12
3
2
Russia
2
4
4
10
4
3
Thailand
1
3
1
5
5
4
South Korea
1
2
0
2
6
5
Azerbaijan
1
0
0
1
7
5
Chinese Taipei
1
0
0
1
8
5
Iran
1
0
0
1
9
5
Kazakhstan
1
0
0
1
10
9
Romania
0
1
1
2
11
10
Moldova
0
1
0
1
12
11
Qatar
0
0
2
2
13
12
Bulgaria
0
0
1
1
14
12
Dominican Republic
0
0
1
1
15
12
France
0
0
1
1
16
12
Slovakia
0
0
1
1
17
12
United States
0
0
1
1
18
12
Vietnam
0
0
1
1
19
Total
Total
15
15
15
45

Questions and formulas:
Question: what is the highest gold when the rank is 12 for the nation vietnam?
Formula: MAX(FILTER(C1, (A1=12)*(B1="vietnam")))
Formula2: MAX(FILTER(C2:C19, (A2:A19=12)*(B2:B19="vietnam")))
Level: easy
Question: what is the total when the rank is 4?
Formula: SUM(FILTER(F1, A1=4))
Formula2: SUM(FILTER(F2:F19, A2:A19=4))
Level: easy
Question: what is the nation when the gold is 1 and bronze is larger than 0?
Formula: LET(query1,SUMMARIZE(B1,SUMX(C1),SUMX(E1)),FILTER(query1,(CHOOSECOLS(query1,2)=1)*(CHOOSECOLS(query1,3)>0)))
Formula2: LET(query1,SUMMARIZE(B2:B19,SUMX(C2:C19),SUMX(E2:E19)),FILTER(query1,(CHOOSECOLS(query1,2)=1)*(CHOOSECOLS(query1,3)>0)))
Level: hard