Table:
0
A
B
C
D
E
F
1
Result
Race
Distance
Weight
Winner or 2nd
Pos'n
2
2nd
AJC Warwick Stakes (wfa)
8f
8.11
Amounis
1st
3
Won
Tatts Chelmsford Stakes (wfa)
9f
9.4
Nightmarch
2nd
4
Won
RRC Hill Stakes (wfa)
8f
9.4
Nightmarch
2nd
5
Won
AJC Spring Stakes (wfa)
12f
8.11
Nightmarch
2nd
6
Won
AJC Craven Plate (wfa)
10f
8.11
Nightmarch
2nd
7
Won
AJC Randwick Plate (wfa)
2 m
8.11
Donald
2nd
8
Won
MVRC W.S. Cox Plate (wfa)
9 ½ f
8.11
Tregilla
2nd
9
Won
VRC Melbourne Stakes (wfa)
10f
8.11
Tregilla
2nd
10
Won
VRC Melbourne Cup
2 m
9.12
Second Wind
2nd
11
Won
VRC Linlithgow Stakes (wfa)
8f
8.12
Mollison
2nd
12
Won
VRC C.B. Fisher Plate (wfa)
12f
8.12
Second Wind
2nd
13
Won
VATC St George Stakes (wfa)
9f
9.7
Induna
2nd
14
Won
VATC Futurity Stakes (wfa)
7f
10.3
Mystic Peak
2nd
15
Won
VRC Essendon Stakes (wfa)
10f
8.7
Lampra
2nd
16
Won
VRC King's Plate (wfa)
12f
9.7
Glare
2nd
17
2nd
VRC C.M. Lloyd Stakes (wfa)
8f
9.7
Waterline
1st

Questions and formulas:
Question: What was the distance for the winner or 2nd Waterline?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,E1="waterline"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F17,E2:E17="waterline"),3))
Level: medium
Question: What is the result for the distance of 10f, and a winner or 2nd of Lampra?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,(C1="10f")*(E1="lampra")),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F17,(C2:C17="10f")*(E2:E17="lampra")),1))
Level: medium