Table:
0
A
B
C
D
E
F
1
Rank
Constituency
Winning party 2007
Swing to gain
PC's place 2007
Result
2
1
Carmarthen West & South Pembrokeshire
Conservative
0.44
3rd
Conservative hold
3
2
Clwyd West
Conservative
3.33
3rd
Conservative hold
4
3
Neath
Labour
3.36
2nd
Labour hold
5
4
Caerphilly
Labour
4.38
2nd
Labour hold
6
5
Preseli Pembrokeshire
Conservative
6.92
3rd
Conservative hold

Questions and formulas:
Question: What rank was caerphilly with a Swing smaller than 6.92?
Formula: SUM(FILTER(A1, (D1<6.92)*(B1="caerphilly")))
Formula2: SUM(FILTER(A2:A6, (D2:D6<6.92)*(B2:B6="caerphilly")))
Level: easy
Question: What's the sum of swing to gain with a winning party 2007 of Conservative with a rank smaller than 5?
Formula: SUM(FILTER(D1, (C1="conservative")*(A1<5)))
Formula2: SUM(FILTER(D2:D6, (C2:C6="conservative")*(A2:A6<5)))
Level: easy