Table:
0
A
B
C
D
E
F
1
Type
Fleet numbers
Quantity made
Manufacturer
Date made
Date withdrawn
2
0-6-2WT
1
1
Black, Hawthorn & Co
1882
1911
3
0-6-2T
2–3
2
Black, Hawthorn & Co
1883
1912–1913
4
0-6-0T
4
1
Black, Hawthorn & Co
1885
1940
5
2-4-0T
5–6
2
Robert Stephenson & Co.
1874
1899
6
4-6-2T
5–8
4
Hudswell Clarke
1899–1902
1940–1954
7
4-6-0T
1–4
4
Andrew Barclay Sons & Co.
1902
1940–1954
8
4-6-2T
9–10
2
Kerr Stuart
1904
1928–1954
9
4-8-0
11–12
2
Hudswell Clarke
1905
1933–1954
10
4-6-2T
13–14
2
Hawthorn Leslie
1910
1940–1943
11
4-8-4T
5–6
2
Hudswell Clarke
1912
1954

Questions and formulas:
Question: What is the date made that has an associated fleet number of 4?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1=4),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F11,B2:B11=4),5))
Level: medium
Question: What is the withdrawal date associated with a date made of 1904?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,E1=1904),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F11,E2:E11=1904),6))
Level: medium