Table:
0
A
B
C
D
E
1
Team 1
Agg.
Team 2
1st leg
2nd leg
2
Al-Tahaddy
5-4
Medr Babur
3-1
2-3
3
AS Corps Enseignant
1-4
Matlama FC
1-2
0-2 1
4
Hardware Stars
1-5
Al-Merrikh
1-1
0-4
5
ASC Garde Nationale
5-3
Wallidan FC
3-1
2-2
6
Stade Centrafricain
2-4
Olympic Niamey
1-3
1-1
7
Kampala City Council
3-1
FC Horsed
1-1
2-0
8
Silures
10-2
Benfica de Bissau
7-0
3-2
9
Simba SC
2-1
Vantour Club Mangoungou
2-0
0-1

Questions and formulas:
Question: What is the first leg with an agg of 10-2?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="10-2"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,B2:B9="10-2"),4))
Level: medium
Question: What is the agg of team 2 for Vantour Club Mangoungou?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="vantour club mangoungou"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,C2:C9="vantour club mangoungou"),2))
Level: medium
Question: What is the first leg of team 1 for Hardware stars?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="hardware stars"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,A2:A9="hardware stars"),4))
Level: medium
Question: What is the agg with a second leg of 0-1?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="0-1"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,E2:E9="0-1"),2))
Level: medium
Question: What team 2 had a 1st leg of 1-1, and agg of 3-1?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(D1="1-1")*(B1="3-1")),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,(D2:D9="1-1")*(B2:B9="3-1")),3))
Level: medium
Question: What team 2 had a second leg of 3-2?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="3-2"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,E2:E9="3-2"),3))
Level: medium