Table:
0
A
B
C
D
E
F
1
Rank
Nation
Gold
Silver
Bronze
Total
2
1
Canada
2
1
0
3
3
2
Brazil
2
0
1
3
4
3
Great Britain
1
1
1
3
5
4
Hungary
1
0
1
2
6
5
Austria
1
0
0
1
7
5
Romania
1
0
0
1
8
7
Germany
0
1
1
2
9
7
Italy
0
1
1
2
10
7
Poland
0
1
1
2
11
7
Spain
0
1
1
2
12
7
United States
0
1
1
2
13
12
Russia
0
1
0
1
14
Total
Total
8
8
8
24

Questions and formulas:
Question: Can you tell me the Gold that has the Total larger than 2, and the Bronze smaller than 1?
Formula: SUM(FILTER(C1, (F1>2)*(E1<1)))
Formula2: SUM(FILTER(C2:C14, (F2:F14>2)*(E2:E14<1)))
Level: easy
Question: Can you tell me the Nation that has the Bronze of 1, and the Gold of 0?
Formula: LET(query1,SUMMARIZE(B1,SUMX(E1),SUMX(C1)),FILTER(query1,(CHOOSECOLS(query1,2)=1)*(CHOOSECOLS(query1,3)=0)))
Formula2: LET(query1,SUMMARIZE(B2:B14,SUMX(E2:E14),SUMX(C2:C14)),FILTER(query1,(CHOOSECOLS(query1,2)=1)*(CHOOSECOLS(query1,3)=0)))
Level: hard
Question: Can you tell me the average Total that has the Silver larger than 1, and the Bronze smaller than 8?
Formula: AVERAGE(FILTER(F1, (D1>1)*(E1<8)))
Formula2: AVERAGE(FILTER(F2:F14, (D2:D14>1)*(E2:E14<8)))
Level: easy