Table:
0
A
B
C
D
E
1
Team 1
Agg.
Team 2
1st leg
2nd leg
2
Al-Merrikh
2-2 (5-4 pen)
Tele SC Asmara
2-1
0-1
3
Abaluhya United
1-3
Great Olympics
0-0
1-3
4
ASC Diaraf
3-4
Stade Malien
3-0
0-4
5
Maseru United
3-5
MMM Tamatave
1-2
2-3
6
AS Porto Novo
0-3
Victoria Club Mokanda
0-1
0-2
7
Canon Yaoundé
9-4
AS Solidarité
7-3
2-1
8
Espérance
1-0
Al-Ahly (Benghazi)
0-0
1-0
9
Secteur 6
1-2
Enugu Rangers
1-1
0-1
10
Young Africans
2-0
Lavori Publici
2-0
0-0

Questions and formulas:
Question: Which of the two teams has 1st leg of 2-0?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1="2-0"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E10,D2:D10="2-0"),3))
Level: medium
Question: Which team has an agg., that has a 1st leg of 1-2?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1="1-2"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E10,D2:D10="1-2"),2))
Level: medium
Question: Which team of the team 1 column, has a 2nd leg of 1-0?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="1-0"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E10,E2:E10="1-0"),1))
Level: medium