Hello,
Not sure what you are talking about, what you have displayed is not a formula, I can only asume you are trying to cocatenate a bunch of cells into one cell.

Try,

=a1&"-"&b1&"-"&c1&"-"d1