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
Kolding FC
Johnny Mølby
Moved to Aarhus GF
31 May 2008
Frank Andersen
1 July 2008
Pre-Season
3
Lolland-Falster Alliancen
Per Berg Larsen
End of tenure as caretaker
30 June 2008
Jesper Hansen
1 July 2008
Pre-Season
4
Køge BK
Henrik Larsen
Mutual consent
4 July 2008
Jimmy Kastrup
4 July 2008
Pre-Season
5
Lyngby BK
Kasper Hjulmand
Mutual consent
7 July 2008
Henrik Larsen
15 July 2008
Pre-Season
6
Lolland-Falster Alliancen
Jesper Hansen
Sacked
8 October 2008
Per Berg Larsen
8 October 2009
16th
7
Hvidovre IF
Tom Nielsen
Sacked
9 November 2008
Kenneth Brylle Larsen
1 January 2009
10th
8
Silkeborg IF
Peder Knudsen
Sacked
12 November 2008
Troels Bech
1 January 2009
5th
9
FC Fredericia
Jan Vingaard
Sacked
19 December 2008
Peter Sørensen
20 December 2008
11th
10
Lolland-Falster Alliancen
Per Berg Larsen
End of tenure as caretaker
31 December 2008
Jesper Tollefsen
1 January 2009
16th
11
Lyngby BK
Henrik Larsen
Sacked
29 March 2009
Niels Frederiksen
29 March 2009
5th
12
Viborg FF
Hans Eklund
Sacked
8 April 2009
Søren Frederiksen
9 April 2009
3rd

Questions and formulas:
Question: What Outgoing manager left at his end of tenure as caretaker and was Replaced by Jesper Hansen?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,(C1="end of tenure as caretaker")*(E1="jesper hansen")),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G12,(C2:C12="end of tenure as caretaker")*(E2:E12="jesper hansen")),2))
Level: medium
Question: What Team's Pre-Season Manager's manner of departure was the end of tenure as caretaker?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,(G1="pre-season")*(C1="end of tenure as caretaker")),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G12,(G2:G12="pre-season")*(C2:C12="end of tenure as caretaker")),1))
Level: medium