Table:
0
A
B
C
D
E
F
1
Party
Previous council
Staying councillors
Seats up for election
Election result
New council
2
Conservatives
29
19
10
9
27
3
Labour
23
17
6
7
24
4
Socialist Alternative
2
1
1
1
2
5
Liberal Democrats
1
0
1
0
1
6
British National Party
0
0
0
0
0
7
Green
0
0
0
0
0
8
Independent
0
0
0
0
0
9
Total
54
36
18
18
54

Questions and formulas:
Question: What is the average new council number when the election result is smaller than 0?
Formula: AVERAGE(FILTER(F1, E1<0))
Formula2: AVERAGE(FILTER(F2:F9, E2:E9<0))
Level: easy
Question: How many seats were up for election during the vote where the election result was 9 and the new council 27?
Formula: SUM(FILTER(D1, (E1=9)*(F1>27)))
Formula2: SUM(FILTER(D2:D9, (E2:E9=9)*(F2:F9>27)))
Level: easy
Question: How many staying councillors were there when the election result was larger than 0, the new council less than 27 and the party conservatives?
Formula: SUM(FILTER(C1, (E1>0)*(A1="conservatives")*(F1<27)))
Formula2: SUM(FILTER(C2:C9, (E2:E9>0)*(A2:A9="conservatives")*(F2:F9<27)))
Level: easy