Table:
0
A
B
C
D
E
1
Round
Club
Home
Away
Aggregate
2
1. round
Djurgården
1–2
0–5
1–7
3
1. round
Wacker Innsbruck
0–5
1–2
1–7
4
1. round
Fram
6–0
2–0
8–0
5
2. round
Eintracht Braunschweig
1–0
0–4
1–4
6
1. round
Esbjerg
0–0
0–1
0–1
7
1. round
Strasbourg
1–2
0–4
1–6
8
1. round
AZ
1–3
0–1
1–4
9
1. qualifying round
Skála
3–0
1–0
4–0
10
2. qualifying round
Drogheda United
1–0
0–1
1–1 (11–10 p)
11
1. round
Ajax
2–5
0–4
2–9

Questions and formulas:
Question: Which aggregate has ajax as the club?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="ajax"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E11,B2:B11="ajax"),5))
Level: medium