Table:
0
A
B
C
D
E
F
1
Province
Inhabitants
established
President
Party
Election
2
Arezzo
348,327
1826
Roberto Vasai
Democratic Party
2009
3
Florence
991,862
1848
Andrea Barducci
Democratic Party
2009
4
Grosseto
227,063
1766
Leonardo Marras
Democratic Party
2009
5
Livorno
341,453
1861
Giorgio Kutufà
Democratic Party
2009
6
Lucca
392,182
1849
Stefano Baccelli
Democratic Party
2011
7
Massa
203,642
1859
Osvaldo Angeli
Democratic Party
2008
8
Pisa
414,154
1849
Andrea Pieroni
Democratic Party
2009
9
Pistoia
292,108
1927
Federica Fratoni
Democratic Party
2009
10
Prato
248,174
1992
Lambarto Nazzareno Gestri
Democratic Party
2009
11
Siena
270,333
1849
Simone Bezzini
Democratic Party
2009

Questions and formulas:
Question: What was the lowest election result for President Leonardo Marras with an area smaller than 227,063 people?
Formula: MIN(FILTER(F1, (D1="leonardo marras")*(B1<227063)))
Formula2: MIN(FILTER(F2:F11, (D2:D11="leonardo marras")*(B2:B11<227063)))
Level: easy
Question: What is the party affiliation for President Stefano Baccelli?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,D1="stefano baccelli"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F11,D2:D11="stefano baccelli"),5))
Level: medium
Question: What is the average election result for the province of Grosseto from 1766 and prior?
Formula: AVERAGE(FILTER(F1, (A1="grosseto")*(C1<1766)))
Formula2: AVERAGE(FILTER(F2:F11, (A2:A11="grosseto")*(C2:C11<1766)))
Level: easy