#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Combining Cells

OK, there must be a way to do this. I have a list of names in column A, each
name has a number after it in column B - I want to combine all the names into
cells based on the number after the name. Exmple:

I want this (imagine that it's two columns)
bob 1
david 1
ted 2
mike 2
linda 3
anne 3

to turn into this:

bob, david 1
ted, mike 2
linda, anne 3

I can do it, but it's about a dozen steps. Is there an easier way?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 293
Default Combining Cells



Assuming Data starts A1 and B1 Put this in C1, copy and paste into C3,C5 etc

=A1&","&" "&A2&" "&B2

Stew

"Fredgus" wrote:

OK, there must be a way to do this. I have a list of names in column A, each
name has a number after it in column B - I want to combine all the names into
cells based on the number after the name. Exmple:

I want this (imagine that it's two columns)
bob 1
david 1
ted 2
mike 2
linda 3
anne 3

to turn into this:

bob, david 1
ted, mike 2
linda, anne 3

I can do it, but it's about a dozen steps. Is there an easier way?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Combining Cells

That get's close - but I probably did not accuratey describe the data set.
There are about 150 names. There are anywhere from 2 to 8 names for each
number. here's a more accurate example.

bob 1
dave 1
stan 1
george 1
alan 2
mindy 2
sally 3
lucy 3
fred 3
ralph 3
herb 3

needs to become

bob, dave, stan, george 1
alan, mindy 2
sally, lucy, fred, ralph, herb 3

the numbers do not need to be combine with the names, they remain a separate
column and really don't need to be messed with.

"stew" wrote:



Assuming Data starts A1 and B1 Put this in C1, copy and paste into C3,C5 etc

=A1&","&" "&A2&" "&B2

Stew

"Fredgus" wrote:

OK, there must be a way to do this. I have a list of names in column A, each
name has a number after it in column B - I want to combine all the names into
cells based on the number after the name. Exmple:

I want this (imagine that it's two columns)
bob 1
david 1
ted 2
mike 2
linda 3
anne 3

to turn into this:

bob, david 1
ted, mike 2
linda, anne 3

I can do it, but it's about a dozen steps. Is there an easier way?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 293
Default Combining Cells

To tough for me but I am Sure someone will have the answer. I will watch and
Learn

Best

Stew

"Fredgus" wrote:

That get's close - but I probably did not accuratey describe the data set.
There are about 150 names. There are anywhere from 2 to 8 names for each
number. here's a more accurate example.

bob 1
dave 1
stan 1
george 1
alan 2
mindy 2
sally 3
lucy 3
fred 3
ralph 3
herb 3

needs to become

bob, dave, stan, george 1
alan, mindy 2
sally, lucy, fred, ralph, herb 3

the numbers do not need to be combine with the names, they remain a separate
column and really don't need to be messed with.

"stew" wrote:



Assuming Data starts A1 and B1 Put this in C1, copy and paste into C3,C5 etc

=A1&","&" "&A2&" "&B2

Stew

"Fredgus" wrote:

OK, there must be a way to do this. I have a list of names in column A, each
name has a number after it in column B - I want to combine all the names into
cells based on the number after the name. Exmple:

I want this (imagine that it's two columns)
bob 1
david 1
ted 2
mike 2
linda 3
anne 3

to turn into this:

bob, david 1
ted, mike 2
linda, anne 3

I can do it, but it's about a dozen steps. Is there an easier way?

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
Need help with combining cells to one Coolquicc Excel Discussion (Misc queries) 3 September 10th 08 11:08 PM
combining cells wayne Excel Worksheet Functions 3 June 4th 07 07:11 PM
Combining 2 cells Steved Excel Worksheet Functions 2 July 26th 06 08:02 AM
combining cells Mindy Excel Worksheet Functions 1 January 9th 06 09:16 PM
combining cells lyneday Excel Discussion (Misc queries) 2 December 3rd 04 05:45 PM


All times are GMT +1. The time now is 02:59 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"