Table:
0
A
B
C
D
E
F
1
Rank
Nation
Gold
Silver
Bronze
Total
2
1
Great Britain
9
7
3
19
3
2
Germany
5
5
4
14
4
3
Netherlands
5
3
1
9
5
4
United States of America
3
2
3
8
6
5
Belgium
1
2
1
4
7
6
United Arab Emirates
1
1
1
3
8
7
Australia
1
0
2
3
9
8
Spain
1
0
0
1
10
8
Switzerland
1
0
0
1
11
10
Denmark
0
3
3
6
12
11
France
0
2
1
3
13
12
Canada
0
1
2
3
14
13
Saudi Arabia
0
1
0
1
15
14
New Zealand
0
0
2
2
16
15
Austria
0
0
1
1
17
15
Finland
0
0
1
1
18
15
Italy
0
0
1
1
19
15
Norway
0
0
1
1
20
Total
Total
27
27
27
81

Questions and formulas:
Question: Which rank has a total less than 9, less than 2 bronze, and from France?
Formula: LET(query1,LET(query1,FILTER(A1:F1,B1="france"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,6)),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,(CHOOSECOLS(query1,2)<9)*(CHOOSECOLS(query1,3)<2)))
Formula2: LET(query1,LET(query1,FILTER(A2:F20,B2:B20="france"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,6)),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,(CHOOSECOLS(query1,2)<9)*(CHOOSECOLS(query1,3)<2)))
Level: hard
Question: Which rank has more than 1 silver, more than 1 gold, and more than 4 bronze?
Formula: LET(query1,SUMMARIZE(A1,SUMX(D1),SUMX(C1),SUMX(E1)),FILTER(query1,(CHOOSECOLS(query1,2)>1)*(CHOOSECOLS(query1,3)>1)*(CHOOSECOLS(query1,4)>4)))
Formula2: LET(query1,SUMMARIZE(A2:A20,SUMX(D2:D20),SUMX(C2:C20),SUMX(E2:E20)),FILTER(query1,(CHOOSECOLS(query1,2)>1)*(CHOOSECOLS(query1,3)>1)*(CHOOSECOLS(query1,4)>4)))
Level: hard
Question: How many silver have a Total smaller than 3, a Bronze of 1, and a Gold larger than 0?
Formula: SUM(FILTER(D1, (F1<3)*(E1=1)*(C1>0)))
Formula2: SUM(FILTER(D2:D20, (F2:F20<3)*(E2:E20=1)*(C2:C20>0)))
Level: easy
Question: How many gold have a National of New Zealand with a total less than 2?
Formula: SUM(FILTER(C1, (B1="new zealand")*(F1<2)))
Formula2: SUM(FILTER(C2:C20, (B2:B20="new zealand")*(F2:F20<2)))
Level: easy