Table:
0
A
B
C
D
E
F
G
H
I
1
Result
Date
Race
Venue
Group
Distance
Weight (kg)
Jockey
Winner/2nd
2
Won
22 August 1998
3yo Hcp Restricted
Hastings
NA
1200 m
55
P. Johnson
2nd - No Alimony
3
Won
5 September 1998
Furious Stakes
Randwick
G3
1400 m
54
L. Cassidy
2nd - Zaroyale
4
Won
19 September 1998
Tea Rose Stakes
Rosehill
G2
1500 m
55.5
L. Cassidy
2nd - Zola
5
Won
3 October 1998
Flight Stakes
Randwick
G1
1600 m
54
L. Cassidy
2nd - Camerena
6
Won
1 February 1999
3yo Hcp Restricted
Ellerslie
NA
1200 m
62.5
L. Cassidy
2nd - Delphic
7
2nd
20 February 1999
Angus Armanasco Stakes
Caulfield
G3
1600 m
55.5
L. Cassidy
1st - Rose O'War
8
Won
6 March 1999
AV Kewney Stakes
Flemington
G2
1600 m
55.5
G. Childs
2nd - Rose O'War
9
Won
20 March 1999
Moonee Valley Oaks
Moonee Valley
G3
2040 m
55.5
G. Childs
2nd - Grand Archway
10
Won
3 April 1999
Doncaster
Randwick
G1
1600 m
52
L. Cassidy
2nd - Lease

Questions and formulas:
Question: What group was sunline in when he was at moonee valley?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:I1,D1="Moonee Valley"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:I10,D2:D10="Moonee Valley"),5))
Level: medium