Table:
0
A
B
C
D
E
F
G
H
1
Brand
Model
System
Capacity
Size
Weight
Battery
Price
2
Huawei
P20
Android
64G
5.8inches
165g
3400mAh
4288RMB
3
iPhone
7p
iOS
32G
5.5inches
188g
2900mAh
5540RMB
4
iPhone
8
iOS
256G
4.7inches
148g
1821mAh
7126RMB
5
Huawei
Mate 10
Android
128G
5.9inches
186g
4000mAh
4199RMB
6
iPhone
X
iOS
256G
5.8inches
174g
2716mAh
9605RMB
7
oppo
R15
Android
128G
6.28inches
175g
3450mAh
3499RMB
8
vivo
X21
Android
64G
6.28inches
156g
3200mAh
2898RMB
9
Google
Nexus 6p
Android
64G
5.7inches
178g
3450mAh
3200RMB
10
MEIZU
15
Android
128G
5.46inches
152g
3000mAh
2799RMB

Questions and formulas:
Question: which battery belongs to oppo R15
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,(A1="oppo")*(B1="r15")),7))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H10,(A2:A10="oppo")*(B2:B10="r15")),7))
Level: medium
Question: show system, capacity, size, weight and battery of P20
Formula: LET(query1,FILTER(A1:H1,B1="p20"),SUMMARIZE(HSTACK(CHOOSECOLS(query1,3,4,5,7)),AVERAGEX(CHOOSECOLS(query1,6))))
Formula2: LET(query1,FILTER(A2:H10,B2:B10="p20"),SUMMARIZE(HSTACK(CHOOSECOLS(query1,3,4,5,7)),AVERAGEX(CHOOSECOLS(query1,6))))
Level: hard
Question: List brands from the most expensive price to the cheapest
Formula: SORT(SUMMARIZE(A1,AVERAGEX(H1)), 2, -1)
Formula2: SORT(SUMMARIZE(A2:A10,AVERAGEX(H2:H10)), 2, -1)
Level: medium
Question: List brands from the most expensive to the cheapest
Formula: SORT(SUMMARIZE(A1,AVERAGEX(H1)), 2, -1)
Formula2: SORT(SUMMARIZE(A2:A10,AVERAGEX(H2:H10)), 2, -1)
Level: medium
Question: show me the most expensive xxx
Formula: MAX(H1)
Formula2: MAX(H2:H10)
Level: easy
Question: What battery is oppo r15 equipped?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,(A1="oppo")*(B1="r15")),7))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H10,(A2:A10="oppo")*(B2:B10="r15")),7))
Level: medium
Question: System, capacity, size, weight and battery for P20
Formula: LET(query1,FILTER(A1:H1,B1="p20"),SUMMARIZE(HSTACK(CHOOSECOLS(query1,3,4,5,7)),AVERAGEX(CHOOSECOLS(query1,6))))
Formula2: LET(query1,FILTER(A2:H10,B2:B10="p20"),SUMMARIZE(HSTACK(CHOOSECOLS(query1,3,4,5,7)),AVERAGEX(CHOOSECOLS(query1,6))))
Level: hard
Question: IPhones which weigh less than 100g.
Formula: FILTER(A1:H1, (A1="iPhone")*(F1<100))
Formula2: FILTER(A2:H10, (A2:A10="iPhone")*(F2:F10<100))
Level: easy
Question: Table where price is >= 10 and weight is >= 10.
Formula: FILTER(A1:H1, (H1>=10)*(F1>=10))
Formula2: FILTER(A2:H10, (H2:H10>=10)*(F2:F10>=10))
Level: easy
Question: Table where price is >= 10 and weight is <= 100.
Formula: FILTER(A1:H1, (H1>=10)*(F1<=100))
Formula2: FILTER(A2:H10, (H2:H10>=10)*(F2:F10<=100))
Level: easy
Question: Table where weight is >= 1.
Formula: FILTER(A1:H1, F1>=1)
Formula2: FILTER(A2:H10, F2:F10>=1)
Level: easy
Question: Sizes and batteries by min weights in ascending order
Formula: SORT(SUMMARIZE(HSTACK(E1,G1),MINX(F1)), 3, 1)
Formula2: SORT(SUMMARIZE(HSTACK(E2:E10,G2:G10),MINX(F2:F10)), 3, 1)
Level: hard
Question: Any system, capacity, size, weight and battery for P20?
Formula: LET(query1,FILTER(A1:H1,B1="p20"),SUMMARIZE(HSTACK(CHOOSECOLS(query1,3,4,5,7)),AVERAGEX(CHOOSECOLS(query1,6))))
Formula2: LET(query1,FILTER(A2:H10,B2:B10="p20"),SUMMARIZE(HSTACK(CHOOSECOLS(query1,3,4,5,7)),AVERAGEX(CHOOSECOLS(query1,6))))
Level: hard
Question: Sizes and batteries by min weights from the bottom to the top.
Formula: SORT(SUMMARIZE(HSTACK(E1,G1),MINX(F1)), 3, 1)
Formula2: SORT(SUMMARIZE(HSTACK(E2:E10,G2:G10),MINX(F2:F10)), 3, 1)
Level: hard
Question: Ascending order of the maximum weights for different cell phone capacities.
Formula: SORT(SUMMARIZE(D1,MAXX(F1)), 2, 1)
Formula2: SORT(SUMMARIZE(D2:D10,MAXX(F2:F10)), 2, 1)
Level: medium
Question: list the maximum weights for different cell phone capacities in ascending order.
Formula: SORT(SUMMARIZE(D1,MAXX(F1)), 2, 1)
Formula2: SORT(SUMMARIZE(D2:D10,MAXX(F2:F10)), 2, 1)
Level: medium
Question: Prices by weights from the lightest to heaviest.
Formula: SORT(HSTACK(AVERAGE(H1), AVERAGE(F1)), 2, 1)
Formula2: SORT(HSTACK(AVERAGE(H2:H10), AVERAGE(F2:F10)), 2, 1)
Level: hard
Question: Prices by weights from the lightest to the heaviest.
Formula: SORT(HSTACK(AVERAGE(H1), AVERAGE(F1)), 2, 1)
Formula2: SORT(HSTACK(AVERAGE(H2:H10), AVERAGE(F2:F10)), 2, 1)
Level: hard
Question: Brands by lowest prices to highest.
Formula: SORT(SUMMARIZE(A1,AVERAGEX(H1)), 2, 1)
Formula2: SORT(SUMMARIZE(A2:A10,AVERAGEX(H2:H10)), 2, 1)
Level: medium
Question: Brands by prices from the lowest to the highest.
Formula: SORT(SUMMARIZE(A1,AVERAGEX(H1)), 2, 1)
Formula2: SORT(SUMMARIZE(A2:A10,AVERAGEX(H2:H10)), 2, 1)
Level: medium
Question: Three lightest cellphone capacities
Formula: TAKE(SORT(SUMMARIZE(D1,AVERAGEX(F1)), 2, 1), 3)
Formula2: TAKE(SORT(SUMMARIZE(D2:D10,AVERAGEX(F2:F10)), 2, 1), 3)
Level: hard
Question: Capacities of 3 lightest cellphones.
Formula: TAKE(SORT(SUMMARIZE(D1,AVERAGEX(F1)), 2, 1), 3)
Formula2: TAKE(SORT(SUMMARIZE(D2:D10,AVERAGEX(F2:F10)), 2, 1), 3)
Level: hard
Question: three lowest median price capacities
Formula: TAKE(SORT(SUMMARIZE(D1,MEDIANX(H1)), 2, 1), 3)
Formula2: TAKE(SORT(SUMMARIZE(D2:D10,MEDIANX(H2:H10)), 2, 1), 3)
Level: hard
Question: Which three capacities have the lowest median prices?
Formula: TAKE(SORT(SUMMARIZE(D1,MEDIANX(H1)), 2, 1), 3)
Formula2: TAKE(SORT(SUMMARIZE(D2:D10,MEDIANX(H2:H10)), 2, 1), 3)
Level: hard
Question: two most expensive cellphone systems.
Formula: TAKE(SORT(SUMMARIZE(C1,AVERAGEX(H1)), 2, -1), 2)
Formula2: TAKE(SORT(SUMMARIZE(C2:C10,AVERAGEX(H2:H10)), 2, -1), 2)
Level: hard
Question: The systems of the two most expensive cellphones.
Formula: TAKE(SORT(SUMMARIZE(C1,AVERAGEX(H1)), 2, -1), 2)
Formula2: TAKE(SORT(SUMMARIZE(C2:C10,AVERAGEX(H2:H10)), 2, -1), 2)
Level: hard
Question: lightest weight of brand?
Formula: TAKE(SORT(SUMMARIZE(A1,AVERAGEX(F1)), 2, 1), 1)
Formula2: TAKE(SORT(SUMMARIZE(A2:A10,AVERAGEX(F2:F10)), 2, 1), 1)
Level: hard
Question: which brand has the lightest weight?
Formula: TAKE(SORT(SUMMARIZE(A1,AVERAGEX(F1)), 2, 1), 1)
Formula2: TAKE(SORT(SUMMARIZE(A2:A10,AVERAGEX(F2:F10)), 2, 1), 1)
Level: hard
Question: 2 capacities having highest max prices.
Formula: TAKE(SORT(SUMMARIZE(D1,MAXX(H1)), 2, -1), 2)
Formula2: TAKE(SORT(SUMMARIZE(D2:D10,MAXX(H2:H10)), 2, -1), 2)
Level: hard
Question: 2 lightest median weight cellphone sizes
Formula: TAKE(SORT(SUMMARIZE(E1,MEDIANX(F1)), 2, 1), 2)
Formula2: TAKE(SORT(SUMMARIZE(E2:E10,MEDIANX(F2:F10)), 2, 1), 2)
Level: hard
Question: 2 cellphone sizes with lightest median weights.
Formula: TAKE(SORT(SUMMARIZE(E1,MEDIANX(F1)), 2, 1), 2)
Formula2: TAKE(SORT(SUMMARIZE(E2:E10,MEDIANX(F2:F10)), 2, 1), 2)
Level: hard
Question: cheapest cellphone battery
Formula: TAKE(SORT(SUMMARIZE(G1,AVERAGEX(H1)), 2, 1), 1)
Formula2: TAKE(SORT(SUMMARIZE(G2:G10,AVERAGEX(H2:H10)), 2, 1), 1)
Level: hard
Question: Battery of the cheapest cellphone.
Formula: TAKE(SORT(SUMMARIZE(G1,AVERAGEX(H1)), 2, 1), 1)
Formula2: TAKE(SORT(SUMMARIZE(G2:G10,AVERAGEX(H2:H10)), 2, 1), 1)
Level: hard
Question: three heaviest cellphone systems
Formula: TAKE(SORT(SUMMARIZE(C1,AVERAGEX(F1)), 2, -1), 3)
Formula2: TAKE(SORT(SUMMARIZE(C2:C10,AVERAGEX(F2:F10)), 2, -1), 3)
Level: hard
Question: Systems of the heaviest three cellphones.
Formula: TAKE(SORT(SUMMARIZE(C1,AVERAGEX(F1)), 2, -1), 3)
Formula2: TAKE(SORT(SUMMARIZE(C2:C10,AVERAGEX(F2:F10)), 2, -1), 3)
Level: hard
Question: How many prices are 10 or over?
Formula: ROWS(FILTER(A1:H1, H1>=10))
Formula2: ROWS(FILTER(A2:H10, H2:H10>=10))
Level: easy
Question: Cheapest phone price.
Formula: MIN(H1)
Formula2: MIN(H2:H10)
Level: easy
Question: Lowest cellphone price.
Formula: MIN(H1)
Formula2: MIN(H2:H10)
Level: easy