Table:
0
A
B
C
D
E
F
G
1
Team
Outgoing manager
Manner of departure
Date of vacancy
Replaced by
Date of appointment
Position in table
2
Manchester City
Stuart Pearce
Contract terminated
14 May 2007
Sven-Göran Eriksson
6 July 2007
Pre-season
3
Chelsea
José Mourinho
Mutual consent
20 September 2007
Avram Grant
20 September 2007
5th
4
Bolton Wanderers
Sammy Lee
Mutual consent
17 October 2007
Gary Megson
25 October 2007
19th
5
Tottenham Hotspur
Martin Jol
Contract terminated
25 October 2007
Juande Ramos
27 October 2007
18th
6
Wigan Athletic
Chris Hutchings
Contract terminated
5 November 2007
Steve Bruce
26 November 2007
18th
7
Birmingham City
Steve Bruce
Wigan purchased rights for £3m
19 November 2007
Alex McLeish
28 November 2007
15th
8
Derby County
Billy Davies
Mutual consent
26 November 2007
Paul Jewell
28 November 2007
20th
9
Fulham
Lawrie Sanchez
Contract terminated
21 December 2007
Roy Hodgson
30 December 2007
18th
10
Newcastle United
Sam Allardyce
Mutual consent
9 January 2008
Kevin Keegan
16 January 2008
11th
11
Chelsea
Avram Grant
Contract terminated
24 May 2008
Luiz Felipe Scolari
1 July 2008
Post-season (2nd)
12
Manchester City
Sven-Göran Eriksson
Mutual consent
2 June 2008
Mark Hughes
4 June 2008
Post-season (9th)

Questions and formulas:
Question: What is the date of vacancy when the date of appointment is 28 november 2007 and replaced by is alex mcleish?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,(F1="28 November 2007")*(E1="Alex McLeish")),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G12,(F2:F12="28 November 2007")*(E2:E12="Alex McLeish")),4))
Level: medium
Question: What is the date of appointment when the date of vacancy is 21 december 2007?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,D1="21 December 2007"),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G12,D2:D12="21 December 2007"),6))
Level: medium
Question: Who replaced when team is wigan athletic?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,A1="Wigan Athletic"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G12,A2:A12="Wigan Athletic"),5))
Level: medium
Question: What is the date of vacancy when the team is manchester city and replaced by is mark hughes?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,(A1="Manchester City")*(E1="Mark Hughes")),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G12,(A2:A12="Manchester City")*(E2:E12="Mark Hughes")),4))
Level: medium
Question: What is the date of appointment when replaced by is roy hodgson?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,E1="Roy Hodgson"),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G12,E2:E12="Roy Hodgson"),6))
Level: medium
Question: Who replaced when position in table is pre-season?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,G1="Pre-season"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G12,G2:G12="Pre-season"),5))
Level: medium