Table:
0
A
B
C
D
E
F
G
H
1
Rank
Airport
Location
Code
Total passengers
% Change 2011-2012
Aircraft movements
Cargo traffic
2
1.
Madrid Airport
Madrid
MAD
45,195,014
9.0
373,185
359,362,155
3
2.
Barcelona Airport
Barcelona
BCN
35,145,176
2.2
290,004
96,519,698
4
3.
Palma de Mallorca Airport
Palma de Mallorca
PMI
22,666,682
0.3
173,957
13,711,903
5
4.
Málaga Airport
Málaga
AGP
12,582,191
1.9
102,153
2,711,468
6
5.
Gran Canaria Airport
Las Palmas / Gran Canaria
LPA
9,892,288
6.1
100,390
20,603,186
7
6.
Alicante Airport
Alicante
ALC
8,855,441
10.7
62,468
2,525,608
8
7.
Tenerife South Airport
Tenerife
TFS
8,530,817
1.5
56,210
3,904,961
9
8.
Ibiza Airport
Ibiza
IBZ
5,555,071
1.6
57,737
2,616,049
10
9.
Lanzarote Airport
Lanzarote
ACE
5,169,386
6.8
44,787
2,108,324
11
10.
Valencia Airport
Valencia
VLC
4,752,020
4.6
59,824
11,125,537

Questions and formulas:
Question: Can you tell me the average Rank that has the Code of vlc, and the Cargo traffic smaller than 11,125,537?
Formula: AVERAGE(FILTER(A1, (D1="vlc")*(H1<11125537)))
Formula2: AVERAGE(FILTER(A2:A11, (D2:D11="vlc")*(H2:H11<11125537)))
Level: easy
Question: Can you tell me the average Total passengers that has the Code of mad, and the Cargo traffic smaller than 359,362,155?
Formula: AVERAGE(FILTER(E1, (D1="mad")*(H1<359362155)))
Formula2: AVERAGE(FILTER(E2:E11, (D2:D11="mad")*(H2:H11<359362155)))
Level: easy
Question: Can you tell me the highest Cargo traffic that has the Airport of barcelona airport, and the Aircraft movements smaller than 290,004?
Formula: MAX(FILTER(H1, (B1="barcelona airport")*(G1<290004)))
Formula2: MAX(FILTER(H2:H11, (B2:B11="barcelona airport")*(G2:G11<290004)))
Level: easy
Question: Can you tell me the highest Total passengers that has the Cargo traffic larger than 96,519,698?
Formula: MAX(FILTER(E1, H1>96519698))
Formula2: MAX(FILTER(E2:E11, H2:H11>96519698))
Level: easy