Table:
0
A
B
C
D
E
F
1
Team
Outgoing manager
Manner of departure
Date of vacancy
Replaced by
Date of appointment
2
Dundee United
Tommy McLean
Mutual consent
4 September 1997
Paul Sturrock
5 September 1997
3
St. Johnstone
Paul Sturrock
Resigned
5 September 1997
Sandy Clark
7 September 1997
4
Motherwell
Harri Kampman
Resigned
15 October 1997
Billy Davies
15 October 1997
5
Aberdeen
Alex Miller
Sacked
8 December 1997
Paul Hegarty (Caretaker)
8 December 1997
6
Dunfermline Athletic
Bert Paton
Resigned
5 January 1998
Dick Campbell (Caretaker)
5 January 1998
7
Rangers
Walter Smith
Resigned
May 1998
Dick Advocaat
June 1998
8
Celtic
Wim Jansen
Resigned
May 1998
Jozef Vengloš
June 1998

Questions and formulas:
Question: Who is the Outgoing Manager replaced by Sandy Clark?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,E1="sandy clark"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F8,E2:E8="sandy clark"),2))
Level: medium
Question: What is the Date of vacancy for Tommy McLean?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="tommy mclean"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F8,B2:B8="tommy mclean"),4))
Level: medium