Table:
0
A
B
C
D
E
1
Team 1
Agg.
Team 2
1st leg
2nd leg
2
Botafogo (RJ)
3-1
Corinthians (SP)
1-0
3-1
3
Cruzeiro (MG)
4-3
Atlético (PR)
2-1
2-2
4
Bahia (BA)
2-4
Flamengo (RJ)
1-3
1-1
5
Juventude (RS)
1-6
Santos (SP)
1-3
0-3
6
ABC (RN)
4-4
Palmeiras (SP)
3-3
1-1
7
América (RN)
3-6
São Paulo (SP)
1-3
2-3
8
Fluminense (RJ)
3-3
Vasco (RJ)
1-1
2-3
9
Portuguesa (SP)
0-0
Atlético (MG)
0-0
0-0 (pen: 1-4

Questions and formulas:
Question: What was the 1st leg of the match that had an aggregate of 4-3?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="4-3"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,B2:B9="4-3"),4))
Level: medium
Question: What was the 2nd leg fo the match that had a 1st leg of 1-3 and aggregate of 1-6?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(D1="1-3")*(B1="1-6")),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,(D2:D9="1-3")*(B2:B9="1-6")),5))
Level: medium