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
Málaga
Antonio Tapia
Mutual consent
1 June 2009
Juan R. López Muñiz
13 June 2009
8th ( 2008–09 )
3
Real Madrid
Juande Ramos
End of contract
1 June 2009
Manuel Pellegrini
2 June 2009
2nd ( 2008–09 )
4
Villarreal
Manuel Pellegrini
Real Madrid purchased rights for €4m
2 June 2009
Ernesto Valverde
2 June 2009
5th ( 2008–09 )
5
Racing Santander
Juan R. López Muñiz
Mutual consent
13 June 2009
Juan Carlos Mandiá
26 June 2009
12th ( 2008–09 )
6
Xerez
Esteban Vigo
Mutual consent
28 June 2009
José Ángel Ziganda
8 July 2009
1st in Segunda División ( 2008–09 )
7
Atlético Madrid
Abel Resino
Sacked
23 October 2009
Quique Sánchez
23 October 2009
15th
8
Racing Santander
Juan Carlos Mandiá
Sacked
9 November 2009
Miguel Ángel Portugal
19 November 2009
17th
9
Zaragoza
Marcelino García Toral
Sacked
12 December 2009
José Aurelio Gay
23 December 2009
17th
10
Almería
Hugo Sánchez
Sacked
20 December 2009
Juan Manuel Lillo
23 December 2009
17th
11
Xerez
José Ángel Ziganda
Sacked
12 January 2010
Néstor Gorosito
19 January 2010
20th
12
Villarreal
Ernesto Valverde
Sacked
31 January 2010
Juan Carlos Garrido
1 February 2010
9th
13
Valladolid
José Luis Mendilibar
Sacked
1 February 2010
Onésimo Sánchez
1 February 2010
17th
14
Sevilla
Manolo Jiménez
Sacked
23 March 2010
Antonio Álvarez
26 March 2010
5th

Questions and formulas:
Question: Name the replaced by for 8 july 2009
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,F1="8 July 2009"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G14,F2:F14="8 July 2009"),5))
Level: medium
Question: Name the total number of replaced by for 13 june 2009
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,F1="13 June 2009"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G14,F2:F14="13 June 2009"),5))
Level: medium
Question: Name the date of vacancy for manuel pellegrini
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,B1="Manuel Pellegrini"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G14,B2:B14="Manuel Pellegrini"),4))
Level: medium