Table:
0
A
B
C
D
E
1
Team 1
Agg.
Team 2
1st leg
2nd leg
2
Anorthosis
3–1
Olympiacos
3–0
0–1
3
Vitória Guimarães
1–2
Basel
0–0
1–2
4
Shakhtar Donetsk
5–1
Dinamo Zagreb
2–0
3–1
5
Schalke 04
1–4
Atlético Madrid
1–0
0–4
6
Aalborg BK
4–0
Kaunas
2–0
2–0
7
Barcelona
4–1
Wisła Kraków
4–0
0–1
8
Levski Sofia
1–2
BATE Borisov
0–1
1–1
9
Standard Liège
0–1
Liverpool
0–0
0–1 ( aet )
10
Partizan
3–4
Fenerbahçe
2–2
1–2
11
Twente
0–6
Arsenal
0–2
0–4
12
Spartak Moscow
2–8
Dynamo Kyiv
1–4
1–4
13
Juventus
5–1
Artmedia Petržalka
4–0
1–1
14
Brann
1–3
Marseille
0–1
1–2
15
Fiorentina
2–0
Slavia Prague
2–0
0–0
16
Galatasaray
2–3
Steaua Bucureşti
2–2
0–1
17
Sparta Prague
1–3 [C ]
Panathinaikos
1–2
0–1

Questions and formulas:
Question: Which Team 2 faced Team 1 from Barcelona?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="barcelona"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E17,A2:A17="barcelona"),3))
Level: medium
Question: Which first leg had Galatasaray as Team 1?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="galatasaray"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E17,A2:A17="galatasaray"),4))
Level: medium