Table:
0
A
B
C
D
E
1
Team 1
Agg.
Team 2
1st leg
2nd leg
2
Chelsea
3–2
Juventus
1–0
2–2
3
Villarreal
3–2
Panathinaikos
1–1
2–1
4
Sporting CP
1–12
Bayern Munich
0–5
1–7
5
Atlético Madrid
2–2 ( a )
Porto
2–2
0–0
6
Lyon
3–6
Barcelona
1–1
2–5
7
Real Madrid
0–5
Liverpool
0–1
0–4
8
Arsenal
1–1 (7–6 p )
Roma
1–0
0–1 ( aet )
9
Internazionale
0–2
Manchester United
0–0
0–2

Questions and formulas:
Question: What is the 1st leg when team 1 is Chelsea?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="chelsea"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,A2:A9="chelsea"),4))
Level: medium