Table:
0
A
B
C
D
E
1
Province
South Asians 2001
% 2001
South Asians 2011
% 2011
2
Ontario
554,870
4.9%
1,003,180
7.9%
3
British Columbia
210,295
5.4%
311,265
7.2%
4
Alberta
69,580
2.4%
159,055
4.4%
5
Quebec
59,510
0.8%
91,400
1.2%
6
Manitoba
12,875
1.2%
26,220
2.2%
7
Saskatchewan
4,090
0.4%
12,620
1.3%
8
Nova Scotia
2,895
0.3%
5,935
0.7%
9
New Brunswick
1,415
0.2%
3,090
0.4%
10
Newfoundland and Labrador
1,010
0.2%
2,005
0.4%
11
Prince Edward Island
115
0.1%
500
0.4%
12
Yukon
205
0.7%
340
1.0%
13
Northwest Territories
190
0.5%
200
0.5%
14
Nunavut
30
0.1%
115
0.4%
15
Canada
917,075
3.1%
1,615,145
4.9%

Questions and formulas:
Question: How many South Asians were there in 2011 in Quebec when there were fewer than 59,510 in 2001?
Formula: SUM(FILTER(D1, (A1="quebec")*(B1<59510)))
Formula2: SUM(FILTER(D2:D15, (A2:A15="quebec")*(B2:B15<59510)))
Level: easy
Question: Which province had fewer than 190 South Asians in 2001 and 115 South Asians in 2011?
Formula: LET(query1,SUMMARIZE(A1,SUMX(B1),SUMX(D1)),FILTER(query1,(CHOOSECOLS(query1,2)<190)*(CHOOSECOLS(query1,3)=115)))
Formula2: LET(query1,SUMMARIZE(A2:A15,SUMX(B2:B15),SUMX(D2:D15)),FILTER(query1,(CHOOSECOLS(query1,2)<190)*(CHOOSECOLS(query1,3)=115)))
Level: hard
Question: What % of South Asians were in Nova Scotia in 2001 with 115 and 2011 with 12,620?
Formula: LET(query1,LET(query1,FILTER(A1:E1,A1="nova scotia"),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,2)),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,(CHOOSECOLS(query1,2)>115)*(CHOOSECOLS(query1,3)>12620)))
Formula2: LET(query1,LET(query1,FILTER(A2:E15,A2:A15="nova scotia"),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,2)),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,(CHOOSECOLS(query1,2)>115)*(CHOOSECOLS(query1,3)>12620)))
Level: hard
Question: How many South Asians on average were in Alberta in 2001 and in 2011 had 159,055?
Formula: AVERAGE(FILTER(B1, (A1="alberta")*(D1>159055)))
Formula2: AVERAGE(FILTER(B2:B15, (A2:A15="alberta")*(D2:D15>159055)))
Level: easy