Table:
0
A
B
C
D
E
F
1
Team
Outgoing manager
Manner of departure
Date of vacancy
Replaced by
Date of appointment
2
Shahin Bushehr
Hamid Kolali Fard
Sacked
6 Sep 2009
Mahmoud Yavari
8 Sep 2009
3
Est.Ahvaz
Khodadad Azizi
Resigned
19 Sep 2009
Majid Bagherinia
20 Sep 2009
4
Foolad
Luka Bonačić
Sacked
28 Sep 2009
Majid Jalali
28 Sep 2009
5
Pas Hamedan
Alireza Mansourian
Resigned
6 Oct 2009
Ali Asghar Modir Roosta
8 Oct 2009
6
Aboomoslem
Nasser Pourmehdi
Sacked
29 Oct 2009
Farhad Kazemi
29 Oct 2009
7
Saba Qom
Mohammad Hossein Ziaei
Resigned
9 Nov 2009
Rasoul Korbekandi
9 Nov 2009
8
Mes Kerman
Parviz Mazloomi
Sacked
30 Nov 2009
Luka Bonačić
9 Dec 2009
9
Rah Ahan
Ernie Brandts
Sacked
12 Dec 2009
Mehdi Tartar
12 Dec 2009
10
Malavan
Mohammad Ahmadzadeh
Sacked
23 Dec 2009
Farhad Pourgholami
27 Dec 2009
11
Aboomoslem
Farhad Kazemi
Resigned
24 Dec 2009
Parviz Mazloomi
27 Dec 2009
12
Persepolis
Zlatko Kranjčar
Sacked
28 Dec 2009
Ali Daei
28 Dec 2009
13
Est.Ahvaz
Majid Bagherinia
Sacked
22 Jan 2010
Mohammad Ahmadzadeh
5 Feb 2010
14
Est.Ahvaz
Mohammad Ahmadzadeh
Resigned
9 Feb 2010
Mehdi Hasheminasab
17 Feb 2010
15
Moghavemat
Davoud Mahabadi
Resigned
26 Feb 2010
Mohammad Ahmadzadeh
1 Mar 2010
16
Aboomoslem
Parviz Mazloomi
Resigned
Mar2010
Ali Hanteh
Mar 2010
17
Est.Ahvaz
Mehdi Hasheminasab
Resigned
Apr 2010
Alireza Firouzi
Apr 2010

Questions and formulas:
Question: Who was the replacement manager for the vacancy of 12 Dec 2009?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,D1="12 Dec 2009"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F17,D2:D17="12 Dec 2009"),5))
Level: medium
Question: Who was the replacement manager for the vacancy of 12 Dec 2009?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,D1="12 Dec 2009"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F17,D2:D17="12 Dec 2009"),5))
Level: medium
Question: What team did Alireza mansourian leave?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Alireza Mansourian"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F17,B2:B17="Alireza Mansourian"),1))
Level: medium
Question: Why did Majid bagherinia leave?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Majid Bagherinia"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F17,B2:B17="Majid Bagherinia"),3))
Level: medium
Question: What team did a manager leave on 12 Dec 2009
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,D1="12 Dec 2009"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F17,D2:D17="12 Dec 2009"),1))
Level: medium
Question: How many teams did Farhad Kazemi leave?
Formula: ROWS(UNIQUE(FILTER(A1, B1="Farhad Kazemi")))
Formula2: ROWS(UNIQUE(FILTER(A2:A17, B2:B17="Farhad Kazemi")))
Level: medium