Your dispatch label has a dock, an optional gate, and a service type. Use one formula to build the label from the parts that are present.
Skip the blank gate cell
Put East dock in B2, leave C2 empty, and enter Pickup in D2. In E2 use =TEXTJOIN(" / ",TRUE,B2:D2). The result should be East dock / Pickup.

Illustrated empty-field check. The spaces around the slash are deliberate.
Add Gate 4 and inspect any surprise separator
Enter Gate 4 in C2 and expect East dock / Gate 4 / Pickup. Clear it to get the shorter label again. If a separator appears around an apparently empty cell, check for a literal space in that cell. Keep the fields separately so you can still filter by dock or service.

Illustrated input change. Clear the gate again to verify both cases.



