Table:
0
A
B
C
D
E
1
Number
Name
Builder
Type
Date
2
1
AMANDA
Gartell Light Railway
Bo-BoDH
2000
3
2
ANDREW
Baguley-Drewry
4wDH
1973
4
5
ALISON
Alan Keef
4wDH
1993
5
6
Mr. G
North Dorset Locomotive Works
0-4-2T
1998
6
9
Jean
North Dorset Locomotive Works
0-4-0
2008

Questions and formulas:
Question: What is the name of the train numbered less than 6 before 1993?
Formula: LET(query1,LET(query1,FILTER(A1:E1,E1<1993),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,1)))),FILTER(query1,CHOOSECOLS(query1,2)<6))
Formula2: LET(query1,LET(query1,FILTER(A2:E6,E2:E6<1993),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,1)))),FILTER(query1,CHOOSECOLS(query1,2)<6))
Level: hard
Question: What is the name of the bo-bodh train with a number less than 5?
Formula: LET(query1,LET(query1,FILTER(A1:E1,D1="bo-bodh"),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,1)))),FILTER(query1,CHOOSECOLS(query1,2)<5))
Formula2: LET(query1,LET(query1,FILTER(A2:E6,D2:D6="bo-bodh"),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,1)))),FILTER(query1,CHOOSECOLS(query1,2)<5))
Level: hard