Table:
0
A
B
C
D
E
F
1
Rank
Constituency
Winning party 2007
Swing to gain
LD's place 2007
Result
2
1
Argyll & Bute
SNP
1.41
2nd
SNP hold
3
2
Aberdeen Central
SNP
1.70
3rd
SNP hold
4
3
Midlothian South, Tweeddale & Lauderdale
SNP
1.66
2nd
SNP hold
5
4
Ettrick, Roxburgh & Berwickshire
Conservative
2.61
2nd
Con hold
6
5
Edinburgh Northern and Leith
Labour
4.16
3rd
Labour hold

Questions and formulas:
Question: what is the constituency when the swing to gain is less than 4.16, the winning party 2007 is snp and ld's place 2007 is 2nd?
Formula: FILTER(B1,(D1<4.16)*(C1="snp")*(E1="2nd"))
Formula2: FILTER(B2:B6,(D2:D6<4.16)*(C2:C6="snp")*(E2:E6="2nd"))
Level: easy
Question: how many times is the constituency edinburgh northern and leith?
Formula: ROWS(FILTER(D1,B1="edinburgh northern and leith"))
Formula2: ROWS(FILTER(D2:D6,B2:B6="edinburgh northern and leith"))
Level: easy
Question: what is the constituency when the rank is less than 5 and the result is con hold?
Formula: FILTER(B1,(A1<5)*(F1="con hold"))
Formula2: FILTER(B2:B6,(A2:A6<5)*(F2:F6="con hold"))
Level: easy
Question: what is the lowest rank when the constituency is edinburgh northern and leith and the swing to gain is less than 4.16?
Formula: MIN(FILTER(A1,(B1="edinburgh northern and leith")*(D1<4.16)))
Formula2: MIN(FILTER(A2:A6,(B2:B6="edinburgh northern and leith")*(D2:D6<4.16)))
Level: easy