Table:
0
A
B
C
D
E
F
G
H
1
No.
Name
Livery
Locomotive type
Wheel Arrangement
Builder
Year built
Status
2
1
Northern Rock II
Highland Railway green
Steam
2-6-2
Ravenglass & Eskdale Railway
1989
In traffic
3
2
Ernest W. Twining
Dark blue
Steam
4-6-2
G & S Co.
1950
Static display
4
3
John Southland II
Two-tone red
Diesel
B-B
TMA Engineering
1988
In traffic
5
4
Cumbria
Brunswick green
Steam
2-6-2
Ravenglass & Eskdale Railway
1992
In traffic
6
5
City of Birmingham
Two-tone green
Diesel
0-6-0
TMA Engineering
1992
In traffic

Questions and formulas:
Question: How many locomotives have a name of City of Birmingham
Formula: SUMIFS(A1,B1,"City of Birmingham")
Formula2: SUMIFS(A2:A6,B2:B6,"City of Birmingham")
Level: easy
Question: How many locomotives have a livery that is highland railway green
Formula: ROWS(UNIQUE(FILTER(B1, C1="Highland Railway green")))
Formula2: ROWS(UNIQUE(FILTER(B2:B6, C2:C6="Highland Railway green")))
Level: medium
Question: Which locomotive type has a status in static display
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,H1="Static display"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H6,H2:H6="Static display"),4))
Level: medium