Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Joining text in one cell


hi all of you

i want to join text values given in various cells into one cell.

for example i have data as follows

Row 1 Ankit
Row 2 Garg
Row 3 Chartered
Row 4 Accountant
Row 4 Delhi
Row 5 India

and the desired result is as follows

Row 6 Ankit Garg Chartered Accountant Delhi India

also if i want to insert any comma or semicolon between these text
values like

Row 6 Ankit, Garg, Chartered, Accountant, Delhi, India,

kindly suggest any method or formula for this

thanks in advance
Ankit Garg
India

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 196
Default Joining text in one cell

Hi

A rather long-winded formula:

=A1&A2&A3&A4&A5

if you want commas or other delimiters (such as spaces) then:

=A1 & "," & A2 & "," & A3 & "," & A4 & "," & A5

Hope this helps!

Richard


ca.ankitgarg wrote:

hi all of you

i want to join text values given in various cells into one cell.

for example i have data as follows

Row 1 Ankit
Row 2 Garg
Row 3 Chartered
Row 4 Accountant
Row 4 Delhi
Row 5 India

and the desired result is as follows

Row 6 Ankit Garg Chartered Accountant Delhi India

also if i want to insert any comma or semicolon between these text
values like

Row 6 Ankit, Garg, Chartered, Accountant, Delhi, India,

kindly suggest any method or formula for this

thanks in advance
Ankit Garg
India


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Joining text in one cell

On 19 Jan 2007 04:19:42 -0800, "ca.ankitgarg" wrote:


hi all of you

i want to join text values given in various cells into one cell.

for example i have data as follows

Row 1 Ankit
Row 2 Garg
Row 3 Chartered
Row 4 Accountant
Row 4 Delhi
Row 5 India

and the desired result is as follows

Row 6 Ankit Garg Chartered Accountant Delhi India

also if i want to insert any comma or semicolon between these text
values like

Row 6 Ankit, Garg, Chartered, Accountant, Delhi, India,

kindly suggest any method or formula for this

thanks in advance
Ankit Garg
India


In addition to the formula posted, you could download and install Longre's free
morefunc.xll add-in from:

Then use the formula:

=MCONCAT(A1:A6," ")

or, with <comma<space:

=MCONCAT(A1:A6,", ")


--ron
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 287
Default Joining text in one cell

Try

=A1&", "&A2&", "&A3&", "&A4&", "&A5

"ca.ankitgarg" wrote:


hi all of you

i want to join text values given in various cells into one cell.

for example i have data as follows

Row 1 Ankit
Row 2 Garg
Row 3 Chartered
Row 4 Accountant
Row 4 Delhi
Row 5 India

and the desired result is as follows

Row 6 Ankit Garg Chartered Accountant Delhi India

also if i want to insert any comma or semicolon between these text
values like

Row 6 Ankit, Garg, Chartered, Accountant, Delhi, India,

kindly suggest any method or formula for this

thanks in advance
Ankit Garg
India


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,101
Default Joining text in one cell

=concatenate(a1,a2,a3) add as required

"ca.ankitgarg" wrote:


hi all of you

i want to join text values given in various cells into one cell.

for example i have data as follows

Row 1 Ankit
Row 2 Garg
Row 3 Chartered
Row 4 Accountant
Row 4 Delhi
Row 5 India

and the desired result is as follows

Row 6 Ankit Garg Chartered Accountant Delhi India

also if i want to insert any comma or semicolon between these text
values like

Row 6 Ankit, Garg, Chartered, Accountant, Delhi, India,

kindly suggest any method or formula for this

thanks in advance
Ankit Garg
India




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Joining text in one cell

thanks to all of you for the support u provided.

thanks again. bye

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
Aligning Wraped Text to the bottom of a cell Viking Excel Discussion (Misc queries) 2 July 7th 06 09:33 PM
Cell Capacity - text i2meek Excel Discussion (Misc queries) 4 March 13th 06 12:06 AM
Text in formula bar is not displaying in cell Mike Excel Discussion (Misc queries) 0 August 29th 05 09:47 PM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
Help inserting a Cell Value in a Text Cell Dave Excel Worksheet Functions 5 March 5th 05 09:06 PM


All times are GMT +1. The time now is 09:08 AM.

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"