Table:
0
A
B
C
D
E
F
G
1
Year
Winner
Jockey
Trainer
Owner
Distance (Miles)
Time
2
2011
Rahystrada
Sheldon Russell
Byron Hughes
Robert Courtney
1-3/16
1:54.68
3
2010
Paddy O'Prado
Kent Desormeaux
Dale Romans
Donegal Racing
1-3/16
1:54.20
4
2009
Battle of Hastings
Tyler Baze
Jeff Mullins
Michael House
1-3/16
1:57.79
5
2008
Sailor's Cap
Alan Garcia
James J. Toner
Team Valor International
1-3/16
2:04.42
6
2007
Summer Doldrums
Jose Lezcano
Richard A. Violette, Jr.
Klaravich Stables
1-3/16
1:55.68
7
2006
Showing Up
Cornelio Velásquez
Barclay Tagg
Lael Stables
1-3/16
1:52.98
8
2005
English Channel
John Velazquez
Todd Pletcher
James T. Scatuorchio
1-3/16
1:56:37

Questions and formulas:
Question: Who was the trainer with Robert Courtney was owner?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,E1="robert courtney"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G8,E2:E8="robert courtney"),4))
Level: medium
Question: What year was Jeff Mullins?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,D1="jeff mullins"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G8,D2:D8="jeff mullins"),1))
Level: medium