Table:
0
A
B
C
D
E
1
Name
Entered Office
Left Office
Party
First Minister
2
Name
Entered Office
Left Office
Party
First Minister
3
Jack McConnell
1 November 2000
22 November 2001
Labour Party
Henry McLeish
4
Minister for Tourism, Culture and Sport
Minister for Tourism, Culture and Sport
Minister for Tourism, Culture and Sport
Minister for Tourism, Culture and Sport
Minister for Tourism, Culture and Sport
5
Mike Watson
28 November 2001
28 November 2002
Labour Party
Jack McConnell
6
Elaine Murray
28 November 2002
21 May 2003
Labour Party
Jack McConnell
7
Frank McAveety
21 May 2003
4 October 2004
Labour Party
Jack McConnell
8
Patricia Ferguson
4 October 2004
19 February 2007
Labour Party
Jack McConnell
9
Cabinet Secretary for Culture and External Affairs
Cabinet Secretary for Culture and External Affairs
Cabinet Secretary for Culture and External Affairs
Cabinet Secretary for Culture and External Affairs
Cabinet Secretary for Culture and External Affairs
10
Fiona Hyslop
19 May 2011
incumbent
Scottish National Party
Alex Salmond

Questions and formulas:
Question: What is the name of the party called name?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="name"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E10,A2:A10="name"),4))
Level: medium
Question: What is the Left Office of cabinet secretary for culture and external affairs named?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="cabinet secretary for culture and external affairs"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E10,C2:C10="cabinet secretary for culture and external affairs"),1))
Level: medium
Question: What left office does the First Minister of henry mcleish belong to?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="henry mcleish"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E10,E2:E10="henry mcleish"),3))
Level: medium