How I create formula that pulls data from two cells and eliminates the space by creating a dash between them

Hello everyone, thanks in advance for any support. I would like to create a formula that pulls organization names and what state they are in and eliminate the space and have a dash between them. I.E. Akoutis CA would be Akoutis-CA. See attachment
Question to the community

{Organization Name} & β€œ-” & {State}

It looks like you sometimes don’t have a state, in which case I assume that you also do not want to have the dash.

    {Organization Name},
    IF({State}, "-" & {State})
1 Like

Thank you. This solution worked great. I appreciate it.

1 Like

This topic was solved and automatically closed 15 days after the last reply. New replies are no longer allowed.