Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 505
Default Excel 2002 -Merging cells contents in with a comma seperator

Dear Sir,

May I know how to merge reference number in different cell to a single cell
with a comma between them ?

Before merging
A B C D E F
1 PL12 PL13 PL14 PL15 PL16 PL17


After merging
A
1 PL12,PL13,PL14,PL15,PL16,PL17


Thanks

Low
--
A36B58K641
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default Excel 2002 -Merging cells contents in with a comma seperator

=A1&","&B1&","&.. etc

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Mr. Low" wrote in message ...
| Dear Sir,
|
| May I know how to merge reference number in different cell to a single cell
| with a comma between them ?
|
| Before merging
| A B C D E F
| 1 PL12 PL13 PL14 PL15 PL16 PL17
|
|
| After merging
| A
| 1 PL12,PL13,PL14,PL15,PL16,PL17
|
|
| Thanks
|
| Low
| --
| A36B58K641


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 102
Default Excel 2002 -Merging cells contents in with a comma seperator

Or you could use this UDF

Function Jon3(RngJ As Range) As String
Dim i As Long, c As Range
For Each c In RngJ.Cells
If c < "" Then Jon3 = Jon3 & "," & c.Value
Next c
Jon3 = Mid(Jon3, 2, Len(Jon3))
End Function


Regards
Robert McCurdy

"Mr. Low" wrote in message ...
Dear Sir,

May I know how to merge reference number in different cell to a single cell
with a comma between them ?

Before merging
A B C D E F
1 PL12 PL13 PL14 PL15 PL16 PL17


After merging
A
1 PL12,PL13,PL14,PL15,PL16,PL17


Thanks

Low
--
A36B58K641
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
How to let excel cells width fixed and automatically wrap the contents winglj Excel Discussion (Misc queries) 1 March 17th 06 04:09 AM
TRYING TO SET UP EXCEL SPREADSHEET ON MY COMPUTER MEGTOM New Users to Excel 5 October 27th 05 03:06 AM
How do I create custom fill colors (for cells) in Excel 2002? rob653 Excel Discussion (Misc queries) 2 June 12th 05 03:25 PM
Importing xml Data into Excel 2002 CMichaelAPCC Excel Discussion (Misc queries) 0 June 9th 05 03:14 PM
how to convert GETPIVOTDATA from excel 2000 to excel 2002... Need_help_on_excel Excel Worksheet Functions 1 March 15th 05 01:08 AM


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