Table:
0
A
B
C
D
E
F
1
Driver
Team
Laps
Time/Retired
Grid
Points
2
Sébastien Bourdais
Newman/Haas Racing
84
1:45:36.930
1
34
3
Jimmy Vasser
PKV Racing
84
+1.396 secs
11
28
4
Patrick Carpentier
Forsythe Racing
84
+6.731 secs
6
25
5
Mario Haberfeld
Walker Racing
84
+7.892 secs
14
24
6
Paul Tracy
Forsythe Racing
84
+9.665 secs
2
23
7
Gastón Mazzacane
Dale Coyne Racing
84
+14.002 secs
16
19
8
Alex Tagliani
Rocketsports Racing
84
+28.444 secs
9
17
9
Ryan Hunter-Reay
Herdez Competition
84
+43.175 secs
7
15
10
Oriol Servià
Dale Coyne Racing
83
+ 1 Lap
10
13
11
Alex Sperafico
Mi-Jack Conquest Racing
83
+ 1 Lap
17
11
12
A. J. Allmendinger
RuSPORT
82
+ 2 Laps
8
10
13
Justin Wilson
Mi-Jack Conquest Racing
81
+ 3 Laps
5
9
14
Roberto González
PKV Racing
80
Contact
15
8
15
Rodolfo Lavín
Forsythe Racing
78
Stalled
13
7
16
Michel Jourdain, Jr.
RuSPORT
73
Contact
12
6
17
Memo Gidley
Rocketsports Racing
36
Contact
18
5
18
Mario Domínguez
Herdez Competition
0
Contact
4
4
19
Bruno Junqueira
Newman/Haas Racing
0
Contact
3
3

Questions and formulas:
Question: When the grid is under 5 and justin wilson is driving for the team mi-jack conquest racing, what's the highest number of laps driven?
Formula: MAX(FILTER(C1, (B1="mi-jack conquest racing")*(A1="justin wilson")*(E1<5)))
Formula2: MAX(FILTER(C2:C19, (B2:B19="mi-jack conquest racing")*(A2:A19="justin wilson")*(E2:E19<5)))
Level: easy
Question: When the team is newman/haas racing and the grid size is 3, what's the time/retired?
Formula: LET(query1,LET(query1,FILTER(A1:F1,B1="newman/haas racing"),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)=3))
Formula2: LET(query1,LET(query1,FILTER(A2:F19,B2:B19="newman/haas racing"),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)=3))
Level: hard