Table:
0
A
B
C
D
E
1
Team 1
Agg.
Team 2
1st leg
2nd leg
2
Olympiakos Nicosia
2–6
AEL Limassol
0–3
2–3
3
Nea Salamis
2–4
Doxa Katokopias
1–3
1–1
4
Aris Limassol
1–2
AE Paphos
1–1
0–1
5
Omonia Aradippou
2–3
APOP Kinyras
0–2
2–1
6
AO Ayia Napa
2–5
Ethnikos Achna
2–2
0–3
7
PAEEK
1–5
Atromitos Yeroskipou
0–2
1–3
8
Ethnikos Assia
2–0
ASIL Lysi
0–0
2–0
9
Onisilos Sotira
1–2
THOI Lakatamia
0–1
1–1
10
MEAP Nisou
0–4
AEK Larnaca
0–1
0–3
11
Digenis Morphou
6–4
Alki Larnaca
4–3
2–1
12
Chalkanoras Idaliou
2–3
Enosis Neon Paralimni
2–3
0–0
13
Ermis Aradippou
3–3 ( a )
APEP
1–1
2–2 ( aet )

Questions and formulas:
Question: What is the 1st leg when team 2 is Asil Lysi?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="asil lysi"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E13,C2:C13="asil lysi"),4))
Level: medium
Question: What is the 2nd leg when Ermis Aradippou is the first team?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="ermis aradippou"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E13,A2:A13="ermis aradippou"),5))
Level: medium