Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default Combining data from multiple cells into one cell with commas

I have several cells containing data that have a common denominator that I
want to combine in one single cell with commas to separate the data.

I have tried the following formula (acquired from elsewhere on this blog):

=SUBSTITUTE(IF($A$9="20090501182755",$E$9&",","")& IF($A$10="20090501182755",$E$10&",",""),",","",COU NTIF($A$9:$A$10,"=20090501182755"))

However, instead of returning the data I want, it shows no data at all, not
even an error, just a blank cell.

Any suggestions? Thanks for your help!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Combining data from multiple cells into one cell with commas

I think it all comes down to your use of quotes around your A9 and A10
values.

If those are real XL recognized numbers in A9 and A10, then simply remove
the quotes from your formula,
OR ...
Make the values in A9 and A10 text values by adding a single quote to the
beginning of those cells.

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"lawandgrace" wrote in message
...
I have several cells containing data that have a common denominator that I
want to combine in one single cell with commas to separate the data.

I have tried the following formula (acquired from elsewhere on this blog):

=SUBSTITUTE(IF($A$9="20090501182755",$E$9&",","")& IF($A$10="20090501182755",$E$10&",",""),",","",COU NTIF($A$9:$A$10,"=20090501182755"))

However, instead of returning the data I want, it shows no data at all, not
even an error, just a blank cell.

Any suggestions? Thanks for your help!


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combining multiple cells in column to relate to one cell in 1st co Lauren Excel Discussion (Misc queries) 2 February 21st 08 07:44 PM
Combining data from multiple cells into one cell. Steelsilk Excel Worksheet Functions 4 May 17th 07 06:54 PM
Most efficient formula/combining multiple data cell ranges/seperat Tiff New Users to Excel 1 August 2nd 06 04:56 PM
Combining Text from multiple cells under multiple conditions KNS Excel Worksheet Functions 2 June 15th 05 11:00 PM
Combining data (numeric format) in multiple cells into one cell (t GNAC SID Excel Discussion (Misc queries) 2 February 7th 05 04:09 PM


All times are GMT +1. The time now is 08:20 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"