Table:
0
A
B
C
D
E
F
G
1
Stage
Winner
General classification
Mountains Classification
Points classification
Sprints Classification
Team Classification
2
1
Fabian Cancellara
Fabian Cancellara
no award
Fabian Cancellara
no award
Liquigas-Doimo
3
2
Heinrich Haussler
Fabian Cancellara
Mathias Frank
Heinrich Haussler
Matthias Russ
Liquigas-Doimo
4
3
Fränk Schleck
Tony Martin
Alexandre Pliuschin
Heinrich Haussler
Matthias Russ
Team Saxo Bank
5
4
Alessandro Petacchi
Tony Martin
Aitor Hernández
Marco Marcato
Steve Morabito
Team Saxo Bank
6
5
Marcus Burghardt
Tony Martin
Aitor Hernández
Marco Marcato
Javier Aramendia
Team Saxo Bank
7
6
Robert Gesink
Robert Gesink
Wouter Poels
Marco Marcato
Javier Aramendia
Team Saxo Bank
8
7
Marcus Burghardt
Robert Gesink
Mathias Frank
Marcus Burghardt
Mathias Frank
Team Saxo Bank
9
8
Rui Costa
Robert Gesink
Mathias Frank
Marcus Burghardt
Mathias Frank
Team Saxo Bank
10
9
Tony Martin
Fränk Schleck
Mathias Frank
Marcus Burghardt
Mathias Frank
Team Saxo Bank

Questions and formulas:
Question: If the mountains classification is Mathias Frank, and the General Classification is Fabian Cancellara, what is the Points classification?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,(C1="Fabian Cancellara")*(D1="Mathias Frank")),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G10,(C2:C10="Fabian Cancellara")*(D2:D10="Mathias Frank")),5))
Level: medium
Question: If the stage is smaller than 5.0, and the points classification is by Marco Marcato, who is the General classification by?
Formula: LET(query1,LET(query1,FILTER(A1:G1,E1="Marco Marcato"),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,1)))),FILTER(query1,CHOOSECOLS(query1,2)<5))
Formula2: LET(query1,LET(query1,FILTER(A2:G10,E2:E10="Marco Marcato"),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,1)))),FILTER(query1,CHOOSECOLS(query1,2)<5))
Level: hard
Question: How many different people had a General Classification on Stage 5?
Formula: LET(query1,SUMMARIZE(C1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,2)=5))
Formula2: LET(query1,SUMMARIZE(C2:C10,SUMX(A2:A10)),FILTER(query1,CHOOSECOLS(query1,2)=5))
Level: hard
Question: How many times was Robert Gesink a winner?
Formula: ROWS(UNIQUE(FILTER(D1, B1="Robert Gesink")))
Formula2: ROWS(UNIQUE(FILTER(D2:D10, B2:B10="Robert Gesink")))
Level: medium
Question: If the winner is Rui Costa, who made the mountains classification?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,B1="Rui Costa"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G10,B2:B10="Rui Costa"),4))
Level: medium