Table:
0
A
B
C
D
E
F
G
1
Election
First member
First party
Second member
Second party
Third member
Third party
2
1832
Edward Thomas Foley
Tory
Kedgwin Hoskins
Liberal
Sir Robert Price, Bt
Liberal
3
1834
Edward Thomas Foley
Conservative
Kedgwin Hoskins
Liberal
Sir Robert Price, Bt
Liberal
4
1841
Thomas Baskerville
Conservative
Kedgwin Hoskins
Liberal
Joseph Bailey
Conservative
5
1847
Francis Richard Haggitt (F.R. Wegg-Prosser, 1849)
Conservative
George Cornewall Lewis
Liberal
Joseph Bailey
Conservative
6
1850
Francis Richard Haggitt (F.R. Wegg-Prosser, 1849)
Conservative
George Cornewall Lewis
Liberal
Thomas William Booker-Blakemore
Conservative
7
1852
James King King
Conservative
Hon. Charles Hanbury
Conservative
Thomas William Booker-Blakemore
Conservative
8
1857
James King King
Conservative
Sir Geers Cotterell, Bt
Liberal
Thomas William Booker-Blakemore
Conservative
9
1858
James King King
Conservative
Sir Geers Cotterell, Bt
Liberal
Lord Montagu Graham
Conservative
10
1859
James King King
Conservative
Humphrey Mildmay
Liberal
Lord Montagu Graham
Conservative
11
1865
James King King
Conservative
Sir Joseph Bailey
Conservative
Michael Biddulph
Liberal
12
1868
Sir Herbert Croft, Bt
Conservative
Sir Joseph Bailey
Conservative
Michael Biddulph
Liberal
13
1874
Daniel Peploe
Conservative
Sir Joseph Bailey
Conservative
Michael Biddulph
Liberal
14
1880
Thomas Duckham
Liberal
Sir Joseph Bailey
Conservative
Michael Biddulph
Liberal
15
1885
Constituency abolished: see Leominster and Ross .
Constituency abolished: see Leominster and Ross .
Constituency abolished: see Leominster and Ross .
Constituency abolished: see Leominster and Ross .
Constituency abolished: see Leominster and Ross .
Constituency abolished: see Leominster and Ross .

Questions and formulas:
Question: Who is the second member for the Second Party Liberal, and the Third Party Conservative, after the 1841 election?
Formula: LET(query1,LET(query1,FILTER(A1:G1,(E1="liberal")*(G1="conservative")),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,1)))),FILTER(query1,CHOOSECOLS(query1,2)>1841))
Formula2: LET(query1,LET(query1,FILTER(A2:G15,(E2:E15="liberal")*(G2:G15="conservative")),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,1)))),FILTER(query1,CHOOSECOLS(query1,2)>1841))
Level: hard
Question: Who is the third member of the Liberal Party, a third party conservative, the second member Humphrey Mildmay?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,(E1="liberal")*(G1="conservative")*(D1="humphrey mildmay")),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G15,(E2:E15="liberal")*(G2:G15="conservative")*(D2:D15="humphrey mildmay")),6))
Level: medium
Question: Who is the third member of the third conservative party, and the second liberal party?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,(G1="conservative")*(E1="liberal")),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G15,(G2:G15="conservative")*(E2:E15="liberal")),6))
Level: medium
Question: What was the highest election with third party member Sir Robert Price, BT, and first party member conservative?
Formula: MAX(FILTER(A1, (F1="sir robert price, bt")*(C1="conservative")))
Formula2: MAX(FILTER(A2:A15, (F2:F15="sir robert price, bt")*(C2:C15="conservative")))
Level: easy