Table:
0
A
B
C
D
E
1
Team 1
Agg.
Team 2
1st leg
2nd leg
2
ASC Diaraf
2-3
Hearts of Oak
1-1
1-2
3
Al-Ahly
7-3
Al-Medina
7-2
0-1
4
Gor Mahia
4-5
Mufulira Wanderers
2-1
2-4
5
Diables Noirs
1-2
Hafia FC
0-1
1-1
6
Kampala City Council
3-4
MC Algiers
1-1
2-3
7
Union Douala
2-2 (3-4 pen)
Lomé I
1-1
1-1
8
Water Corporation
1-0
Simba SC
0-0
1-0
9
SC Gagnoa
2-4
Djoliba AC
1-3
1-1

Questions and formulas:
Question: Who played as Team 2 against Team 1 SC Gagnoa?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="sc gagnoa"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,A2:A9="sc gagnoa"),3))
Level: medium
Question: What was the 1st leg score when Mufulira Wanderers played as Team 2?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="mufulira wanderers"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,C2:C9="mufulira wanderers"),4))
Level: medium
Question: What's the score of the 1st leg when Water Corporation was Team 1?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="water corporation"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,A2:A9="water corporation"),4))
Level: medium
Question: What's the 1st leg score when Team 1 was Gor Mahia?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="gor mahia"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,A2:A9="gor mahia"),4))
Level: medium
Question: Who played as Team 1 against Lomé i?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="lomé i"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,C2:C9="lomé i"),1))
Level: medium