Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 02-18-2018, 02:59 PM
jeffreybrown jeffreybrown is offline Query related to Concatenate? Windows Vista Query related to Concatenate? 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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Query related to Concatenate? Concatenate b16 Excel 1 01-09-2017 04:51 PM
Query and Power Query not working Excel 2016 bl10 Excel 0 07-22-2016 06:25 PM
Query related to Concatenate? concatenate the currency too isasa74 Excel Programming 24 12-20-2015 06:01 AM
ms office related query d19123 Office 0 07-02-2013 05:48 AM
How to Query Text in MS-Excel 2010 or Import Data & Query outside of Excel? mag Excel 0 10-18-2012 11:15 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:41 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft