Table:
0
A
B
C
D
E
1
Team 1
Agg.
Team 2
1st leg
2nd leg
2
Montpellier HB
51-54
FC Barcelona-Cifec
28-25
23-29
3
MKB Veszprém KC
60-53
KIF Kolding Elite A/S
32-22
28-31
4
RK Gold Club Kozina
52-70
Portland San Antonio
23-34
29-36
5
GOG Svendborg TGI Gudme
58–64
BM Ciudad Real
28–33
30–31
6
SC Pick Szeged
49–50
CBM Valladolid
25–25
24–25
7
Celje
67–67(a)
SG Flensburg-Handewitt
41-31
26-36
8
Chekhovskiye Medvedi
60–69
VfL Gummersbach
31-37
29-32
9
Chambéry Savoie HB
60–76
THW Kiel
33–39
27–37

Questions and formulas:
Question: Which team 1 has vfl gummersbach as team 2?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="vfl gummersbach"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,C2:C9="vfl gummersbach"),1))
Level: medium
Question: What is the 2nd leg that has 31-37 as the 1st leg?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1="31-37"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,D2:D9="31-37"),5))
Level: medium
Question: Which team 1 has cbm valladolid as team 2?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="cbm valladolid"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,C2:C9="cbm valladolid"),1))
Level: medium
Question: What 2nd leg has rk gold club kozina as team 1?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="rk gold club kozina"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,A2:A9="rk gold club kozina"),5))
Level: medium
Question: What 1st leg has 52-70 as the agg.?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="52-70"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,B2:B9="52-70"),4))
Level: medium