Table:
0
A
B
C
D
E
1
Election
1st Member
1st Party
2nd Member
2nd Party
2
1832
Charles Shaw-Lefevre
Liberal
James Winter Scott
Liberal Party
3
1837
Charles Shaw-Lefevre
Liberal
Sir William Heathcote, Bt
Conservative
4
1849 by-election
Charles Shaw-Lefevre
Liberal
Melville Portal
Conservative
5
1857
William Wither Bramston Beach
Conservative
George Sclater-Booth
Conservative
6
1885
constituency abolished
constituency abolished
constituency abolished
constituency abolished

Questions and formulas:
Question: Which election has a 1st Member of constituency abolished?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="constituency abolished"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,B2:B6="constituency abolished"),1))
Level: medium
Question: Which 1st Party has an Election of 1849 by-election?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="1849 by-election"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,A2:A6="1849 by-election"),3))
Level: medium
Question: Which 1st Party has a 2nd Party of conservative, and a 1st Member of william wither bramston beach?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(E1="conservative")*(B1="william wither bramston beach")),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,(E2:E6="conservative")*(B2:B6="william wither bramston beach")),3))
Level: medium
Question: Which 2nd Party has a 1st Member of william wither bramston beach?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="william wither bramston beach"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,B2:B6="william wither bramston beach"),5))
Level: medium
Question: Which 2nd Party has an Election of 1837?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="1837"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,A2:A6="1837"),5))
Level: medium
Question: Which 1st Party has a 1st Member of william wither bramston beach?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="william wither bramston beach"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,B2:B6="william wither bramston beach"),3))
Level: medium