Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-02-2013, 04:11 PM
leemoreau leemoreau is offline Join cells together separated by ; when some are blank Windows 8 Join cells together separated by ; when some are blank Office 2013
Novice
Join cells together separated by ; when some are blank
 
Join Date: Sep 2013
Posts: 8
leemoreau is on a distinguished road
Default Join cells together separated by ; when some are blank

Hi everyone, I have an excel file that has 5 columns right now. I need to import them into Salesforce but the field I'm using has the values separated by a semi colon. Normally I would just do a formula like =A1&"; "&B1&"; "&C1&"; "&D1 etc.

The problem is that some cells have blank values in them, so I'd end up getting a result like:

FIBRE; ; COPPER



Are there any ways I can easily do this? I just basically want to take the 5 columns and join them together into 1 cell with the values separated by a semi colon. It's just the blank values that's throwing me off as some have a blank in the first column, some are blank in all but the last one, etc it's all random each one. Thanks!
Reply With Quote
  #2  
Old 11-03-2013, 12:40 AM
excelledsoftware excelledsoftware is offline Join cells together separated by ; when some are blank Windows 7 64bit Join cells together separated by ; when some are blank Office 2003
IT Specialist
 
Join Date: Jan 2012
Location: Utah
Posts: 455
excelledsoftware will become famous soon enough
Default

You could try an if statement. instead of =A1&"; " use if(A1="","",a1&"; ")
This will look if the cell has nothing. If it has nothing, nothing will be returned, otherwise your semicolon formula like normal will be displayed.
Reply With Quote
  #3  
Old 11-03-2013, 06:02 AM
leemoreau leemoreau is offline Join cells together separated by ; when some are blank Windows 8 Join cells together separated by ; when some are blank Office 2013
Novice
Join cells together separated by ; when some are blank
 
Join Date: Sep 2013
Posts: 8
leemoreau is on a distinguished road
Default

Awesome that worked perfectly thanks so much!
Reply With Quote
  #4  
Old 11-03-2013, 11:22 AM
excelledsoftware excelledsoftware is offline Join cells together separated by ; when some are blank Windows 7 64bit Join cells together separated by ; when some are blank Office 2003
IT Specialist
 
Join Date: Jan 2012
Location: Utah
Posts: 455
excelledsoftware will become famous soon enough
Default

Quote:
Originally Posted by leemoreau View Post
Awesome that worked perfectly thanks so much!
You are very welcome!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to segregate a single record into separated cells KIM SOLIS Excel 3 09-09-2011 02:54 AM
Join cells together separated by ; when some are blank Selecting blank cells in criteria apolloman Excel 6 08-24-2011 05:38 AM
Join cells together separated by ; when some are blank How to organize and insert blank cells between a huge number of data? tareq Excel 12 09-29-2010 02:12 PM
adding text on a separated column line ahmet1985 Word 0 03-27-2010 07:10 AM
Using both drop down lists and blank cells for text voltarei Word 0 03-18-2010 04:16 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:38 PM.


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