Table:
0
A
B
C
D
E
1
Driver
Constructor
Laps
Time/Retired
Grid
2
Jackie Stewart
Matra - Ford
90
2:16:54.0
4
3
Bruce McLaren
McLaren - Ford
88
+ 2 Laps
13
4
Jean-Pierre Beltoise
Matra - Ford
87
+ 3 Laps
12
5
Denny Hulme
McLaren - Ford
87
+ 3 Laps
8
6
John Surtees
BRM
84
+ 6 Laps
9
7
Jacky Ickx
Brabham - Ford
83
+ 7 Laps
7
8
Pedro Rodríguez
BRM
73
Engine
14
9
Chris Amon
Ferrari
56
Engine
2
10
Jack Brabham
Brabham - Ford
51
Engine
5
11
Jo Siffert
Lotus - Ford
30
Oil Leak
6
12
Jochen Rindt
Lotus - Ford
19
Accident
1
13
Piers Courage
Brabham - Ford
18
Engine
11
14
Graham Hill
Lotus - Ford
8
Accident
3
15
Jackie Oliver
BRM
1
Oil Pipe
10

Questions and formulas:
Question: What is the average grid number for cars that retired due to engine failure before 18 laps?
Formula: AVERAGE(FILTER(E1, (D1="engine")*(C1<18)))
Formula2: AVERAGE(FILTER(E2:E15, (D2:D15="engine")*(C2:C15<18)))
Level: easy
Question: What is the time/retired for jo siffert with a grid under 11?
Formula: LET(query1,LET(query1,FILTER(A1:E1,A1="jo siffert"),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)<11))
Formula2: LET(query1,LET(query1,FILTER(A2:E15,A2:A15="jo siffert"),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)<11))
Level: hard
Question: What driver has under 19 laps and a grid under 10?
Formula: LET(query1,SUMMARIZE(A1,SUMX(C1),SUMX(E1)),FILTER(query1,(CHOOSECOLS(query1,2)<19)*(CHOOSECOLS(query1,3)<10)))
Formula2: LET(query1,SUMMARIZE(A2:A15,SUMX(C2:C15),SUMX(E2:E15)),FILTER(query1,(CHOOSECOLS(query1,2)<19)*(CHOOSECOLS(query1,3)<10)))
Level: hard