Table:
0
A
B
C
D
E
F
1
Rank
Nation
Gold
Silver
Bronze
Total
2
1
Hong Kong (HKG)
8
5
1
14
3
2
France (FRA)
2
0
3
5
4
3
Poland (POL)
1
6
5
12
5
4
China (CHN)
1
1
1
3
6
5
Thailand (THA)
1
0
1
2
7
5
Ukraine (UKR)
1
0
1
2
8
7
Italy (ITA)
1
0
0
1
9
8
Hungary (HUN)
0
3
2
5
10
9
United States (USA)
0
0
1
1

Questions and formulas:
Question: Which country is ranked number 2 and has less than 5 total medals?
Formula: SUM(FILTER(D1, (A1=2)*(F1<5)))
Formula2: SUM(FILTER(D2:D10, (A2:A10=2)*(F2:F10<5)))
Level: easy