Table:
0
A
B
C
D
E
F
G
H
1
customer id
customer type code
address line 1
address line 2
town city
state
email address
phone number
2
113
Good Credit Rating
144 Legros Landing
Apt. 551
Maryamport
Kansas
hsteuber@example.org
6963347450
3
114
Good Credit Rating
039 Jedidiah Estate Suite 537
Apt. 245
Sauerberg
Hawaii
cayla.satterfield@example.net
470-803-0244
4
115
Good Credit Rating
92189 Gulgowski Ranch Apt. 683
Apt. 828
Tyreekhaven
Tennessee
vida86@example.com
997.698.4779x882
5
116
Good Credit Rating
72144 Katlynn Flat Suite 512
Suite 959
Hansenbury
Tennessee
vbogisich@example.org
548.373.3603x59134
6
117
Good Credit Rating
1566 Ramona Overpass Apt. 464
Suite 151
North Alisaville
Florida
ubeier@example.org
044-468-4549
7
118
Defaults on payments
425 Roman Tunnel
Apt. 495
Funkstad
Colorado
lavonne.frami@example.com
+38(3)9011433816
8
119
Good Credit Rating
05355 Marcelle Radial
Suite 054
Port Joshuah
Pennsylvania
paige.hyatt@example.com
1-369-302-7623x576
9
120
Defaults on payments
518 Mann Park
Suite 035
West Annamariestad
Iowa
rzulauf@example.org
578.019.7943x328

Questions and formulas:
Question: How many customers are there?
Formula: SUM(C1)
Formula2: SUM(C2:C9)
Level: easy
Question: Count the number of customers.
Formula: SUM(A1)
Formula2: SUM(A2:A9)
Level: easy
Question: Which city has the least number of customers whose type code is "Good Credit Rating"?
Formula: TAKE(SORT(LET(query1,FILTER(A1:H1,B1="good credit rating"),SUMMARIZE(CHOOSECOLS(query1,5),SUMX(CHOOSECOLS(query1,1)))), 2, 1), 1)
Formula2: TAKE(SORT(LET(query1,FILTER(A2:H9,B2:B9="good credit rating"),SUMMARIZE(CHOOSECOLS(query1,5),SUMX(CHOOSECOLS(query1,1)))), 2, 1), 1)
Level: hard
Question: Return the city with the customer type code "Good Credit Rating" that had the fewest customers.
Formula: TAKE(SORT(LET(query1,FILTER(A1:H1,B1="good credit rating"),SUMMARIZE(CHOOSECOLS(query1,5),SUMX(CHOOSECOLS(query1,1)))), 2, 1), 1)
Formula2: TAKE(SORT(LET(query1,FILTER(A2:H9,B2:B9="good credit rating"),SUMMARIZE(CHOOSECOLS(query1,5),SUMX(CHOOSECOLS(query1,1)))), 2, 1), 1)
Level: hard
Question: How many customers are there in the customer type with the most customers?
Formula: TAKE(SORT(SUMMARIZE(B1,SUMX(A1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(B2:B9,SUMX(A2:A9)), 2, -1), 1)
Level: hard
Question: Which state has the most customers?
Formula: TAKE(SORT(SUMMARIZE(F1,SUMX(A1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(F2:F9,SUMX(A2:A9)), 2, -1), 1)
Level: hard
Question: Give the state that has the most customers.
Formula: TAKE(SORT(SUMMARIZE(F1,SUMX(A1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(F2:F9,SUMX(A2:A9)), 2, -1), 1)
Level: hard
Question: The city with least good credit rating customers.
Formula: TAKE(SORT(LET(query1,FILTER(A1:H1,B1="good credit rating"),SUMMARIZE(CHOOSECOLS(query1,5),SUMX(CHOOSECOLS(query1,1)))), 2, 1), 1)
Formula2: TAKE(SORT(LET(query1,FILTER(A2:H9,B2:B9="good credit rating"),SUMMARIZE(CHOOSECOLS(query1,5),SUMX(CHOOSECOLS(query1,1)))), 2, 1), 1)
Level: hard
Question: Which city has the fewest "Good Credit Rating" customers?
Formula: TAKE(SORT(LET(query1,FILTER(A1:H1,B1="good credit rating"),SUMMARIZE(CHOOSECOLS(query1,5),SUMX(CHOOSECOLS(query1,1)))), 2, 1), 1)
Formula2: TAKE(SORT(LET(query1,FILTER(A2:H9,B2:B9="good credit rating"),SUMMARIZE(CHOOSECOLS(query1,5),SUMX(CHOOSECOLS(query1,1)))), 2, 1), 1)
Level: hard
Question: Which state do the most customers come from?
Formula: TAKE(SORT(SUMMARIZE(F1,SUMX(A1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(F2:F9,SUMX(A2:A9)), 2, -1), 1)
Level: hard
Question: State with most customers 
Formula: TAKE(SORT(SUMMARIZE(F1,SUMX(A1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(F2:F9,SUMX(A2:A9)), 2, -1), 1)
Level: hard
Question: The number of customers that the type with the most customers has
Formula: TAKE(SORT(SUMMARIZE(B1,SUMX(A1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(B2:B9,SUMX(A2:A9)), 2, -1), 1)
Level: hard
Question: The state where the most customers come from.
Formula: TAKE(SORT(SUMMARIZE(F1,SUMX(A1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(F2:F9,SUMX(A2:A9)), 2, -1), 1)
Level: hard
Question: The number of customers under the type having the most customers.
Formula: TAKE(SORT(SUMMARIZE(B1,SUMX(A1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(B2:B9,SUMX(A2:A9)), 2, -1), 1)
Level: hard
Question: State with the most customers
Formula: TAKE(SORT(SUMMARIZE(F1,SUMX(A1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(F2:F9,SUMX(A2:A9)), 2, -1), 1)
Level: hard