Table:
0
A
B
C
D
E
F
G
H
1
Club
City or town
Position in 2012–13 season
First season in top division
Number of seasons in top division
First season of current spell in top division
Top division titles
Last top division title
2
Akhisar Belediyespor
Akhisar
021 14th
2012-13
2
2012-13
—
—
3
Medical Park Antalyaspor
Antalya
009 7th
1982-83
19
2008–09
—
—
4
Beşiktaş a, b
İstanbul
004 3rd
1959
56
1959
13
2008–09
5
Bursaspor
Bursa
001 4th
1967–68
45
2006–07
1
2009–10
6
Çaykur Rizespor
Rize
011 2nd in the TFF First League
1967-68
14
2013–14
—
—
7
Elazığspor
Elazığ
021 13th
2002-03
4
2012-13
—
—
8
Eskişehirspor
Eskişehir
007 8th
1966–67
28
2008–09
—
—
9
Fenerbahçe a, b
İstanbul
002 2nd
1959
56
1959
17
2006-07
10
Galatasaray a, b
İstanbul
003 1st
1959
56
1959
19
2012–13
11
Gaziantepspor
Gaziantep
013 10th
1978–79
28
1990–91
—
—
12
Gençlerbirliği a
Ankara
010 11th
1959
42
1989–90
—
—
13
Kardemir Demir Çelik Karabükspor
Karabük
019 15th
1993–94
7
2010–11
—
—
14
Kasımpaşa
İstanbul
022 6th
1959-60
10
2012-13
—
—
15
Kayseri Erciyesspor
Kayseri
006 1st in the TFF First League
2005–06
3
2013–14
—
—
16
Kayserispor
Kayseri
008 5th
1973–74
18
2004–05
—
—
17
Konyaspor
Konya
020 TFF First League playoff winner
1988-89
13
2013–14
—
—
18
Sivasspor b
Sivas
015 12th
2005–06
9
2005–06
—
—
19
Trabzonspor b
Trabzon
005 9th
1974–75
40
1974–75
7
2010-11

Questions and formulas:
Question: Which City or town has a Top division titles of 17
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,G1=17),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H19,G2:G19=17),2))
Level: medium
Question: Which City or town has top division smaller than 40 and Gaziantepspor Club ?
Formula: LET(query1,LET(query1,FILTER(A1:H1,A1="gaziantepspor"),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)<40))
Formula2: LET(query1,LET(query1,FILTER(A2:H19,A2:A19="gaziantepspor"),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)<40))
Level: hard