Table:
0
A
B
C
D
E
F
G
H
1
Race
Dist (f)
Course
Runners
Placing
Margin
Jockey
Trainer
2
South Norfolk Caterers Maiden Stakes
8
Yarmouth
18
1
5
Frankie Dettori
David Loder
3
Doncaster Sponsorship Club Stakes
8
Doncaster
4
1
9
Frankie Dettori
Saeed Bin Suroor
4
Predominate Stakes
10
Goodwood
6
1
3.5
Frankie Dettori
Saeed Bin Suroor
5
Derby
12
Epsom
16
9
9.25
Frankie Dettori
Saeed Bin Suroor
6
Prix Eugene Adam
10
Maisons-Laffitte
5
1
3
Frankie Dettori
Saeed Bin Suroor
7
Prix Jacques le Marois
8
Deauville
5
1
2.5
Frankie Dettori
Saeed Bin Suroor
8
Queen Elizabeth II Stakes
8
Ascot
4
1
6
Frankie Dettori
Saeed Bin Suroor
9
Maktoum bin Rashid al Maktoum Challenge
10
Nad Al Sheba
6
1
4.5
Frankie Dettori
Saeed Bin Suroor
10
Dubai World Cup
10
Nad Al Sheba
13
1
6
Frankie Dettori
Saeed Bin Suroor
11
Prince of Wales's Stakes
10
Ascot
6
1
8
Jerry Bailey
Saeed Bin Suroor

Questions and formulas:
Question: what is the highest runners when the jockey is frankie dettori and the placing is higher than 1?
Formula: MAX(FILTER(D1, (G1="frankie dettori")*(E1>1)))
Formula2: MAX(FILTER(D2:D11, (G2:G11="frankie dettori")*(E2:E11>1)))
Level: easy
Question: what is the race when the jockey is frankie dettori, the margin is more than 3 and the course is yarmouth?
Formula: LET(query1,LET(query1,FILTER(A1:H1,(G1="frankie dettori")*(C1="yarmouth")),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,6)))),FILTER(query1,CHOOSECOLS(query1,2)>3))
Formula2: LET(query1,LET(query1,FILTER(A2:H11,(G2:G11="frankie dettori")*(C2:C11="yarmouth")),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,6)))),FILTER(query1,CHOOSECOLS(query1,2)>3))
Level: hard