Table:
0
A
B
C
D
E
1
product id
product name
product price
product description
other product service details
2
11
photo
4448536
3
154
film
2302
4
156
film
17622723
5
179
film
1432324
6
188
film
49097627
7
21
photo
22082866
8
216
film
157216
9
232
photo
22
10
233
photo
4082352
11
250
photo
797
12
273
photo
1577
13
300
dinning
30625
14
46
dinning
50828
15
81
dinning
634660
16
83
film
900

Questions and formulas:
Question: List all product names in ascending order of price.
Formula: SORTBY(B1,C1,1)
Formula2: SORTBY(B2:B16,C2:C16,1)
Level: easy
Question: What are the different product names? What is the average product price for each of them?
Formula: SUMMARIZE(B1,AVERAGEX(C1))
Formula2: SUMMARIZE(B2:B16,AVERAGEX(C2:C16))
Level: easy
Question: For each distinct product name, show its average product price.
Formula: SUMMARIZE(B1,AVERAGEX(C1))
Formula2: SUMMARIZE(B2:B16,AVERAGEX(C2:C16))
Level: easy
Question: What are the product names with average product price smaller than 1000000?
Formula: LET(query1,SUMMARIZE(B1,AVERAGEX(C1)),FILTER(query1,CHOOSECOLS(query1,2)<1000000))
Formula2: LET(query1,SUMMARIZE(B2:B16,AVERAGEX(C2:C16)),FILTER(query1,CHOOSECOLS(query1,2)<1000000))
Level: hard
Question: Find the product names whose average product price is below 1000000.
Formula: LET(query1,SUMMARIZE(B1,AVERAGEX(C1)),FILTER(query1,CHOOSECOLS(query1,2)<1000000))
Formula2: LET(query1,SUMMARIZE(B2:B16,AVERAGEX(C2:C16)),FILTER(query1,CHOOSECOLS(query1,2)<1000000))
Level: hard