Table:
0
A
B
C
D
E
F
G
1
railway id
railway
builder
built
wheels
location
objectnumber
2
1
SECR
SECR Ashford
1/10/1901
4/4/2000
York
1975-7006
3
2
MR
MR Derby
1/10/1914
4/4/2000
Bo'ness
1975-7018
4
3
GNRD
GNR Doncaster
1/10/1902
4/4/2002
Barrow Hill
1975-7005
5
4
GWRS
GWR Swindon
1/10/1903
4/4/2000
Toddington
1978-7025
6
5
GERSt
GER Stratford
1/10/1904
0-6-0T
Bressingham
1975-7003
7
6
GERHt
GER Hartford
1/10/1905
0-6-0
Barrow Hill
1978-7026
8
7
GWRSn
GWR Swindon
1/10/1905
2/8/2000
Shildon
1976-7001
9
8
GWRWk
Swindon Works
1/10/1907
4/6/2000
Swindon
1978-7027
10
9
LTSR
Stephenson
1/10/1909
4-4-2T
Bressingham
1978-7028
11
10
Longmoor
Avonside
1/10/1910
0-6-0ST
Basingstoke
2008-7159

Questions and formulas:
Question: How many railways are there?
Formula: ROWS(UNIQUE(B1))
Formula2: ROWS(UNIQUE(B2:B11))
Level: easy
Question: List the builders in ascending alphabetical order
Formula: SORT(UNIQUE(C1), 1, 1)
Formula2: SORT(UNIQUE(C2:C11), 1, 1)
Level: easy
Question: List the wheels and locations of the railways.
Formula: CHOOSE({1,2},E1,F1)
Formula2: CHOOSE({1,2},E2:E11,F2:F11)
Level: easy
Question: Show different builders of railways, along with the corresponding number of railways using each builder.
Formula: SUMMARIZE(C1,DCOUNTX(B1))
Formula2: SUMMARIZE(C2:C11,DCOUNTX(B2:B11))
Level: easy
Question: Show different locations of railways along with the corresponding number of railways at each location.
Formula: SUMMARIZE(F1,DCOUNTX(B1))
Formula2: SUMMARIZE(F2:F11,DCOUNTX(B2:B11))
Level: easy
Question: Show the locations that have more than one railways.
Formula: LET(query1,SUMMARIZE(F1,DCOUNTX(B1)),FILTER(query1,CHOOSECOLS(query1,3)>1))
Formula2: LET(query1,SUMMARIZE(F2:F11,DCOUNTX(B2:B11)),FILTER(query1,CHOOSECOLS(query1,3)>1))
Level: hard
Question: How many railways has each builder built?
Formula: SUMMARIZE(C1,DCOUNTX(B1))
Formula2: SUMMARIZE(C2:C11,DCOUNTX(B2:B11))
Level: easy
Question: How many railways in each location?
Formula: SUMMARIZE(F1,DCOUNTX(B1))
Formula2: SUMMARIZE(F2:F11,DCOUNTX(B2:B11))
Level: easy
Question: What is the location with more than one railway?
Formula: LET(query1,SUMMARIZE(F1,DCOUNTX(B1)),FILTER(query1,CHOOSECOLS(query1,3)>1))
Formula2: LET(query1,SUMMARIZE(F2:F11,DCOUNTX(B2:B11)),FILTER(query1,CHOOSECOLS(query1,3)>1))
Level: hard
Question: How many railways are there?
Formula: ROWS(UNIQUE(B1))
Formula2: ROWS(UNIQUE(B2:B11))
Level: easy
Question: Builders in alphabetical order
Formula: SORT(UNIQUE(C1), 1, 1)
Formula2: SORT(UNIQUE(C2:C11), 1, 1)
Level: easy
Question: What are the wheels and locations of railways?
Formula: UNIQUE(HSTACK(E1,F1,B1))
Formula2: UNIQUE(HSTACK(E2:E11,F2:F11,B2:B11))
Level: easy
Question: How many railways?
Formula: ROWS(UNIQUE(B1))
Formula2: ROWS(UNIQUE(B2:B11))
Level: easy
Question: The builders from a to z.
Formula: SORT(UNIQUE(C1), 1, 1)
Formula2: SORT(UNIQUE(C2:C11), 1, 1)
Level: easy
Question: How many railways for each builder?
Formula: SUMMARIZE(C1,DCOUNTX(B1))
Formula2: SUMMARIZE(C2:C11,DCOUNTX(B2:B11))
Level: easy