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
18 Nov 2000
2yo Restricted
Rosehill
NA
1100 m
54.5
1:05.44
R. Quinn
1st - Royal Courtship
3
Won
27 Jan 2001
2yo Hcp
Rosehill
NA
1100 m
54.5
1:05.58
R. Quinn
2nd - London Eye
4
Won
11 Feb 2001
Blue Diamond Prelude
Caulfield
G3
1100 m
55.5
1:03.39
B.Prebble
2nd - Niewand
5
4th
24 Feb 2001
Blue Diamond Stakes
Caulfield
G1
1200 m
55.5
1:09.96
B.Prebble
1st - True Jewels
6
3rd
28 Jul 2001
Missile Stakes
Rosehill
G3
1100 m
51
1:06.69
L. Cassidy
1st - Sportsbrat

Questions and formulas:
Question: What group has 1200 m as the distance?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:J1,F1="1200 m"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:J6,F2:F6="1200 m"),5))
Level: medium
Question: What venue has g1 as the group?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:J1,E1="g1"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:J6,E2:E6="g1"),4))
Level: medium