Table:
0
A
B
C
D
E
1
Tie no
Home team
Score
Away team
Date
2
1
Walsall
1–1
Watford
21 February 1987
3
Replay
Watford
4–4
Walsall
24 February 1987
4
Replay
Walsall
0–1
Watford
2 March 1987
5
2
Sheffield Wednesday
1–1
West Ham United
21 February 1987
6
Replay
West Ham United
0–2
Sheffield Wednesday
25 February 1987
7
3
Tottenham Hotspur
1–0
Newcastle United
21 February 1987
8
4
Wimbledon
3–1
Everton
22 February 1987
9
5
Arsenal
2–0
Barnsley
21 February 1987
10
6
Leeds United
2–1
Queens Park Rangers
21 February 1987
11
7
Stoke City
0–1
Coventry City
21 February 1987
12
8
Wigan Athletic
3–0
Hull City
21 February 1987

Questions and formulas:
Question: What was the score of the replay game when watford was the away team?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(A1="replay")*(D1="watford")),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E12,(A2:A12="replay")*(D2:D12="watford")),3))
Level: medium
Question: Who was the home team when walsall was the away team?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1="walsall"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E12,D2:D12="walsall"),2))
Level: medium