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

Questions and formulas:
Question: When was the date of appointment for St. Johnstone's manager? 
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="St. Johnstone"),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F7,A2:A7="St. Johnstone"),6))
Level: medium
Question: Who was the outgoing manager for Aberdeen? 
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="Aberdeen"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F7,A2:A7="Aberdeen"),2))
Level: medium
Question: When was the date of appointment for the manager replacing Wim Jansen? 
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Wim Jansen"),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F7,B2:B7="Wim Jansen"),6))
Level: medium