Table:
0
A
B
C
D
E
1
Team 1
Agg.
Team 2
1st leg
2nd leg
2
Abaluhya United
4-2
Saint-George SA
1-1
3-1
3
Africa Sports
6-4 1
TP Englebert
2-0
4-4
4
Etoile du Congo
4-6
Oryx Douala
1-2
3-4
5
FAR Rabat
3-0
Foyer France
2-0
1-0
6
Mighty Barolle
1-4
Conakry II
1-2
0-2 2
7
Police (Mogadishu)
2-4
Al-Mourada
1-1
1-3
8
Stationery Stores
4-4 3
Cape Coast Dwarfs
3-2
1-2
9
US Ouagadougou
1-6
Etoile Filante de Lomé
1-4
0-2

Questions and formulas:
Question: What was the score of the second leg with an agg of 4-6?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="4-6"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,B2:B9="4-6"),5))
Level: medium
Question: What is the second team that has first team of Africa sports?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="africa sports"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,A2:A9="africa sports"),3))
Level: medium
Question: What is team one that has tp englebert for team 2?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="tp englebert"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,C2:C9="tp englebert"),1))
Level: medium
Question: Which team 2 has a 2nd leg of 0-2?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="0-2"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,E2:E9="0-2"),3))
Level: medium
Question: Which team has far rabat as the team 1?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="far rabat"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,A2:A9="far rabat"),3))
Level: medium
Question: What is the agg for a team second leg of 1-3?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="1-3"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,E2:E9="1-3"),2))
Level: medium