Table:
0
A
B
C
D
E
F
G
1
Stage
Winner
General classification
Sprint Classification
Mountains Classification
Points Classification
Team Classification
2
1
André Greipel
André Greipel
Richie Porte
Wout Poels
André Greipel
Colnago-CSF Inox
3
2
Greg Henderson
Greg Henderson
Richie Porte
Richie Porte
Greg Henderson
Vacansoleil
4
3
Michael Albasini
Michael Albasini
Richie Porte
Richie Porte
Greg Henderson
Vacansoleil
5
4
Wout Poels
Michael Albasini
Richie Porte
Johnny Hoogerland
Michael Albasini
Vacansoleil
6
5
Marco Frapporti
Michael Albasini
Michał Gołaś
Johnny Hoogerland
Michael Albasini
Vacansoleil
7
6
André Greipel
Michael Albasini
Michał Gołaś
Johnny Hoogerland
Greg Henderson
Vacansoleil
8
7
Borut Božič
Michael Albasini
Michał Gołaś
Johnny Hoogerland
Greg Henderson
Vacansoleil
9
8
André Greipel
Michael Albasini
Michał Gołaś
Johnny Hoogerland
Greg Henderson
Vacansoleil

Questions and formulas:
Question: Who had the mountains classification when borut božič was the winner?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,B1="Borut Božič"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G9,B2:B9="Borut Božič"),5))
Level: medium
Question: What was the team classification where andré greipel was the winner and had the points classification?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,(B1="André Greipel")*(F1="André Greipel")),7))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G9,(B2:B9="André Greipel")*(F2:F9="André Greipel")),7))
Level: medium
Question: How many stages are there?
Formula: SUM(A1)
Formula2: SUM(A2:A9)
Level: easy
Question: How many sprint classifications are there where marco frapporti is the winner?
Formula: ROWS(UNIQUE(FILTER(D1, B1="Marco Frapporti")))
Formula2: ROWS(UNIQUE(FILTER(D2:D9, B2:B9="Marco Frapporti")))
Level: medium