Table:
0
A
B
C
D
E
F
1
Country
Total
Marathon (men's)
Marathon (women's)
Half Marathon (men's)
Half Marathon (women's)
2
Latvia
27
10
8
4
5
3
Kenya
7
5
0
1
1
4
Lithuania
7
3
3
1
0
5
Belarus
6
2
4
0
0
6
Russia
5
1
2
1
1
7
Estonia
4
0
3
1
0
8
Ethiopia
2
0
2
0
0
9
Morocco
1
1
0
0
0
10
Kazakhstan
1
1
0
0
0
11
Moldova
1
0
1
0
0
12
United Kingdom
1
0
0
0
1

Questions and formulas:
Question: When the total winners was smaller than 2 and 2 woman won, what's the average of the men's half marathon winners?
Formula: AVERAGE(FILTER(E1, (D1=2)*(B1<2)))
Formula2: AVERAGE(FILTER(E2:E12, (D2:D12=2)*(B2:B12<2)))
Level: easy