Table:
0
A
B
C
D
E
F
1
order item id
product id
order id
order item status
order item details
2
1
4
6
Finish
3
2
15
6
Finish
4
3
12
15
Finish
5
4
8
15
Payed
6
5
11
6
Payed
7
6
14
8
Payed
8
7
3
5
Payed
9
8
4
10
Cancel
10
9
11
15
Cancel
11
10
7
7
Cancel
12
11
15
11
Cancel
13
12
1
11
Cancel
14
13
14
7
Payed
15
14
15
14
Payed
16
15
3
9
Payed

Questions and formulas:
Question: Find the ids of all the order items whose product id is 11.
Formula: FILTER(A1,B1=11)
Formula2: FILTER(A2:A16,B2:B16=11)
Level: easy
Question: Find all the order items whose product id is 11.
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1=11),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F16,B2:B16=11),1))
Level: medium
Question: No.11 product's order item id.
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1=11),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F16,B2:B16=11),1))
Level: medium
Question: Order item id for product 11.
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1=11),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F16,B2:B16=11),1))
Level: medium
Question: What is the order item id for No.11 product?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1=11),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F16,B2:B16=11),1))
Level: medium