Table:
0
A
B
C
D
E
1
Municipality
Inhabitants
Mayor
Party
Election
2
Trieste
205,535
Roberto Cosolini
Democratic Party
2011
3
Udine
99,627
Furio Honsell
Democratic Party
2008
4
Pordenone
51,723
Claudio Pedrotti
Democratic Party
2011
5
Gorizia
35,798
Ettore Romoli
The People of Freedom
2012
6
Monfalcone
27,877
Silvia Altran
Democratic Party
2011
7
Sacile
20,227
Roberto Ceraolo
The People of Freedom
2009
8
Cordenons
18,470
Mario Ongaro
Lega Friuli-VG
2011
9
Codroipo
15,887
Fabio Marchetti
The People of Freedom
2011
10
Azzano Decimo
15,601
Marco Putto
Democratic Party
2012
11
Porcia
15,443
Stefano Turchet
Lega Friuli-VG
2009
12
San Vito al Tagliamento
15,015
Antonio Di Bisceglie
Democratic Party
2011

Questions and formulas:
Question: Which municipality has a party of Lega Friuli-VG that won elections before 2011?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(D1="lega friuli-vg")*(E1<2011)),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E12,(D2:D12="lega friuli-vg")*(E2:E12<2011)),1))
Level: medium
Question: Which party is Ettore Romoli from?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="ettore romoli"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E12,C2:C12="ettore romoli"),4))
Level: medium