Table:
0
A
B
C
D
E
1
Home (1st leg)
Home (2nd leg)
1st Leg
2nd leg
Aggregate
2
Independiente
Ramón Santamarina
3-1
3-2
6-3
3
Talleres
Estudiantes La Plata
1-1
1-3
2-4
4
Newell's Old Boys
Chacarita Juniors
0-0
2-1
2-1
5
San Lorenzo
Argentinos Juniors
2-2
0-1
2-3
6
San Martín
Estudiantes RC
4-2
0-0
4-2
7
Boca Juniors
Vélez Sársfield
3-2
0-3
3-4
8
Ferro Carril Oeste
Unión
1-0
2-1
3-1

Questions and formulas:
Question: How many 2nd legs had an aggregate of 2-4?
Formula: ROWS(UNIQUE(FILTER(D1, E1="2-4")))
Formula2: ROWS(UNIQUE(FILTER(D2:D8, E2:E8="2-4")))
Level: medium
Question: How many home (2nd leg) had a 1st leg 1-1?
Formula: ROWS(UNIQUE(FILTER(B1, C1="1-1")))
Formula2: ROWS(UNIQUE(FILTER(B2:B8, C2:C8="1-1")))
Level: medium
Question: How many 2nd legs are there where home (1st leg) is Independiente?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="Independiente"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,A2:A8="Independiente"),4))
Level: medium
Question: Who was in home (2nd leg) when Talleres was in home  (1st leg)
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="Talleres"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,A2:A8="Talleres"),2))
Level: medium
Question: Who was in 2nd leg when Boca Juniors was in home (1st leg)?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="Boca Juniors"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,A2:A8="Boca Juniors"),4))
Level: medium