Table:
0
A
B
C
D
E
1
Team 1
Agg.
Team 2
1st leg
2nd leg
2
Real Unión
( a ) 6–6
Real Madrid
3–2
3–4
3
Portugalete
1–7
Valencia
1–4
0–3
4
Ponferradina
1–4
Sevilla
1–0
0–4
5
Orihuela
0–1
Atlético
0–1
0–0
6
Poli Ejido
6–1
Villarreal
5–0
1–1
7
Hércules
3–7
Valladolid
1–5
2–2
8
Rayo Vallecano
1–5
Almería
1–2
0–3
9
Celta
2–5
Espanyol
2–2
0–3
10
Castellón
0–4
Betis
0–2
0–2
11
Real Murcia
2–3
Racing
2–1
0–2
12
Málaga
1–3
Mallorca
1–1
0–2
13
Athletic
3–2
Recreativo
2–0
1–2
14
Getafe
0–1
Osasuna
0–0
0–1
15
Benidorm
0–2
Barcelona
0–1
0–1
16
Elche
0–4
Deportivo
0–2
0–2
17
Numancia
0–3
Sporting
0–1
0–2

Questions and formulas:
Question: What is Celta's Agg.?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="celta"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E17,A2:A17="celta"),2))
Level: medium
Question: What is the 2nd leg for Barcelona Team 2?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="barcelona"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E17,C2:C17="barcelona"),5))
Level: medium
Question: What is team 2 if Team 1 is Numancia?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="numancia"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E17,A2:A17="numancia"),3))
Level: medium