Table:
0
A
B
C
D
E
1
Team 1
Agg.
Team 2
1st leg
2nd leg
2
AS Bilima
2-1
CARA Brazzaville
1-1
1-0
3
US Gorée
3-1
Hearts of Oak
3-0
0-1
4
Vital'O
4-2
AS Sogara
3-1
1-1
5
AS Kaloum Star
3-3
Enugu Rangers
2-0
1-3
6
CA Bizertin
2-4
FAR Rabat
1-4
1-0
7
Power Dynamos
1-3
Black Rhinos
0-2
1-1
8
Zamalek SC
5-1
Al-Hilal (Omdurman)
4-0
1-1
9
Stade Malien
2-3
GCR Mascara
2-0
0-3

Questions and formulas:
Question: What is the team 2 with a team 1 us gorée?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="us gorée"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,A2:A9="us gorée"),3))
Level: medium
Question: What is the 2nd leg of team 1 Zamalek SC?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="zamalek sc"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,A2:A9="zamalek sc"),5))
Level: medium
Question: What is the 1st leg of the team with a 2-1 agg.?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="2-1"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,B2:B9="2-1"),4))
Level: medium
Question: What is the 2nd leg of team 2 Far rabat?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="far rabat"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,C2:C9="far rabat"),5))
Level: medium