Table:
0
A
B
C
D
E
1
Team 1
Agg.
Team 2
1st leg
2nd leg
2
Real Madrid C
3–0
Daimiel
1–0
2–0
3
Sestao
0–6
Lemona
0–3
0–3
4
Coruxo
4–5
Ourense
3–2
1–3
5
Racing B
6–4
Zalla
6–1
0–3
6
Utebo
3–4
Espanyol B
3–1
0–3
7
Noja
1–1 ( p )
Amorebieta
0–1
1–0
8
Mirandés
2–3
ADF Logroñés
0–3
2–0
9
Haro
5–4
Oberena
2–2
3–2
10
Las Zocas
2–5
Ferriolense
2–0
0–5
11
Real Zaragoza B
2–4
Reus
1–3
1–1
12
Mazarrón
4–4( a )
Lorca
1–1
3–3
13
Tuilla
3–1
Laguna
2–0
1–1
14
Linares
7–4
Pinatar
2–1
5–3
15
La Nucía
2–3
Marbella
0–1
2–2
16
Alcalá
2–3
SS Reyes
2–1
0–2
17
Jerez
0–1
Don Benito
0–0
0–1

Questions and formulas:
Question: What is the 2nd Leg, when Team 2 is Marbella?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="marbella"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E17,C2:C17="marbella"),5))
Level: medium