Table:
0
A
B
C
D
E
1
Team 1
Agg.
Team 2
1st leg
2nd leg
2
Etoile du Sahel
2–0
Espérance
2–0
0–0
3
Club Africain
0–0 (5–3 Pk )
Djoliba
0–0
0–0
4
Platinum Stars
2–4
CS Sfaxien
2–2
0–2
5
JS Kabylie
2–1
Les Astres FC
1–1
1–0
6
Mamelodi Sundowns
1–2
Haras El Hodood
1–0
0–2
7
Olympique Khouribga
2–2( a )
Al-Merrikh
2–2
0–0
8
Inter Luanda
3–2
Mount Cameroon FC
2–1
1–1
9
Al Ittihad Tripolil
3–4
Asante Kotoko
2–1
1–3

Questions and formulas:
Question: What is the 1st leg that has a 2nd leg of 0–0 of olympique khouribga?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(E1="0–0")*(A1="olympique khouribga")),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,(E2:E9="0–0")*(A2:A9="olympique khouribga")),4))
Level: medium
Question: What is the 1st leg of cs sfaxien?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="cs sfaxien"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,C2:C9="cs sfaxien"),4))
Level: medium