Table:
0
A
B
C
D
E
1
shop id
address
num of staff
score
open year
2
1
1200 Main Street
13
42
2010
3
2
1111 Main Street
19
38
2008
4
3
1330 Baltimore Street
42
36
2010
5
4
909 Walnut Street
27
32
2010
6
5
414 E. 12th Street
24
30
2011
7
6
1201 Walnut Street
34
30
2010
8
7
2345 McGee Street
425
40
2008
9
8
909 Main Street
28
30
2011
10
9
1100 Main Street
23
30
2006
11
10
324 E. 11th Street
16
28
2008

Questions and formulas:
Question: Show the shop addresses ordered by their opening year.
Formula: SORTBY(B1,E1,1)
Formula2: SORTBY(B2:B11,E2:E11,1)
Level: easy
Question: shop ids and addresses by opening years earliest to latest
Formula: SORT(UNIQUE(HSTACK(A1,B1,E1)), 3, 1)
Formula2: SORT(UNIQUE(HSTACK(A2:A11,B2:B11,E2:E11)), 3, 1)
Level: medium
Question: the shop ids, addresses from earliest open year to latest
Formula: SORT(UNIQUE(HSTACK(A1,B1,E1)), 3, 1)
Formula2: SORT(UNIQUE(HSTACK(A2:A11,B2:B11,E2:E11)), 3, 1)
Level: medium