Table:
0
A
B
C
D
E
F
G
1
Year
Team
Co-Drivers
Class
Laps
Pos.
Class Pos.
2
1997
Viper Team Oreca
Tommy Archer Marc Duez
GT2
76
DNF
DNF
3
1999
Viper Team Oreca
David Donohue Jean-Philippe Belloc
GTS
271
DNF
DNF
4
2003
Pescarolo Sport
Eric Hélary Nicolas Minassian
LMP900
352
9th
7th
5
2004
Pescarolo Sport
Érik Comas Benoît Tréluyer
LMP1
361
4th
4th
6
2005
Pescarolo Sport
Eric Hélary Sébastien Loeb
LMP1
288
DNF
DNF
7
2007
Team Oreca
Stéphane Ortelli Nicolas Lapierre
GT1
318
16th
9th
8
2008
Team Oreca -Matmut
Loïc Duval Laurent Groppi
LMP1
357
8th
8th
9
2009
Team Oreca -Matmut AIM
Olivier Panis Nicolas Lapierre
LMP1
370
5th
5th
10
2010
AIM Team Oreca -Matmut
Didier André Andy Meyrick
LMP1
369
4th
4th
11
2011
Signatech Nissan
Franck Mailleux Lucas Ordoñez
LMP2
320
9th
2nd
12
2012
PeCom Racing
Luís Pérez Companc Pierre Kaffer
LMP2
352
9th
3rd

Questions and formulas:
Question: What is the position for years under 1999?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,A1<1999),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G12,A2:A12<1999),6))
Level: medium
Question: What is the average year for Team Oreca?
Formula: AVERAGEIFS(A1,B1,"team oreca")
Formula2: AVERAGEIFS(A2:A12,B2:B12,"team oreca")
Level: easy
Question: Which team had a class position of 5th?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,G1="5th"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G12,G2:G12="5th"),2))
Level: medium
Question: What is the class having a year under 2010 and a class position of 5th?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,(A1<2010)*(G1="5th")),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G12,(A2:A12<2010)*(G2:G12="5th")),4))
Level: medium