Table:
0
A
B
C
D
E
1
Team 1
Agg.
Team 2
1st leg
2nd leg
2
Djoliba AC
1-2
Hearts of Oak
1-1
0-1
3
Etoile du Congo
1-1 (3-1 pen)
Hafia FC
0-1
1-0
4
Simba SC
2-5
Union Douala
2-4
0-1
5
Silures
0-4
Canon Yaoundé
0-1
0-3
6
AC Semassi
1-2
ASF Police
1-1
0-1
7
Stella Club d'Adjamé
5-5
MP Algiers
4-2
1-3
8
Bendel Insurance
4-4
Gor Mahia
1-2
3-2
9
AS Bilima
4-1
Fortior Mahajanga
3-0
1-1

Questions and formulas:
Question: Which 2nd leg has a 1st leg of 1-1 and is Team 1 djoliba ac?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(D1="1-1")*(A1="djoliba ac")),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,(D2:D9="1-1")*(A2:A9="djoliba ac")),5))
Level: medium
Question: What Team 1 has union douala as Team 2?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="union douala"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,C2:C9="union douala"),1))
Level: medium