Table:
0
A
B
C
D
E
F
1
Rank
Nation
Gold
Silver
Bronze
Total
2
1
Netherlands
5
1
0
6
3
2
Georgia
3
0
0
3
4
3
Great Britain
2
2
3
7
5
4
Belgium
2
0
2
4
6
5
France
1
1
7
9
7
6=
Poland
1
0
1
2
8
6=
Spain
1
0
1
2
9
8
Estonia
1
0
0
1
10
9
Italy
0
3
3
6
11
10
Russia
0
2
4
6
12
11
Germany
0
2
3
5
13
12
Austria
0
1
2
3
14
13
Turkey
0
1
1
2
15
14=
Hungary
0
1
0
1
16
14=
Moldova
0
1
0
1
17
14=
Portugal
0
1
0
1
18
17=
Ukraine
0
0
2
2
19
17=
Romania
0
0
2
2
20
18
Czech Republic
0
0
1
1

Questions and formulas:
Question: Which is the highest Gold that has a total smaller than 4 and a silver of 1, and a bronze smaller than 2, and a rank of 13?
Formula: MAX(FILTER(C1, (F1<4)*(D1=1)*(E1<2)*(A1=13)))
Formula2: MAX(FILTER(C2:C20, (F2:F20<4)*(D2:D20=1)*(E2:E20<2)*(A2:A20=13)))
Level: easy
Question: Which nation has a Bronze and Silver smaller than 1 and a Gold larger than 1?
Formula: LET(query1,SUMMARIZE(B1,SUMX(E1),SUMX(D1),SUMX(C1)),FILTER(query1,(CHOOSECOLS(query1,2)<1)*(CHOOSECOLS(query1,3)<1)*(CHOOSECOLS(query1,4)>1)))
Formula2: LET(query1,SUMMARIZE(B2:B20,SUMX(E2:E20),SUMX(D2:D20),SUMX(C2:C20)),FILTER(query1,(CHOOSECOLS(query1,2)<1)*(CHOOSECOLS(query1,3)<1)*(CHOOSECOLS(query1,4)>1)))
Level: hard