Table:
0
A
B
C
D
E
1
Name
Scotland career
Caps
Goals
Average
2
Denis Law
1958–1974
55
30
0.545
3
Kenny Dalglish
1971–1986
102
30
0.294
4
Hughie Gallacher
1924–1935
20
23
1.15
5
Lawrie Reilly
1948–1957
38
22
0.579
6
Ally McCoist
1986–1998
61
19
0.311
7
Kenny Miller
2001–2013
69
18
0.261
8
Robert Hamilton
1899–1911
11
15
1.364
9
James McFadden
2002–2010
48
15
0.313
10
Mo Johnston
1984–1991
38
14
0.368
11
Robert Smith McColl
1896–1908
13
13
1
12
Andrew Wilson
1920–1923
12
13
1.083

Questions and formulas:
Question: What is the average cap number in scotland in 1986–1998 leass than 69?
Formula: SUM(FILTER(E1, (C1<69)*(B1="1986–1998")))
Formula2: SUM(FILTER(E2:E12, (C2:C12<69)*(B2:B12="1986–1998")))
Level: easy
Question: Which caps was in scotland in 1920–1923?
Formula: SUMIFS(C1,B1,"1920–1923")
Formula2: SUMIFS(C2:C12,B2:B12,"1920–1923")
Level: easy
Question: What is the goal low with caps less than 38 and an average less than 1.083?
Formula: MIN(FILTER(D1, (C1<38)*(E1<1.083)))
Formula2: MIN(FILTER(D2:D12, (C2:C12<38)*(E2:E12<1.083)))
Level: easy
Question: What is the goal top with caps of 38 and an average less than 0.579?
Formula: SUM(FILTER(D1, (C1=38)*(E1<0.579)))
Formula2: SUM(FILTER(D2:D12, (C2:C12=38)*(E2:E12<0.579)))
Level: easy
Question: What is the low goal for kenny miller with an average smaller than 0.261?
Formula: MIN(FILTER(D1, (A1="kenny miller")*(E1<0.261)))
Formula2: MIN(FILTER(D2:D12, (A2:A12="kenny miller")*(E2:E12<0.261)))
Level: easy