Table:
0
A
B
C
D
E
F
G
1
Stage
Winner
General classification Żółta koszulka
Mountains classification Klasyfikacja górska
Intermediate Sprints Classification Klasyfikacja najaktywniejszych
Points classification Klasyfikacja punktowa
Teams classification
2
1
Jacopo Guarnieri
Jacopo Guarnieri
Łukasz Bodnar
Błażej Janiaczyk
Jacopo Guarnieri
Team Sky
3
2
André Greipel
Allan Davis
Marcin Sapa
Błażej Janiaczyk
Allan Davis
Team Sky
4
3
Yauheni Hutarovich
Allan Davis
Dominique Rollin
Błażej Janiaczyk
Allan Davis
Team Sky
5
4
Mirco Lorenzetto
Mirco Lorenzetto
Johnny Hoogerland
Błażej Janiaczyk
Allan Davis
Lampre-Farnese
6
5
Daniel Martin
Daniel Martin
Johnny Hoogerland
Błażej Janiaczyk
Allan Davis
Garmin-Transitions
7
6
Bauke Mollema
Daniel Martin
Johnny Hoogerland
Johnny Hoogerland
Grega Bole
Garmin-Transitions
8
7
André Greipel
Daniel Martin
Johnny Hoogerland
Johnny Hoogerland
Allan Davis
Garmin-Transitions

Questions and formulas:
Question: What was the intermediate sprint classification for the race whose winner was Daniel Martin?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,B1="Daniel Martin"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G8,B2:B8="Daniel Martin"),5))
Level: medium
Question: Which teams classification winners had a general classification winner of Allan Davis?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,C1="Allan Davis"),7))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G8,C2:C8="Allan Davis"),7))
Level: medium
Question: Who won the points classification when the teams classification winner was Lampre-Farnese?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,G1="Lampre-Farnese"),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G8,G2:G8="Lampre-Farnese"),6))
Level: medium