Table:
0
A
B
C
D
E
F
1
Year
Stage
Category
Start
Finish
Leader at the summit
2
2013
9
1
Saint-Girons
Bagnères-de-Bigorre
Tom Danielson ( USA )
3
2012
17
1
Bagnères-de-Luchon
Peyragudes
Thomas Voeckler ( FRA )
4
2007
15
1
Foix
Loudenvielle
Juan Manuel Gárate ( ESP )
5
2005
15
1
Lézat-sur-Lèze
Pla d'Adet
Erik Dekker ( NED )
6
2003
14
1
Saint-Girons
Loudenvielle
Richard Virenque ( FRA )
7
2001
13
1
Foix
Pla d'Adet
Laurent Jalabert ( FRA )
8
1999
15
1
Saint-Gaudens
Piau-Engaly
Alberto Elli ( ITA )
9
1998
11
1
Bagnères-de-Luchon
Plateau de Beille
Alberto Elli ( ITA )
10
1995
15
1
Saint-Girons
Cauterets
Richard Virenque ( FRA )
11
1988
15
1
Saint-Girons
Luz Ardiden
Robert Millar ( GBR )
12
1979
1
2
Fleurance
Bagnères-de-Luchon
Bernard Hinault ( FRA )
13
1976
14
2
Saint-Gaudens
Saint-Lary-Soulan
Lucien Van Impe ( BEL )
14
1973
13
2
Bourg-Madame
Bagnères-de-Luchon
José-Manuel Fuente ( ESP )
15
1971
14
2
Revel
Bagnères-de-Luchon
José-Manuel Fuente ( ESP )
16
1970
18
2
Saint-Gaudens
La Mongie
Guerrino Tosello ( ITA )
17
1969
16
2
Castelnaudary
Bagnères-de-Luchon
Raymond Delisle ( FRA )
18
1967
16
1
Toulouse
Bagnères-de-Luchon
Fernando Manzanèque ( ESP )
19
1966
11
2
Pau
Bagnères-de-Luchon
Joaquim Galera ( ESP )

Questions and formulas:
Question: Who was the leader at the summit when the stage was larger than 14, the category was 1, the start was Saint-Girons, and the finish was Cauterets?
Formula: LET(query1,LET(query1,FILTER(A1:F1,(D1="saint-girons")*(E1="cauterets")),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,2)),SUMX(CHOOSECOLS(query1,3)))),FILTER(query1,(CHOOSECOLS(query1,2)>14)*(CHOOSECOLS(query1,3)=1)))
Formula2: LET(query1,LET(query1,FILTER(A2:F19,(D2:D19="saint-girons")*(E2:E19="cauterets")),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,2)),SUMX(CHOOSECOLS(query1,3)))),FILTER(query1,(CHOOSECOLS(query1,2)>14)*(CHOOSECOLS(query1,3)=1)))
Level: hard
Question: What was the earliest year that had a start of Saint-Gaudens and a stage smaller than 15?
Formula: MIN(FILTER(A1, (D1="saint-gaudens")*(B1<15)))
Formula2: MIN(FILTER(A2:A19, (D2:D19="saint-gaudens")*(B2:B19<15)))
Level: easy