Table:
0
A
B
C
D
E
F
G
1
Year
Team
Co-Drivers
Class
Laps
Pos.
Class Pos.
2
1997
BMS Scuderia Italia
Pierluigi Martini Antônio Hermann de Azevedo
GT1
317
8th
4th
3
1999
JB Racing
Jérôme Policand Mauro Baldi
LMP
71
DNF
DNF
4
2001
Audi Sport North America
Laurent Aïello Rinaldo Capello
LMP900
320
2nd
2nd
5
2002
Audi Sport North America
Johnny Herbert Rinaldo Capello
LMP900
374
2nd
2nd
6
2005
BMS Scuderia Italia
Fabrizio Gollin Miguel Ramos
GT1
67
DNF
DNF
7
2006
BMS Scuderia Italia
Fabrizio Gollin Fabio Babini
GT1
3
DNF
DNF

Questions and formulas:
Question: What is the class of car that is earlier than 2005 and has a class position of 2nd?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,(A1<2005)*(G1="2nd")),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G7,(A2:A7<2005)*(G2:G7="2nd")),4))
Level: medium
Question: How many years was the number of laps 71?
Formula: ROWS(UNIQUE(FILTER(A1, E1=71)))
Formula2: ROWS(UNIQUE(FILTER(A2:A7, E2:E7=71)))
Level: medium
Question: For a year that is later than 2002 what is the class position?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,A1>2002),7))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G7,A2:A7>2002),7))
Level: medium