Table:
0
A
B
C
D
E
1
Date
Tournament
Surface
Opponent in Final
Score in Final
2
18 March 1985
Rotterdam
Carpet
Jakob Hlasek
6–1, 6–2
3
29 April 1985
Hamburg
Clay
Henrik Sundström
6–4, 6–1, 6–4
4
4 April 1986
Kitzbühel
Clay
Andrés Gómez
6–4, 4–6, 6–1, 2–6, 6–3
5
5 January 1987
Auckland
Hard
Michiel Schapers
6–2, 6–3, 6–4
6
26 January 1987
Sydney
Hard
Peter Doohan
6–2, 6–4
7
23 February 1987
Miami
Hard
Ivan Lendl
7–5, 6–2, 7–5
8
7 April 1987
Dallas , – WCT Finals
Carpet
John McEnroe
6–0, 3–6, 6–2, 6–2
9
13 July 1987
Stuttgart
Clay
Jan Gunnarsson
6–0, 6–2
10
27 July 1987
Hilversum
Clay
Guillermo Pérez Roldán
6–4, 1–6, 6–3, 6–2
11
20 September 1988
Seoul Olympics
Hard
Tim Mayotte
3–6, 6–2, 6–4, 6–2
12
13 March 1989
Indian Wells
Hard
Yannick Noah
3–6, 2–6, 6–1, 6–2, 6–3

Questions and formulas:
Question: What date has the opponent competing in the final of john mcenroe?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1="john mcenroe"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E12,D2:D12="john mcenroe"),1))
Level: medium