Table:
0
A
B
C
D
E
F
G
H
I
J
1
Result
Date
Race
Venue
Group
Distance
Weight (kg)
Time
Jockey
Winner/2nd
2
2nd
16 Aug 2008
J J Liston Stakes
Caulfield
G2
1400m
58.5
1:24.83
B.Rawiller
1st - Light Fantastic
3
Won
30 Aug 2008
Memsie Stakes
Caulfield
G2
1400m
58.5
1:23.27
B. Rawiller
2nd - Maldivian
4
Won
6 Sep 2008
Craiglee Stakes
Flemington
G2
1600m
58.5
1:38.60
B.Rawiller
2nd - Zarita
5
Won
20 Sep 2008
Underwood Stakes
Caulfield
G1
1800m
58.0
1:49.68
B.Rawiller
2nd - Pompeii Ruler
6
8th
4 Oct 2008
Turnbull Stakes
Flemington
G1
2000m
57.5
2:02.44
B.Rawiller
1st - Littorio
7
12th
18 Oct 2008
Caulfield Cup
Caulfield
G1
2400m
57.0
2:27.45
B.Rawiller
1st - All The Good
8
4th
31 Jan 2009
Lightning Stakes
Flemington
G1
1000m
58.5
0:56.94
B.Rawiller
1st - Scenic Blast
9
5th
14 Feb 2009
Australia Stakes
Moonee Valley
G1
1200m
58.5
1:09.60
B.Rawiller
1st - Apache Cat

Questions and formulas:
Question: What was the result of the race that had a group of G1 at Moonee Valley?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:J1,(E1="g1")*(D1="moonee valley")),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:J9,(E2:E9="g1")*(D2:D9="moonee valley")),1))
Level: medium
Question: What was the result of the race that was a 2000m distance?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:J1,F1="2000m"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:J9,F2:F9="2000m"),1))
Level: medium