View Single Post
 
Old 02-18-2018, 02:59 PM
jeffreybrown jeffreybrown is offline Windows Vista Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

One way...

=A1&IF(A1<>"","-","")&B1

or

=IF(A1<>"",A1&"-"&B1,B1)
Reply With Quote