Table:
0
A
B
C
D
E
1
Rider
Manufacturer
Laps
Time
Grid
2
Casey Stoner
Ducati
30
47:30.057
1
3
Valentino Rossi
Yamaha
30
+3.708
7
4
Chris Vermeulen
Suzuki
30
+14.002
14
5
Alex de Angelis
Honda
30
+14.124
10
6
Andrea Dovizioso
Honda
30
+42.022
4
7
Sylvain Guintoli
Ducati
30
+46.648
15
8
Loris Capirossi
Suzuki
30
+1:04.483
13
9
Randy de Puniet
Honda
30
+1:04.588
6
10
Shinya Nakano
Honda
30
+1:16.773
9
11
Anthony West
Kawasaki
30
+1:29.275
17
12
James Toseland
Yamaha
29
+1 Lap
11
13
Toni Elias
Ducati
29
+1 Lap
12
14
Nicky Hayden
Honda
28
+2 Laps
8
15
Colin Edwards
Yamaha
20
Accident
3
16
Marco Melandri
Ducati
9
Accident
16
17
Dani Pedrosa
Honda
5
Accident
2
18
Jorge Lorenzo
Yamaha
2
Accident
5

Questions and formulas:
Question: Who was the rider who had less than 30 laps, ended in an accident with a car manufactured by yamaha on a grid larger than 3?
Formula: LET(query1,LET(query1,FILTER(A1:E1,(B1="yamaha")*(D1="accident")),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,3)),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,(CHOOSECOLS(query1,2)<30)*(CHOOSECOLS(query1,3)>3)))
Formula2: LET(query1,LET(query1,FILTER(A2:E18,(B2:B18="yamaha")*(D2:D18="accident")),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,3)),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,(CHOOSECOLS(query1,2)<30)*(CHOOSECOLS(query1,3)>3)))
Level: hard
Question: Who was the manufacturer for the race on grid 12?
Formula: LET(query1,SUMMARIZE(B1,SUMX(E1)),FILTER(query1,CHOOSECOLS(query1,2)=12))
Formula2: LET(query1,SUMMARIZE(B2:B18,SUMX(E2:E18)),FILTER(query1,CHOOSECOLS(query1,2)=12))
Level: hard
Question: Who was the manufacturer for the car that dani pedrosa did less than 9 laps in?
Formula: LET(query1,LET(query1,FILTER(A1:E1,A1="dani pedrosa"),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,3)))),FILTER(query1,CHOOSECOLS(query1,2)<9))
Formula2: LET(query1,LET(query1,FILTER(A2:E18,A2:A18="dani pedrosa"),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,3)))),FILTER(query1,CHOOSECOLS(query1,2)<9))
Level: hard
Question: How many laps did the driver with the yamaha manufacturer go on grid 3?
Formula: SUM(FILTER(C1, (B1="yamaha")*(E1=3)))
Formula2: SUM(FILTER(C2:C18, (B2:B18="yamaha")*(E2:E18=3)))
Level: easy