Table:
0
A
B
C
D
E
F
G
1
Stage
Winner
General Classification
Mountains Classification
Points Classification
Sprints classification
Team Classification
2
1
Óscar Freire
Óscar Freire
no award
Óscar Freire
no award
Caisse d'Epargne
3
2
Igor Antón
Igor Antón
David Loosli
Kim Kirchen
David Loosli
Team CSC
4
3
Robbie McEwen
Igor Antón
David Loosli
Óscar Freire
René Weissinger
Team CSC
5
4
Robbie McEwen
Igor Antón
David Loosli
Óscar Freire
René Weissinger
Team CSC
6
5
Markus Fothen
Igor Antón
David Loosli
Óscar Freire
René Weissinger
Gerolsteiner
7
6
Kim Kirchen
Kim Kirchen
David Loosli
Óscar Freire
René Weissinger
Astana
8
7
Fabian Cancellara
Kim Kirchen
Maxim Iglinsky
Óscar Freire
René Weissinger
Astana
9
8
Roman Kreuziger
Roman Kreuziger
Maxim Iglinsky
Óscar Freire
René Weissinger
Astana
10
9
Fabian Cancellara
Roman Kreuziger
Maxim Iglinsky
Fabian Cancellara
René Weissinger
Astana
11
Final
Final
Roman Kreuziger
Maxim Iglinsky
Fabian Cancellara
René Weissinger
Astana

Questions and formulas:
Question: What's the general classification of stage 3 with David Loosli as the mountains classification?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,(D1="david loosli")*(A1="3")),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G11,(D2:D11="david loosli")*(A2:A11="3")),3))
Level: medium
Question: What's the points classification when the stage was final?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,A1="final"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G11,A2:A11="final"),5))
Level: medium
Question: What is the stage of Gerolsteiner?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,G1="gerolsteiner"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G11,G2:G11="gerolsteiner"),1))
Level: medium
Question: What's the mountains classification of Stage 7 when Kim Kirchen was the general classification?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,(C1="kim kirchen")*(A1="7")),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G11,(C2:C11="kim kirchen")*(A2:A11="7")),4))
Level: medium
Question: What was Kim Kirchen's team classification?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,C1="kim kirchen"),7))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G11,C2:C11="kim kirchen"),7))
Level: medium