Hi,
I have the below formula to combine a number of cells together to make a naming convention. I want hyphens between each piece of information but only if the cell is not blank.
We only have a Program Code 2 about half the time, I don't want an extra hyphen in there when it's a blank cell.
The combined data at the moment looks like this code2 code1 - 3 - 123. I want it to look like this code2 - code1 - 3 - 123 or this if code 2 is blank code1 - 3 - 123
=[Program Code 2 ]@row + " " + [Program Code]@row + " - " + [Contract Type Helper ]@row + " - " + [System No. ]@row