Table:
0
A
B
C
D
E
1
Class
Railway number(s)
Quantity
Year(s) of manufacture
Axle arrangement
2
None
26–29 ( de )
4
1853
2A n2
3
None
36–41, 46–49, 60–63 ( de )
14
1855–1863
2A n2
4
P 1 I ( de )
88–95, 118–138
29
1870–1874
1B n2
5
P 1 II ( de )
154–159
6
1876
1B n2
6
P 1 III ( de )
1 (II) …28 (II) , 160–161
9
1880–1884
1B n2
7
P 2 I ( de )
26 (II) …63 (II) , 188–193
22
1891–1896
1′B1 n2
8
P 3 I
93 (II) , 119 (II) , 221–230
12
1898–1904
2′B1′ n2i
9
P 3 II ( de )
263
1
1900
2′(a)B1′n2v
10
P 4 ( de )
133 (II) , 286–291, 302–305
11
1905–1906
2′B1′ h4v
11
S 3/6
341–350
10
1914
2′C1′ h4v

Questions and formulas:
Question: What is the quantity for railway 263?
Formula: SUMIFS(C1,B1,"263")
Formula2: SUMIFS(C2:C11,B2:B11,"263")
Level: easy
Question: What are the year(s) of manufacture for railway number(s) 26 (ii) …63 (ii) , 188–193?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="26 (ii) …63 (ii) , 188–193"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E11,B2:B11="26 (ii) …63 (ii) , 188–193"),4))
Level: medium
Question: What are the railway number(s) for year(s) of manufacture of 1905–1906?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1="1905–1906"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E11,D2:D11="1905–1906"),2))
Level: medium