Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-04-2017, 11:26 PM
H28Sailor H28Sailor is offline Combining several cells data into one single cell Windows 7 32bit Combining several cells data into one single cell Office 2007
Advanced Beginner
Combining several cells data into one single cell
 
Join Date: Mar 2013
Posts: 55
H28Sailor is on a distinguished road
Default Combining several cells data into one single cell

Hi

I have say 10 cells which hold data originating from survey software (radio buttons)
Each of these cells has either a '1' in it or is blank



e.g. 1 blank blank 1 blank blank 1 blank blank blank

Is there a way to combine these results into a new cell which holds the following data

1001001000

Thanks

Bob M
Reply With Quote
  #2  
Old 01-05-2017, 12:45 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Combining several cells data into one single cell Windows 7 64bit Combining several cells data into one single cell Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,771
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

When you say a blank cell is it really empty or does it contain a null text string "" or non printable characters ?
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 01-05-2017, 02:04 AM
H28Sailor H28Sailor is offline Combining several cells data into one single cell Windows 7 32bit Combining several cells data into one single cell Office 2007
Advanced Beginner
Combining several cells data into one single cell
 
Join Date: Mar 2013
Posts: 55
H28Sailor is on a distinguished road
Default

It contains a null text string ""
Reply With Quote
  #4  
Old 01-05-2017, 06:36 AM
gebobs gebobs is offline Combining several cells data into one single cell Windows 7 64bit Combining several cells data into one single cell Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

Code:
=if(A1=1,1,0)&if(B1=1,1,0)& ... &if(J1=1,1,0)
Reply With Quote
  #5  
Old 01-05-2017, 11:33 AM
xor xor is offline Combining several cells data into one single cell Windows 10 Combining several cells data into one single cell Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

As an alternative to those using Excel 2016:

=CONCAT(IFERROR(VALUE(A1:A10),0)) (array-entered).

(Can't be used in versions before 2016).
Reply With Quote
  #6  
Old 01-05-2017, 11:43 AM
H28Sailor H28Sailor is offline Combining several cells data into one single cell Windows 7 32bit Combining several cells data into one single cell Office 2007
Advanced Beginner
Combining several cells data into one single cell
 
Join Date: Mar 2013
Posts: 55
H28Sailor is on a distinguished road
Default

Many thanks
Works perfectly

Bob M
Reply With Quote
  #7  
Old 01-09-2017, 06:00 AM
gebobs gebobs is offline Combining several cells data into one single cell Windows 7 64bit Combining several cells data into one single cell Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

Quote:
Originally Posted by xor View Post
As an alternative to those using Excel 2016:

=CONCAT(IFERROR(VALUE(A1:A10),0)) (array-entered).

(Can't be used in versions before 2016).
Much better.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Combining several cells data into one single cell Combining different worksheets into a single worksheet. jimmy2016 Excel Programming 4 10-15-2016 09:05 AM
Combining several cells data into one single cell Help on separate a single text cell into multi cells by coding Yasso Excel Programming 1 12-01-2015 05:45 PM
How to populate cells in Sheet2 with Data Source query using cell data from Sheet1 bobznkazoo Excel 2 03-27-2014 11:14 AM
How can I fill the below emty cells with above cell data? Learner7 Excel 8 06-28-2011 12:10 PM
Combining several cells data into one single cell How to combine different cells data in one cell? Learner7 Excel 1 07-28-2010 12:07 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:54 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