Table:
0
A
B
C
D
E
F
G
1
1st built
1913 Class
W.A.
No. Built
Builder
Date
LNER Class
2
141
—
2-4-0
2
NBR Cowlairs
1869
—
3
418
P
2-4-0
8
NBR Cowlairs
1873
E7
4
40
—
2-4-0
2
NBR Cowlairs
1873
—
5
224
—
4-4-0
2
NBR Cowlairs
1871
—
6
420
—
4-4-0
4
NBR Cowlairs
1873
—
7
17
—
0-6-0
1
NBR St.Margarets
1868
—
8
251
E
0-6-0
38
NBR Cowlairs
1867–74
J84
9
396
E
0-6-0
26
Neilson & Co. (12), Dübs & Co. (14)
1867–69
J31
10
56
—
0-6-0
8
NBR St.Margarets
1868–69
—
11
115
E
0-6-0
62
NBR Cowlairs
1869–75
J31
12
226
E
0-6-0ST
2
NBR Cowlairs
1870
J86
13
220
—
0-6-0ST
1
NBR Cowlairs
1870
—
14
130
E
0-6-0ST
9
NBR Cowlairs
1870–73
J85
15
229
E
0-6-0ST
15
NBR Cowlairs
1871–73
J81
16
32
—
0-6-0ST
6
NBR Cowlairs
1874
—
17
394
—
0-4-0
2
Neilson & Co.
1867
—
18
357
—
0-4-0
2
NBR Cowlairs
1868
Y10
19
18
—
0-4-0ST
2
NBR Cowlairs
1872
—

Questions and formulas:
Question: What LINER class has a W.A. of 0-6-0st with a 2 No. Built?
Formula: LET(query1,LET(query1,FILTER(A1:G1,C1="0-6-0st"),SUMMARIZE(CHOOSECOLS(query1,7),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,CHOOSECOLS(query1,2)=2))
Formula2: LET(query1,LET(query1,FILTER(A2:G19,C2:C19="0-6-0st"),SUMMARIZE(CHOOSECOLS(query1,7),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,CHOOSECOLS(query1,2)=2))
Level: hard