Table:
0
A
B
C
D
E
1
Team 1
Agg.
Team 2
1st leg
2nd leg
2
Atlético Nacional
3-2
Racing
2-0
1-2
3
Millonarios
3-3 (4-3 pk )
Bolivar
0-1
3-2
4
Cobreloa
1-0
Deportivo Quito
0-0
1-0
5
Danubio
3-1
Nacional
3-1
0-0
6
Peñarol
3-8
Internacional
2-6
1-2
7
Bahia
3-2
Universitario
1-1
2-1
8
Deportivo Táchira
3-3 (2-3 pk )
Sol de América
0-3
3-0
9
Boca Juniors
5-5 (6-7 pk )
Olimpia
0-2
5-3

Questions and formulas:
Question: What is the team 2 with cobreloa as team 1?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="cobreloa"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,A2:A9="cobreloa"),3))
Level: medium
Question: What is the team 1 with a 3-0 2nd leg?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="3-0"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,E2:E9="3-0"),1))
Level: medium
Question: What is the team 1 with a 2-1 2nd leg?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="2-1"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,E2:E9="2-1"),1))
Level: medium