Table:
0
A
B
C
D
E
F
G
H
1
Class
Wheel arrangement
Fleet number(s)
Manufacturer
Year made
Quantity made
Quantity preserved
Year(s) withdrawn
2
Robert W. Urie (1912–1922)
Robert W. Urie (1912–1922)
Robert W. Urie (1912–1922)
Robert W. Urie (1912–1922)
Robert W. Urie (1912–1922)
Robert W. Urie (1912–1922)
Robert W. Urie (1912–1922)
Robert W. Urie (1912–1922)
3
H15
4-6-0
482–491
Eastleigh Works
1914
10
0
1955–1961
4
H15
4-6-0
335
Eastleigh Works
1914
1
0
1959
5
H15
4-6-0
473–478, 521–524
Eastleigh Works
1925
10
0
1959–1961
6
H15
4-6-0
330–334
Eastleigh Works
1925
1
0
1959
7
N15
4-6-0
736–745
Eastleigh Works
1918–1919
10
0
1955–1958
8
N15
4-6-0
746–755
Eastleigh Works
1922–1923
10
0
1955–1957
9
N15
4-6-0
448–457
Eastleigh Works
1925
10
0
1958–1961
10
N15
4-6-0
763–792
North British Locomotive Co.
1925
30
1
1958–1962
11
N15
4-6-0
793–806
Eastleigh Works
1926–1927
14
0
1959–1962
12
S15
4-6-0
496–515
Eastleigh Works
1920–1921
20
2
1962–1964
13
S15
4-6-0
823–837
Eastleigh Works
1927–1928
15
3
1962–1965
14
S15
4-6-0
838–847
Eastleigh Works
1936
10
2
1963–1968
15
G16
4-8-0T
492–495
Eastleigh Works
1921
4
0
1959–1962
16
H16
4-6-2T
516–520
Eastleigh Works
1921–1922
5
0
1962

Questions and formulas:
Question: What is the class of the locomotive with an Eastleigh Works manufacturer, made in 1914, and withdrawn in 1959?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,(D1="eastleigh works")*(E1=1914)*(H1=1959)),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H16,(D2:D16="eastleigh works")*(E2:E16=1914)*(H2:H16=1959)),1))
Level: medium
Question: What is the class of the locomotive with a wheel arrangement of 4-6-0 and a quantity made of 14?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,(B1="4-6-0")*(F1=14)),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H16,(B2:B16="4-6-0")*(F2:F16=14)),1))
Level: medium
Question: What is the fleet number of the locomotive with 1 quantity made?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,F1=1),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H16,F2:F16=1),3))
Level: medium