Table:
0
A
B
C
D
E
F
G
H
I
J
1
county id
name
population
police officers
residents per officer
case burden
crime rate
police force
location
county public safety
2
1
Abbotsford
128165
187
685
81
118.0
Abbotsford Police Department
East
3
2
Burnaby
204320
253
808
100
123.0
RCMP
East
4
3
Campbell River
30810
40
770
137
178.0
RCMP
West
5
4
Castlegar
7821
11
711
107
150.0
RCMP
North
6
5
Central Saanich
16821
21
801
39
49.0
Central Saanich Police
East
7
6
Chilliwack
73066
91
803
140
174.0
RCMP
West

Questions and formulas:
Question: How many counties are there?
Formula: SUM(A1)
Formula2: SUM(A2:A7)
Level: easy
Question: List the names of counties in descending order of population.
Formula: SORTBY(B1,C1,-1)
Formula2: SORTBY(B2:B7,C2:C7,-1)
Level: easy
Question: What are the names of the counties of public safety, ordered by population descending?
Formula: SORTBY(B1,C1,-1)
Formula2: SORTBY(B2:B7,C2:C7,-1)
Level: easy
Question: List the distinct police forces of counties whose location is not on east side.
Formula: UNIQUE(FILTER(H1,I1<>"East"))
Formula2: UNIQUE(FILTER(H2:H7,I2:I7<>"East"))
Level: easy
Question: What are the different police forces of counties that are not located in the East?
Formula: UNIQUE(FILTER(H1,I1<>"East"))
Formula2: UNIQUE(FILTER(H2:H7,I2:I7<>"East"))
Level: easy
Question: Show the crime rates of counties in ascending order of number of police officers.
Formula: SORTBY(G1,D1,1)
Formula2: SORTBY(G2:G7,D2:D7,1)
Level: easy
Question: List the name of the county with the largest population.
Formula: LET(a,SORTBY(B1,C1,-1),FILTER(a,SEQUENCE(ROWS(a))<=1))
Formula2: LET(a,SORTBY(B2:B7,C2:C7,-1),FILTER(a,SEQUENCE(ROWS(a))<=1))
Level: hard
Question: What is the name of the county with the greatest population?
Formula: LET(a,SORTBY(B1,C1,-1),FILTER(a,SEQUENCE(ROWS(a))<=1))
Formula2: LET(a,SORTBY(B2:B7,C2:C7,-1),FILTER(a,SEQUENCE(ROWS(a))<=1))
Level: hard
Question: Please show the police forces and the number of counties with each police force.
Formula: SUMMARIZE(H1,SUMX(A1))
Formula2: SUMMARIZE(H2:H7,SUMX(A2:A7))
Level: easy
Question: How many counties correspond to each police force?
Formula: SUMMARIZE(H1,SUMX(A1))
Formula2: SUMMARIZE(H2:H7,SUMX(A2:A7))
Level: easy
Question: What is the location shared by most counties?
Formula: TAKE(SORT(SUMMARIZE(I1,SUMX(A1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(I2:I7,SUMX(A2:A7)), 2, -1), 1)
Level: hard
Question: Which location has the most corresponding counties?
Formula: TAKE(SORT(SUMMARIZE(I1,SUMX(A1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(I2:I7,SUMX(A2:A7)), 2, -1), 1)
Level: hard
Question: Show the case burden of counties in descending order of population.
Formula: SORTBY(F1,C1,-1)
Formula2: SORTBY(F2:F7,C2:C7,-1)
Level: easy
Question: What are the case burdens of counties, ordered descending by population?
Formula: SORTBY(F1,C1,-1)
Formula2: SORTBY(F2:F7,C2:C7,-1)
Level: easy