Table:
0
A
B
C
D
E
F
1
Name
Entered office
Left office
Political party
Monarchs served
Birth Place
2
David Lloyd George
7 December 1916
19 October 1922
National Liberal
George V
Manchester
3
Andrew Bonar Law
23 October 1922
20 May 1923
Conservative
George V
Rexton, Kent County, New Brunswick, Canada
4
Stanley Baldwin (1st ministry)
23 May 1923
16 January 1924
Conservative
George V
Bewdley, Worcestershire
5
Ramsay MacDonald (1st ministry)
22 January 1924
4 November 1924
Labour
George V
Lossiemouth, Moray
6
Stanley Baldwin (2nd ministry)
4 November 1924
5 June 1929
Conservative
George V
Bewdley, Worcestershire
7
Ramsay MacDonald (2nd ministry)
5 June 1929
24 August 1931
Labour
George V
Lossiemouth, Moray
8
Ramsay MacDonald (3rd ministry)
24 August 1931
7 June 1935
National Labour ( National Government )
George V
Lossiemouth, Moray
9
Stanley Baldwin (3rd ministry)
7 June 1935
28 May 1937
Conservative ( National Government )
George V, Edward VIII , George VI
Bewdley, Worcestershire
10
Neville Chamberlain
28 May 1937
10 May 1940
Conservative ( National Government )
George VI
Birmingham, West Midlands

Questions and formulas:
Question: What is the birth place of the prime minister who served George V and entered office on 23 October 1922?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,(E1="george v")*(B1="23 october 1922")),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F10,(E2:E10="george v")*(B2:B10="23 october 1922")),6))
Level: medium
Question: To which political party did the prime minister who served under George V and was born in Manchester belong?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,(E1="george v")*(F1="manchester")),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F10,(E2:E10="george v")*(F2:F10="manchester")),4))
Level: medium
Question: What date did the prime minister who entered office on 7 December 1916 leave office?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="7 december 1916"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F10,B2:B10="7 december 1916"),3))
Level: medium
Question: What monarch(s) did Stanley Baldwin (1st ministry) serve?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="stanley baldwin (1st ministry)"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F10,A2:A10="stanley baldwin (1st ministry)"),5))
Level: medium