Table:
0
A
B
C
D
E
F
1
Rank
Nation
Gold
Silver
Bronze
Total
2
1
United States (USA)
6
2
1
9
3
2
Brazil (BRA)
2
6
3
11
4
3
Australia (AUS)
1
0
1
2
5
3
Germany (GER)
1
0
1
2
6
5
China (CHN)
0
1
1
2
7
6
Spain (ESP)
0
1
0
1
8
7
Canada (CAN)
0
0
1
1
9
7
Latvia (LAT)
0
0
1
1
10
7
Switzerland (SUI)
0
0
1
1
11
Total
Total
10
10
10
30

Questions and formulas:
Question: When bronze is more than 3, what is the rank?
Formula: LET(query1,SUMMARIZE(A1,SUMX(E1)),FILTER(query1,CHOOSECOLS(query1,2)>3))
Formula2: LET(query1,SUMMARIZE(A2:A11,SUMX(E2:E11)),FILTER(query1,CHOOSECOLS(query1,2)>3))
Level: hard
Question: When rank is 7 and silver is less than 0, what is the total gold?
Formula: SUM(FILTER(C1, (A1=7)*(D1<0)))
Formula2: SUM(FILTER(C2:C11, (A2:A11=7)*(D2:D11<0)))
Level: easy