Table:
0
A
B
C
D
E
1
Team 1
Agg.
Team 2
1st leg
2nd leg
2
Hamburg
6–5
Anderlecht
3–1
3–4
3
Rubin Kazan
2–3
Wolfsburg
1–1
1–2 ( aet )
4
Atlético Madrid
2–2 ( a )
Sporting CP
0–0
2–2
5
Benfica
3–2
Marseille
1–1
2–1
6
Panathinaikos
1–4
Standard Liège
1–3
0–1
7
Lille
1–3
Liverpool
1–0
0–3
8
Juventus
4–5
Fulham
3–1
1–4
9
Valencia
5–5 ( a )
Werder Bremen
1–1
4–4

Questions and formulas:
Question: What is the team 2 for the match with a team 1 of Panathinaikos?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="panathinaikos"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,A2:A9="panathinaikos"),3))
Level: medium
Question: What was the first leg score for the match with a team 1 of Panathinaikos?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="panathinaikos"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,A2:A9="panathinaikos"),4))
Level: medium
Question: What is the 2nd leg score for the match with a team 2 of Werder Bremen?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="werder bremen"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,C2:C9="werder bremen"),5))
Level: medium