Table:
0
A
B
C
D
E
F
G
H
1
Class
Wheels
Date
Builder
No. built
1919 nos.
LMS Class
LMS nos.
2
4-4-0
131
1913
North British
6
331-336
3P
14510-5
3
4-4-0
137
1915
G&SWR Kilmarnock
6
325-330
3P
14516-21
4
0-6-0T
5
1917
North British
3
322-324
2F
16377-9
5
0-6-2T
45
1915-17
North British
18
11-28
3F
16410-27 (later 16910-27)
6
0-6-0
279
1913
North British
15
71-85
4F
17750-64

Questions and formulas:
Question: What is the LMS class of trains with numbers 14510-5?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,H1="14510-5"),7))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H6,H2:H6="14510-5"),7))
Level: medium
Question: What is the date of the 279 wheels?
Formula: LET(query1,SUMMARIZE(C1,SUMX(B1)),FILTER(query1,CHOOSECOLS(query1,2)=279))
Formula2: LET(query1,SUMMARIZE(C2:C6,SUMX(B2:B6)),FILTER(query1,CHOOSECOLS(query1,2)=279))
Level: hard
Question: What is the class when the LMS class is 3F?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,G1="3F"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H6,G2:G6="3F"),1))
Level: medium
Question: What is the LMS number of the trains built by G&SWR Kilmarnock?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,D1="G&SWR Kilmarnock"),8))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H6,D2:D6="G&SWR Kilmarnock"),8))
Level: medium
Question: How many figures are there for wheels for LMS numbers 16377-9?
Formula: SUMIFS(B1,H1,"16377-9")
Formula2: SUMIFS(B2:B6,H2:H6,"16377-9")
Level: easy
Question: What is the builder of the train with LMS Class 3f?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,G1="3F"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H6,G2:G6="3F"),4))
Level: medium