Table:
0
A
B
C
D
E
F
G
H
I
J
1
Finish
Race
Distance
Jockey
Time
Victory Margin (in lengths)
Runner up
Track
Surface
Date
2
1st
Maiden
1 1⁄16 mi
Jeremy Rose
1:40.33
11 1⁄4
Dr. Cal
Saratoga Race Course
Turf
9/3/07
3
1st
Allowance
1mi
Kent Desormeaux
1:35.66
12
Heaven's Awesome
Gulfstream Park
Dirt
3/5/08
4
1st
Florida Derby
1 1⁄8 mi
Kent Desormeaux
1:48.16
5
Smooth Air
Gulfstream Park
Dirt
3/29/08
5
1st
Kentucky Derby
1 1⁄4 mi
Kent Desormeaux
2:01.82
4 3⁄4
Eight Belles
Churchill Downs
Dirt
5/3/08
6
1st
Preakness
1 3⁄16 mi
Kent Desormeaux
1:54.80
5 1⁄4
Macho Again
Pimlico Race Course
Dirt
5/17/08
7
9th
Belmont Stakes
1 1⁄2 mi
Kent Desormeaux
N/A
N/A
Da' Tara (1st)
Belmont Park
Dirt
6/7/08
8
1st
Haskell Invitational
1 1⁄8 mi
Kent Desormeaux
1:48.31
1 3⁄4
Coal Play
Monmouth Park
Dirt
8/3/08
9
1st
Monmouth Stakes
1 1⁄8 mi
Kent Desormeaux
1:47.41
1⁄2
Proudinsky
Monmouth Park
Turf
9/13/08

Questions and formulas:
Question: What was the victory margin for a finish of 1st with a rider of Kent Desormeaux, with a time of 1:35.66?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:J1,(A1="1st")*(D1="kent desormeaux")*(E1="1:35.66")),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:J9,(A2:A9="1st")*(D2:D9="kent desormeaux")*(E2:E9="1:35.66")),6))
Level: medium
Question: What was the time of the Kentucky Derby?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:J1,B1="kentucky derby"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:J9,B2:B9="kentucky derby"),5))
Level: medium
Question: What was the finish of the Kentucky Derby?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:J1,B1="kentucky derby"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:J9,B2:B9="kentucky derby"),1))
Level: medium
Question: Which race had a finish of 1st at Saratoga Race Course?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:J1,(A1="1st")*(H1="saratoga race course")),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:J9,(A2:A9="1st")*(H2:H9="saratoga race course")),2))
Level: medium