Table:
0
A
B
C
D
E
F
1
Year
Indians admitted
Pakistanis admitted
Sri Lankans admitted
Bangladeshis admitted
Nepalis admitted
2
2000
26,122
14,201
5,849
2,715
247
3
2001
27,901
15,353
5,520
3,393
273
4
2002
28,838
14,173
4,968
2,615
418
5
2003
24,595
12,351
4,448
1,896
440
6
2004
25,573
12,793
4,134
3,374
594
7
2005
22,141
13,575
4,690
3,940
714
8
2006
30,746
12,329
4,490
3,838
640
9
2007
26,047
9,545
3,934
2,735
564
10
2008
24,548
8,051
4,508
2,716
639
11
2009
26,117
6,213
4,270
4,270
627
12
2010
30,252
4,986
4,181
4,364
1,502
13
2011
24,965
6,073
3,104
2,449
1,249
14
2012
28,943
9,931
3,152
2,449
1,311
15
Total
346,788
139,574
57,248
35,856
9,218

Questions and formulas:
Question: What was the most Nepalis admitted when the number of Sri Lankans was more than 5,520, Bangladeshis was more than 2,715, and Pakistanis more than 139,574?
Formula: MAX(FILTER(F1, (D1>5520)*(E1>2715)*(C1>139574)))
Formula2: MAX(FILTER(F2:F15, (D2:D15>5520)*(E2:E15>2715)*(C2:C15>139574)))
Level: easy
Question: What were the fewest number of Sri Lankans admitted when more than 4,270 Bangladeshis and more than 4,986 Pakistanis were admitted?
Formula: MIN(FILTER(D1, (E1>4270)*(C1>4986)))
Formula2: MIN(FILTER(D2:D15, (E2:E15>4270)*(C2:C15>4986)))
Level: easy
Question: How many Sri Lankans were admitted in 2004 when more than 594 Nepalis were admitted?
Formula: SUM(FILTER(D1, (A1=2004)*(F1>594)))
Formula2: SUM(FILTER(D2:D15, (A2:A15=2004)*(F2:F15>594)))
Level: easy
Question: How many Bangladeshis were admitted when 714 Nepalis and 13,575 Pakistanis were admitted?
Formula: SUM(FILTER(E1, (F1=714)*(C1>13575)))
Formula2: SUM(FILTER(E2:E15, (F2:F15=714)*(C2:C15>13575)))
Level: easy
Question: What was the most Nepalis admitted when fewer than 1,896 Bangladeshis were admitted?
Formula: MAX(FILTER(F1, E1<1896))
Formula2: MAX(FILTER(F2:F15, E2:E15<1896))
Level: easy