Table:
0
A
B
C
D
E
1
Team #1
Agg. score
Team #2
1st leg
2nd leg
2
Iraklis
1-2
Olympiacos
1-0
0-2
3
Kastoria
4-2
Ptolemaida-Lignitorikhi
2-0
2-3
4
Aris
4-2
Ethnikos
2-1
2-1
5
Skoda Xanthi
1-0
Egaleo
1-0
0-0
6
Ilisiakos
0-2
Panionios
0-1
0-1
7
Larissa
3-2
Chalkidon Near East
3-1
0-1
8
OFI
1-1
Apollon Kalamaria
1-1
0-0

Questions and formulas:
Question: What's team #2 in the round where team $1 is Ilisiakos?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="Ilisiakos"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,A2:A8="Ilisiakos"),3))
Level: medium
Question: What's the team #2 in the round where team #1 is Iraklis?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="Iraklis"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,A2:A8="Iraklis"),3))
Level: medium
Question: What's the 1st leg result in the round where team #1 is Iraklis?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="Iraklis"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,A2:A8="Iraklis"),4))
Level: medium
Question: What's the 2nd leg result in the round where Panionios is team #2?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="Panionios"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,C2:C8="Panionios"),5))
Level: medium
Question: What's the 2nd leg result in the round where team #1 is Iraklis?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="Iraklis"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,A2:A8="Iraklis"),5))
Level: medium