Table:
0
A
B
C
D
E
F
G
1
Year
Stage
Start of stage
Distance (km)
Category of climb
Stage winner
Yellow jersey
2
1989
10
Cauterets
136
1
Robert Millar
Laurent Fignon
3
1986
13
Pau
186
HC
Greg LeMond
Bernard Hinault
4
1979
2
Bagnères-de-Luchon
23,87 ( ITT )
1
Bernard Hinault
Bernard Hinault
5
1971
15
Bagnères-de-Luchon
19.6
1
José-Manuel Fuente
Eddy Merckx
6
1962
13
Bagnères-de-Luchon
18.25 ( ITT )
1
Federico Bahamontes
Joseph Planckaert
7
1961
16
Toulouse
208
1
Imerio Massignan
Jacques Anquetil

Questions and formulas:
Question: Who was the stage winner when the start of stage is Cauterets?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,C1="cauterets"),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G7,C2:C7="cauterets"),6))
Level: medium
Question: What is the distance for José-Manuel Fuente when the stage was less than 16?
Formula: LET(query1,LET(query1,FILTER(A1:G1,F1="josé-manuel fuente"),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,2)))),FILTER(query1,CHOOSECOLS(query1,2)<16))
Formula2: LET(query1,LET(query1,FILTER(A2:G7,F2:F7="josé-manuel fuente"),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,2)))),FILTER(query1,CHOOSECOLS(query1,2)<16))
Level: hard
Question: Who was the stage winner when the stage was more than 10 and yellow jersey was Joseph Planckaert?
Formula: LET(query1,LET(query1,FILTER(A1:G1,G1="joseph planckaert"),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,2)))),FILTER(query1,CHOOSECOLS(query1,2)>10))
Formula2: LET(query1,LET(query1,FILTER(A2:G7,G2:G7="joseph planckaert"),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,2)))),FILTER(query1,CHOOSECOLS(query1,2)>10))
Level: hard
Question: What is the Start of stage when Bernard Hinault was the stage winner?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,F1="bernard hinault"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G7,F2:F7="bernard hinault"),3))
Level: medium
Question: who was the Stage winner when the stage was smaller than 16, earlier than 1986, and a distance (km) was 19.6?
Formula: LET(query1,LET(query1,FILTER(A1:G1,(A1<1986)*(D1=19.6)),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,2)))),FILTER(query1,CHOOSECOLS(query1,2)<16))
Formula2: LET(query1,LET(query1,FILTER(A2:G7,(A2:A7<1986)*(D2:D7=19.6)),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,2)))),FILTER(query1,CHOOSECOLS(query1,2)<16))
Level: hard
Question: What year was yellow jersey of Jacques Anquetil?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,G1="jacques anquetil"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G7,G2:G7="jacques anquetil"),1))
Level: medium