Table:
0
A
B
C
D
E
F
G
1
Year
Winner
Jockey
Trainer
Owner
Distance (Miles)
Time
2
2013
War Dancer
Alan Garcia
Kenneth G. McPeek
Magdalena Racing
1-1/4
2:03.57
3
2012
Silver Max
Robby Albarado
Dale L. Romans
Bacon/Wells
1-1/4
2:04.05
4
2011
Air Support
Alex Solis
Shug McGaughey
Stuart Janney III
1-1/4
2:00.80
5
2010
Paddy O'Prado
Kent J. Desormeaux
Dale L. Romans
Winchell Thoroughbreds
1-1/4
2:02.58
6
2009
Battle of Hastings
Tyler Baze
Jeff Mullins
Michael House
1-1/4
2:03.29
7
2008
Gio Ponti
Garrett Gomez
Christophe Clement
Castleton Lyons
1-1/4
2:02.22
8
2007
Red Giant
Horacio Karamanos
Todd A. Pletcher
Peachtree Stable
1-1/4
1:59.62
9
2006
Go Between
Garrett K. Gomez
William I. Mott
Peter Vegso
1-1/4
1:59.74
10
2005
English Channel
John R. Velazquez
Todd A. Pletcher
James T. Scatuorchio
1-1/4
2:02.57
11
2004
Kitten's Joy
Edgar S. Prado
Dale L. Romans
Ken and Sarah Ramsey
1-1/4
2:01.22
12
2003
Silver Tree
Edgar S. Prado
William I. Mott
Peter Vegso
1-1/4
2:01.11
13
2002
Orchard Park
Edgar S. Prado
William I. Mott
Peter Vegso
1-1/4
2:03.10
14
2001
Potaro
Brent Bartram
Jonathan Sheppard
Augustin Stable
1-1/4
2:02.18
15
2000
Lightning Paces
Greg Hutton
John J. Robb
Tulip Hill Farm
1-1/4
2:02.18
16
1999
Phi Beta Doc
Ramon Dominguez
Robert W. Leonard
Dennis Foster/R. Leonard
1-1/4
1:59.97
17
1998
Crowd Pleaser
Jean-Luc Samyn
Jonathan Sheppard
Augustin Stable
1-1/4
2:00.28

Questions and formulas:
Question: Who was the trainer when Crowd Pleaser won?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,B1="crowd pleaser"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G17,B2:B17="crowd pleaser"),4))
Level: medium
Question: What was the race time of the horse with jockey Ramon Dominguez?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,C1="ramon dominguez"),7))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G17,C2:C17="ramon dominguez"),7))
Level: medium
Question: What jockey rode for Michael House before 2012
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,(A1<2012)*(E1="michael house")),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G17,(A2:A17<2012)*(E2:E17="michael house")),3))
Level: medium