Table:
0
A
B
C
D
E
F
G
1
PRR Class
Builder’s Model
Build date
Total produced
Wheel arrangement
Service
Power output
2
GS4
44 Ton
1948–1950
46
B-B
Switcher
hp (kW)
3
GF25
U25B
1965
59
B-B
Freight
hp (kW)
4
GF25a
U25C
1965
20
C-C
Freight
hp (kW)
5
GF28a
U28C
1966
15
C-C
Freight
hp (kW)
6
GF30a
U30C
1967
5
C-C
Freight
hp (kW)

Questions and formulas:
Question: What is the total amount of freight produced of u28c?
Formula: SUM(FILTER(D1, (F1="freight")*(B1="u28c")))
Formula2: SUM(FILTER(D2:D6, (F2:F6="freight")*(B2:B6="u28c")))
Level: easy
Question: What is the build date for PRR Class gf30a?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,A1="gf30a"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G6,A2:A6="gf30a"),3))
Level: medium
Question: What is the PRR class for wheel arrangement c-c and total less than 15?
Formula: LET(query1,LET(query1,FILTER(A1:G1,E1="c-c"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,CHOOSECOLS(query1,2)<15))
Formula2: LET(query1,LET(query1,FILTER(A2:G6,E2:E6="c-c"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,CHOOSECOLS(query1,2)<15))
Level: hard
Question: What was the model for PRR class of gf28a freight?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,(F1="freight")*(A1="gf28a")),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G6,(F2:F6="freight")*(A2:A6="gf28a")),2))
Level: medium