Table:
0
A
B
C
D
E
1
Class
Railway number(s)
Quantity rebuilt
Rebuild year(s)
Type
2
B3
1"…148
51
1867–1883
1B n2
3
D(rebuild)
4"…48
16
1867–1874
1B n2
4
B2(rebuild)
7…128
16
1868–1882
1B n2
5
B(rebuild)
21…125
16
1869–1884
1B n2
6
T2a
36, 37
2
1872–1875
1B n2t
7
E(rebuild)
88, 118
2
1873–1874
1′B n2
8
T4a
3"…123
11
1874–1886
2′B n2t
9
T(rebuild)
87…129
7
1879–1887
B n2t
10
Aa(rebuild)
142, 179
2
1882
1B n2

Questions and formulas:
Question: What's the railway number of a D(rebuild) class?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="d(rebuild)"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E10,A2:A10="d(rebuild)"),2))
Level: medium
Question: What the least quantity having a T2A class?
Formula: MINIFS(C1,A1,"t2a")
Formula2: MINIFS(C2:C10,A2:A10,"t2a")
Level: easy