Table:
0
A
B
C
D
E
F
G
1
Year
Team
Co-Drivers
Class
Laps
Pos.
Class Pos.
2
1995
Venturi Automobiles
Paul Belmondo Arnaud Trévisiol
GT1
193
NC
NC
3
1996
Ennea SRL Igol
Éric Bernard Paul Belmondo
GT1
40
DNF
DNF
4
1997
Gulf Team Davidoff GTC Racing
Pierre-Henri Raphanel Anders Olofsson
GT1
360
2nd
1st
5
1998
AMG-Mercedes
Ricardo Zonta Christophe Bouchut
GT1
31
DNF
DNF
6
2000
Thomas Bscher Promotion David Price Racing
Thomas Bscher Geoff Lees
LMP900
180
DNF
DNF
7
2003
Courage Compétition
Jonathan Cochet Stéphan Grégoire
LMP900
360
7th
5th
8
2004
Courage Compétition
Alexander Frei Sam Hancock
LMP2
127
DNF
DNF
9
2005
Audi PlayStation Team Oreca
Franck Montagny Stéphane Ortelli
LMP1
362
4th
4th
10
2006
Courage Compétition
Shinji Nakano Haruki Kurosawa
LMP1
35
DNF
DNF
11
2007
Courage Compétition
Guillaume Moreau Stefan Johansson
LMP1
175
DNF
DNF
12
2008
Epsilon Euskadi
Shinji Nakano Stefan Johansson
LMP2
158
DNF
DNF

Questions and formulas:
Question: Which Class has Laps of 31?
Formula: LET(query1,SUMMARIZE(D1,SUMX(E1)),FILTER(query1,CHOOSECOLS(query1,2)=31))
Formula2: LET(query1,SUMMARIZE(D2:D12,SUMX(E2:E12)),FILTER(query1,CHOOSECOLS(query1,2)=31))
Level: hard