Table:
0
A
B
C
D
E
1
Team 1
Agg.
Team 2
1st leg
2nd leg
2
Al-Hilal Al-Sahili
2-8
Espérance Sportive de Tunis
1-2
1-6
3
Al-Quwa Al-Jawiya
1-3
ienne Union Sportive Monastir
1-1
0-2
4
Ismaily
7-2
Union Sportive de la Médina d'Alger
3-1
4-1
5
Al-Hazm
1-5
Al-Faisaly
0-2
1-3
6
Al-Merrikh
7-8
Al-Wahdat
3-1
4-7
7
Club Sportif Sfaxien
1-0
Raja Casablanca
0-0
1-0
8
Al-Ittihad Aleppo
1-2
Wydad Casablanca
1-0
0-2
9
Al-Hilal Omdurman
( w/o ) 1
Entente Sportive de Sétif
1-2
Withdrew

Questions and formulas:
Question: Which Team 1 has a 2nd leg of 1-3?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="1-3"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,E2:E9="1-3"),1))
Level: medium
Question: What is the Agg for 1st Leg 1-2 and 2nd leg of Withdrew?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(D1="1-2")*(E1="withdrew")),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,(D2:D9="1-2")*(E2:E9="withdrew")),2))
Level: medium
Question: What is the 2nd leg if the 1st leg is 3-1 and the Team 2 is union sportive de la médina d'alger?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(D1="3-1")*(C1="union sportive de la médina d'alger")),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,(D2:D9="3-1")*(C2:C9="union sportive de la médina d'alger")),5))
Level: medium
Question: What is Team 2 if the 1st Leg is 3-1 and the 2nd Leg is 4-1?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(D1="3-1")*(E1="4-1")),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,(D2:D9="3-1")*(E2:E9="4-1")),3))
Level: medium