Table:
0
A
B
C
D
E
1
Team 1
Agg.
Team 2
1st leg
2nd leg
2
Bregalnica Kraun
4–3
Baškimi
2–1
2–2
3
Vardar
5–0
Kožuv
3–0
2–0
4
Pobeda
5–2
Vlazrimi
3–0
2–2
5
Belasica
1–5
Sileks
1–2
0–3
6
Makedonija
4–2
Napredok
2–0
2–2
7
Škendija 79
5–1
Renova
4–0
1–1
8
Cementarnica
4–2
Karaorman
3–2
1–0
9
Teteks
4–3
Lokomotiva
3–1
1–2

Questions and formulas:
Question: What is 1st Leg, when Team 1 is "Makedonija"?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="makedonija"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,A2:A9="makedonija"),4))
Level: medium