Table:
0
A
B
C
D
E
F
1
Rank
Nation
Gold
Silver
Bronze
Total
2
1
Lithuania
20
20
22
62
3
2
Belarus
5
3
3
11
4
3
Latvia
1
1
2
4
5
4
Kenya
1
1
0
2
6
5
Poland
0
1
0
1
7
5
Germany
0
1
0
1
8
5
Australia
0
1
0
1
9
8
Estonia
0
0
1
1
10
8
United Kingdom
0
0
1
1

Questions and formulas:
Question: What is the highest total number of medals for a team ranked smaller than 1 and had 20 gold medals?
Formula: MAX(FILTER(F1, (C1=20)*(A1<1)))
Formula2: MAX(FILTER(F2:F10, (C2:C10=20)*(A2:A10<1)))
Level: easy
Question: What is the nation that had more than 1 gold medal and a total of 62 medals?
Formula: LET(query1,SUMMARIZE(B1,SUMX(C1),SUMX(F1)),FILTER(query1,(CHOOSECOLS(query1,2)>1)*(CHOOSECOLS(query1,3)=62)))
Formula2: LET(query1,SUMMARIZE(B2:B10,SUMX(C2:C10),SUMX(F2:F10)),FILTER(query1,(CHOOSECOLS(query1,2)>1)*(CHOOSECOLS(query1,3)=62)))
Level: hard
Question: What is the highest total medals when there were 0 gold medals and 1 silver?
Formula: MAX(FILTER(F1, (D1=1)*(C1<0)))
Formula2: MAX(FILTER(F2:F10, (D2:D10=1)*(C2:C10<0)))
Level: easy