Table:
0
A
B
C
D
1
policy id
policy type code
customer phone
available policies
2
246
Life Insurance
+16(2)5838999222
3
257
Property Insurance
242.763.9214
4
300
Property Insurance
1-416-503-7735x94204
5
301
Property Insurance
(777)537-7792
6
346
Mortgage Insurance
1-446-940-9907x257
7
366
Mortgage Insurance
(379)862-8274x12620
8
472
Mortgage Insurance
+85(6)1302858396
9
583
Travel Insurance
1-797-927-3585x9321
10
586
Life Insurance
991.642.6485x822
11
630
Property Insurance
813.178.8211x557
12
636
Life Insurance
889-572-0609x552
13
751
Life Insurance
1-138-841-3073
14
879
Mortgage Insurance
1-381-132-0127x3801
15
927
Mortgage Insurance
00481937923
16
993
Property Insurance
405.090.8654x021

Questions and formulas:
Question: Find all the phone numbers.
Formula: UNIQUE(C1)
Formula2: UNIQUE(C2:C16)
Level: easy
Question: What are all the phone numbers?
Formula: UNIQUE(C1)
Formula2: UNIQUE(C2:C16)
Level: easy
Question: What are the customer phone numbers under the policy "Life Insurance"?
Formula: LET(query1,FILTER(A1:D1,B1="life insurance"),UNIQUE(CHOOSECOLS(query1,3,1)))
Formula2: LET(query1,FILTER(A2:D16,B2:B16="life insurance"),UNIQUE(CHOOSECOLS(query1,3,1)))
Level: hard
Question: What are the phone numbers of customers using the policy with the code "Life Insurance"?
Formula: LET(query1,FILTER(A1:D1,B1="life insurance"),UNIQUE(CHOOSECOLS(query1,3,1)))
Formula2: LET(query1,FILTER(A2:D16,B2:B16="life insurance"),UNIQUE(CHOOSECOLS(query1,3,1)))
Level: hard
Question: Which policy type appears most frequently?
Formula: TAKE(SORT(SUMMARIZE(B1,COUNTX(B1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(B2:B16,COUNTX(B2:B16)), 2, -1), 1)
Level: hard
Question: Find the policy type used by more than 4 customers.
Formula: LET(query1,SUMMARIZE(B1,SUMX(C1)),FILTER(query1,CHOOSECOLS(query1,3)>4))
Formula2: LET(query1,SUMMARIZE(B2:B16,SUMX(C2:C16)),FILTER(query1,CHOOSECOLS(query1,3)>4))
Level: hard
Question: Find the policy types more than 4 customers use. Show their type code.
Formula: LET(query1,SUMMARIZE(B1,SUMX(C1)),FILTER(query1,CHOOSECOLS(query1,3)>4))
Formula2: LET(query1,SUMMARIZE(B2:B16,SUMX(C2:C16)),FILTER(query1,CHOOSECOLS(query1,3)>4))
Level: hard