Table:
0
A
B
C
D
E
F
1
Rank
Nation
Gold
Silver
Bronze
Total
2
1
Soviet Union
11
4
2
17
3
2
Hungary
2
1
1
4
4
3
Poland
2
1
0
3
5
4
North Korea
2
0
0
2
6
5
Bulgaria
1
4
5
10
7
6
United States
1
3
3
7
8
7
Cuba
1
0
1
2
9
7
Sweden
1
0
1
2
10
9
East Germany
0
2
1
3
11
10
Japan
0
1
1
2
12
10
Romania
0
1
1
2
13
12
Finland
0
1
0
1
14
12
Norway
0
1
0
1
15
14
Czechoslovakia
0
0
2
2
16
15
Greece
0
0
1
1
17
15
Mongolia
0
0
1
1
18
15
West Germany
0
0
1
1
19
Total
Total
21
19
21
61

Questions and formulas:
Question: Which nation has a bronze greater than 0, a gold greater than 0, a silver greater than 0, and 5 as the rank?
Formula: LET(query1,LET(query1,FILTER(A1:F1,A1=5),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,5)),SUMX(CHOOSECOLS(query1,3)),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,(CHOOSECOLS(query1,2)>0)*(CHOOSECOLS(query1,3)>0)*(CHOOSECOLS(query1,4)>0)))
Formula2: LET(query1,LET(query1,FILTER(A2:F19,A2:A19=5),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,5)),SUMX(CHOOSECOLS(query1,3)),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,(CHOOSECOLS(query1,2)>0)*(CHOOSECOLS(query1,3)>0)*(CHOOSECOLS(query1,4)>0)))
Level: hard
Question: What nation has 1 as the gold and 2 as the total?
Formula: LET(query1,SUMMARIZE(B1,SUMX(C1),SUMX(F1)),FILTER(query1,(CHOOSECOLS(query1,2)=1)*(CHOOSECOLS(query1,3)=2)))
Formula2: LET(query1,SUMMARIZE(B2:B19,SUMX(C2:C19),SUMX(F2:F19)),FILTER(query1,(CHOOSECOLS(query1,2)=1)*(CHOOSECOLS(query1,3)=2)))
Level: hard
Question: What rank has 0 as the bronze, and a total less than 3, with north korea as the nation?
Formula: LET(query1,LET(query1,FILTER(A1:F1,B1="north korea"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,5)),SUMX(CHOOSECOLS(query1,6)))),FILTER(query1,(CHOOSECOLS(query1,2)=0)*(CHOOSECOLS(query1,3)<3)))
Formula2: LET(query1,LET(query1,FILTER(A2:F19,B2:B19="north korea"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,5)),SUMX(CHOOSECOLS(query1,6)))),FILTER(query1,(CHOOSECOLS(query1,2)=0)*(CHOOSECOLS(query1,3)<3)))
Level: hard
Question: How many golds have a bronze less than 1, and a silver less than 1?
Formula: SUM(FILTER(C1, (E1<1)*(D1<1)))
Formula2: SUM(FILTER(C2:C19, (E2:E19<1)*(D2:D19<1)))
Level: easy
Question: What average total has cuba as the nation, and a bronze greater than 1?
Formula: AVERAGE(FILTER(F1, (B1="cuba")*(E1>1)))
Formula2: AVERAGE(FILTER(F2:F19, (B2:B19="cuba")*(E2:E19>1)))
Level: easy
Question: What is the highest total that has a bronze greater than 1, a gold greater than 1, with a silver less than 4?
Formula: MAX(FILTER(F1, (E1>1)*(C1>1)*(D1<4)))
Formula2: MAX(FILTER(F2:F19, (E2:E19>1)*(C2:C19>1)*(D2:D19<4)))
Level: easy