Table:
0
A
B
C
D
E
1
Vehicle Numbers
Vehicle Types
Livery
Location
Status
2
M50454+M50528
DMBS+DMCL
Blue
Llangollen Railway
In service
3
M50455+M50517
DMBS+DMCL
Green
Churnet Valley Railway
In service
4
M50479
DMBS
Green
Telford Steam Railway
In service as coaching stock
5
M50447
DMBS
Green
Llangollen Railway
Under restoration
6
53437+M59137+M53494
DMBS+TCL+DMCL
NSE/Green/Blue
Churnet Valley Railway
Stored awaiting restoration
7
M50531+59228+53556
DMCL+TBSL+DMCL
Green/Blue
Telford Steam Railway
Stored awaiting restoration

Questions and formulas:
Question: What is  the status when livery is blue?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="Blue"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E7,C2:C7="Blue"),5))
Level: medium
Question: What is the location when the status is in service as coaching stock?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="In service as coaching stock"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E7,E2:E7="In service as coaching stock"),4))
Level: medium