Table:
0
A
B
C
D
E
1
Election
First member
First party
Second member
Second party
2
1832
Hon. George Venables-Vernon
Whig
The Lord Waterpark
Whig
3
1835
Sir George Harpur Crewe, Bt
Tory
Sir Roger Gresley, Bt
Tory
4
1837
Sir George Harpur Crewe, Bt
Tory
Francis Hurt
Tory
5
1841
Edward Miller Mundy
Conservative
Charles Robert Colvile
Peelite
6
1849 by-election
William Mundy
Conservative
Charles Robert Colvile
Peelite
7
1857
William Evans
Liberal
Charles Robert Colvile
Peelite
8
1859
William Evans
Liberal
William Mundy
Conservative
9
1865
William Evans
Liberal
Charles Robert Colvile
Liberal
10
1868
Rowland Smith
Conservative
Sir Thomas Gresley, Bt
Conservative
11
1869 by-election
Rowland Smith
Conservative
Sir Henry Wilmot, Bt
Conservative
12
1874
William Evans
Liberal
Sir Henry Wilmot, Bt
Conservative
13
1885
radical boundary changes, reduced to one member
radical boundary changes, reduced to one member
radical boundary changes, reduced to one member
radical boundary changes, reduced to one member

Questions and formulas:
Question: Which election has a conservative first party, Rowland Smith as first member, and Sir Henry Wilmot, Bt as second member?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(C1="conservative")*(B1="rowland smith")*(D1="sir henry wilmot, bt")),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E13,(C2:C13="conservative")*(B2:B13="rowland smith")*(D2:D13="sir henry wilmot, bt")),1))
Level: medium
Question: Which of the first parties has second member as  Charles Robert Colvile, and a liberal second party?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(D1="charles robert colvile")*(E1="liberal")),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E13,(D2:D13="charles robert colvile")*(E2:E13="liberal")),3))
Level: medium
Question: Which election has second member Charles Robert Colvile, a conservative first party, and first member William Mundy?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(D1="charles robert colvile")*(C1="conservative")*(B1="william mundy")),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E13,(D2:D13="charles robert colvile")*(C2:C13="conservative")*(B2:B13="william mundy")),1))
Level: medium
Question: Which of the second parties has second member Charles Robert Colvile, a conservative first party, and first member William Mundy?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(D1="charles robert colvile")*(C1="conservative")*(B1="william mundy")),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E13,(D2:D13="charles robert colvile")*(C2:C13="conservative")*(B2:B13="william mundy")),5))
Level: medium
Question: Who is the first member in the 1868 election?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1=1868),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E13,A2:A13=1868),2))
Level: medium