Table:
0
A
B
C
D
E
F
G
H
I
1
airport id
airport name
total passengers
% change 2007
international passengers
domestic passengers
transit passengers
aircraft movements
freight metric tonnes
2
1
London Heathrow
67054745
1.50%
61344438
5562516
147791
478693
1397054
3
2
London Gatwick
34205887
2.90%
30431051
3730963
43873
263653
107702
4
3
London Stansted
22360364
6.00%
19996947
2343428
19989
193282
197738
5
4
Manchester
21219195
4.00%
18119230
2943719
156246
204610
141781
6
5
London Luton
10180734
2.60%
8853224
1320678
6832
117859
40518
7
6
Birmingham Airport
9627589
4.30%
8105162
1471538
50889
112227
12192
8
7
Edinburgh
9006702
0.50%
3711140
5281038
14524
125550
12418
9
8
Glasgow International
8178891
7.00%
3943139
4192121
43631
100087
3546
10
9
Bristol
6267114
5.70%
5057051
1171605
38458
76517
3
11
10
East Midlands
5620673
3.80%
4870184
746094
4395
93038
261507

Questions and formulas:
Question: What is the average number of international passengers of all airports?
Formula: AVERAGE(E1)
Formula2: AVERAGE(E2:E11)
Level: easy
Question: What is the average number of international passengers for an airport?
Formula: AVERAGE(E1)
Formula2: AVERAGE(E2:E11)
Level: easy
Question: How many international and domestic passengers are there in the airport London Heathrow?
Formula: CHOOSE({1,2},FILTER(E1,B1="London Heathrow"),FILTER(F1,B1="London Heathrow"))
Formula2: CHOOSE({1,2},FILTER(E2:E11,B2:B11="London Heathrow"),FILTER(F2:F11,B2:B11="London Heathrow"))
Level: medium
Question: Show all information on the airport that has the largest number of international passengers.
Formula: LET(a,SORTBY(A1,E1,-1),FILTER(a,SEQUENCE(ROWS(a))<=1))
Formula2: LET(a,SORTBY(A2:A11,E2:E11,-1),FILTER(a,SEQUENCE(ROWS(a))<=1))
Level: hard
Question: What is all the information on the airport with the largest number of international passengers?
Formula: LET(a,SORTBY(A1,E1,-1),FILTER(a,SEQUENCE(ROWS(a))<=1))
Formula2: LET(a,SORTBY(A2:A11,E2:E11,-1),FILTER(a,SEQUENCE(ROWS(a))<=1))
Level: hard
Question: the average number of international passengers for each airport.
Formula: SUMMARIZE(A1,AVERAGEX(E1))
Formula2: SUMMARIZE(A2:A11,AVERAGEX(E2:E11))
Level: easy
Question: Id of the airport which handles most international passengers.
Formula: TAKE(SORT(SUMMARIZE(A1,SUMX(E1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(A2:A11,SUMX(E2:E11)), 2, -1), 1)
Level: hard
Question: the id of the airport with the most international passengers
Formula: TAKE(SORT(SUMMARIZE(A1,SUMX(E1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(A2:A11,SUMX(E2:E11)), 2, -1), 1)
Level: hard
Question: the international passengers on average for each airport.
Formula: SUMMARIZE(A1,AVERAGEX(E1))
Formula2: SUMMARIZE(A2:A11,AVERAGEX(E2:E11))
Level: easy
Question: the id of airport with the most international passengers
Formula: TAKE(SORT(SUMMARIZE(A1,SUMX(E1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(A2:A11,SUMX(E2:E11)), 2, -1), 1)
Level: hard