Table:
0
A
B
C
D
E
F
G
H
I
1
product id
color code
product category code
product name
typical buying price
typical selling price
product description
other product details
2
2
2
Spices
peper
352447.2874677
1892070.2803543
rerum
3
3
9
Herbs
basil
503.8431967
0.1859512
officia
4
4
1
Herbs
borage
10377614.847385
blanditiis
5
5
4
Spices
chili
39446
eius
6
6
4
Seeds
ginger
5.578
52735.6101
doloribus
7
7
9
Seeds
sesame
1284268.0659
68205825.7
et
8
8
9
Herbs
caraway
24493
nulla
9
9
2
Herbs
catnip
12008702.623
21577.891642
vel
10
10
5
Seeds
flax
339404395.7
59622629.74
et
11
11
7
Herbs
chervil
minus
12
12
4
Seeds
voluptatem
162
149
officia
13
13
5
Spices
cinnam
1686539.4
17595111.4
nisi
14
14
4
Seeds
lotus
43221310.465574
63589.4054376
exercitationem
15
15
2
Herbs
laurel
57857
ut

Questions and formulas:
Question: How many products are there?
Formula: SUM(A1)
Formula2: SUM(A2:A15)
Level: easy
Question: Count the number of products.
Formula: SUM(A1)
Formula2: SUM(A2:A15)
Level: easy
Question: What are the names and buying prices of all the products?
Formula: CHOOSE({1,2},D1,E1)
Formula2: CHOOSE({1,2},D2:D15,E2:E15)
Level: easy
Question: Return the names and typical buying prices for all products.
Formula: CHOOSE({1,2},D1,E1)
Formula2: CHOOSE({1,2},D2:D15,E2:E15)
Level: easy
Question: What are the names of products with category "Spices"?
Formula: FILTER(D1,C1="Spices")
Formula2: FILTER(D2:D15,C2:C15="Spices")
Level: easy
Question: Return the names of products in the category 'Spices'.
Formula: FILTER(D1,C1="Spices")
Formula2: FILTER(D2:D15,C2:C15="Spices")
Level: easy
Question: How many products are there under the category "Seeds"?
Formula: SUMIFS(A1,C1,"seeds")
Formula2: SUMIFS(A2:A15,C2:C15,"seeds")
Level: easy
Question: Count the number of products in the category 'Seeds'.
Formula: SUMIFS(A1,C1,"seeds")
Formula2: SUMIFS(A2:A15,C2:C15,"seeds")
Level: easy
Question: How many products are in the 'Spices' category and have a typical price of over 1000?
Formula: ROWS(FILTER(A1,(C1="Spices")*(E1>1000)))
Formula2: ROWS(FILTER(A2:A15,(C2:C15="Spices")*(E2:E15>1000)))
Level: easy
Question: Return the category code and typical price of 'cumin'.
Formula: CHOOSE({1,2},FILTER(C1,D1="cumin"),FILTER(E1,D1="cumin"))
Formula2: CHOOSE({1,2},FILTER(C2:C15,D2:D15="cumin"),FILTER(E2:E15,D2:D15="cumin"))
Level: medium
Question: Which category does the product named "flax" belong to?
Formula: FILTER(C1,D1="flax")
Formula2: FILTER(C2:C15,D2:D15="flax")
Level: easy