Table:
0
A
B
C
D
E
F
G
1
Club
Position in 2012
First season
Number of seasons
First season of current spell
Titles
Last title
2
AIK
4th
1924–25
84
2006
5
2009
3
BK Häcken
2nd
1983
12
2009
0
N/A
4
Djurgårdens IF
9th
1927–28
57
2001
7
2005
5
Gefle IF
11th
1933–34
12
2005
0
N/A
6
Halmstads BK
3rd in Superettan
1933–34
50
2013
4
2000
7
Helsingborgs IF
6th
1924–25
62
1993
7
2011
8
IF Brommapojkarna
2nd in Superettan
2007
3
2013
0
N/A
9
IF Elfsborg
1st
1926–27
69
1997
6
2012
10
IFK Göteborg
7th
1924–25
80
1977
13
2007
11
IFK Norrköping
5th
1924–25
72
2011
12
1992
12
Kalmar FF
10th
1949–50
25
2004
1
2008
13
Malmö FF
3rd
1931–32
77
2001
19
2010
14
Mjällby AIF
12th
1980
6
2010
0
N/A
15
Syrianska FC
13th
2011
2
2011
0
N/A
16
Åtvidabergs FF
8th
1968
17
2012
2
1973
17
Östers IF
1st in Superettan
1968
32
2013
4
1981

Questions and formulas:
Question: what is the first season of current spell when the number of seasons is more than 72 and the position in 2012 4th?
Formula: LET(query1,LET(query1,FILTER(A1:G1,B1="4th"),SUMMARIZE(CHOOSECOLS(query1,5),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,CHOOSECOLS(query1,2)>72))
Formula2: LET(query1,LET(query1,FILTER(A2:G17,B2:B17="4th"),SUMMARIZE(CHOOSECOLS(query1,5),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,CHOOSECOLS(query1,2)>72))
Level: hard
Question: what is the most number of season when the position in 2012 10th and the first season of current spell after 2004?
Formula: MAX(FILTER(D1, (B1="10th")*(E1>2004)))
Formula2: MAX(FILTER(D2:D17, (B2:B17="10th")*(E2:E17>2004)))
Level: easy
Question: what is the position is 2012 when the last title is n/a and the first season is 2011?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,(G1="n/a")*(C1=2011)),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G17,(G2:G17="n/a")*(C2:C17=2011)),2))
Level: medium
Question: what is the last title when the titles is more than 12 and the position in 2012 is 7th
Formula: LET(query1,LET(query1,FILTER(A1:G1,B1="7th"),SUMMARIZE(CHOOSECOLS(query1,7),SUMX(CHOOSECOLS(query1,6)))),FILTER(query1,CHOOSECOLS(query1,2)>12))
Formula2: LET(query1,LET(query1,FILTER(A2:G17,B2:B17="7th"),SUMMARIZE(CHOOSECOLS(query1,7),SUMX(CHOOSECOLS(query1,6)))),FILTER(query1,CHOOSECOLS(query1,2)>12))
Level: hard