Table:
0
A
B
C
D
E
1
Team 1
Agg.
Team 2
1st leg
2nd leg
2
Canelli(A16)
1-1
(A13)Vado
1-0
0-1
3
Saluzzo(A15)
3-3
(A14)Sestri Levante
2-1
1-2
4
Calangianus(B16)
4-3
(B13)Renate
3-0
1-3
5
Palazzolo(B15)
1-1
(B14)Fanfulla
0-1
1-0
6
Rivignano(C16)
1-1
(C13)Trento
1-1
0-0
7
Bolzano(C15)
4-4
(C14)Sanvitese
3-0
1-4
8
RenoCentese(D16)
1-2
(D13)Este
0-1
1-1
9
Santarcangelo(D15)
4-2
(D14)Fidenza
2-2
2-0
10
Sestese(E16)
4-4
(E13)Sansepolcro
1-0
3-4
11
Aglianese(E15)
2-2
(E14)FortisJuventus
1-1
1-1
12
Penne(F16)
0-1
(F13)Centobuchi
0-1
0-0
13
Verucchio(F15)
4-3
(F14)Pergolese
1-1
3-2
14
Pisoniano(G16)
1-3
(G13)Venafro
0-1
1-2
15
Tivoli(G15)
2-4
(G14)Morolo
1-0
1-4
16
SportingGenzano(H16)
1-1
(H13)Bitonto
0-0
1-1
17
Lavello(H15)
2-1
(H14)Ebolitana
2-1
0-0
18
Campobello(I16)
3-1
(I13)Giarre
2-0
1-1
19
Licata(I15)
1-4
(I14)Acicatena
1-1
0-3

Questions and formulas:
Question: who is the team 2 when the 1st leg is 2-2?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1="2-2"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E19,D2:D19="2-2"),3))
Level: medium
Question: who is the team 2 when the team 1 is sestese(e16)?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="sestese(e16)"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E19,A2:A19="sestese(e16)"),3))
Level: medium
Question: who is the team 2 when the 2nd leg is 3-4?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="3-4"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E19,E2:E19="3-4"),3))
Level: medium
Question: who is the team 2 when the 1st leg is 1-1 and the team 1 is verucchio(f15)?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(D1="1-1")*(A1="verucchio(f15)")),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E19,(D2:D19="1-1")*(A2:A19="verucchio(f15)")),3))
Level: medium