Table:
0
A
B
C
D
E
1
Team 1
Agg.
Team 2
1st leg
2nd leg
2
Sevilla
5–1
Deportivo
2–1
3–0
3
Sporting
4–3
Valladolid
3–1
1–2
4
Poli Ejido
3–3 ( a )
Espanyol
3–2
0–1
5
Real Unión
0–2
Betis
0–1
0–1
6
Mallorca
4–2
Almería
3–1
1–1
7
Racing
2–4 ( aet )
Valencia
1–1
1–3
8
Atlético
2–5
Barcelona
1–3
1–2
9
Osasuna
1–3
Athletic
1–1
0–2

Questions and formulas:
Question: WHAT TEAM 1 HAS A 1st leg of 1–1, and a 2nd leg of 1–3?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(D1="1–1")*(E1="1–3")),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,(D2:D9="1–1")*(E2:E9="1–3")),1))
Level: medium
Question: WHAT IS THE 1ST LEG WITH TEAM 2 AS ATHLETIC?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="athletic"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,C2:C9="athletic"),4))
Level: medium
Question: WHAT IS THE 2ND LEG WITH TEAM 1 OF SPORTING?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="sporting"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,A2:A9="sporting"),5))
Level: medium