#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 328
Default Combine text

Does anyone know a macro that would combine these cells into one?
Thanks in advance

Actual Output
10001 Need
Your
Help

10002 Thank
You in
Advance

Desired Output
10001 Need Your Help

10002 Thank You in Advance


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Combine text

Do you want a macro?

It can be done without a macro using the ampersand.

=A1 & " " & B1 & " " & B2 & " " & B3


Gord Dibben MS Excel MVP

On Tue, 1 May 2007 12:20:02 -0700, Lisa wrote:

Does anyone know a macro that would combine these cells into one?
Thanks in advance

Actual Output
10001 Need
Your
Help

10002 Thank
You in
Advance

Desired Output
10001 Need Your Help

10002 Thank You in Advance


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 328
Default Combine text

It is a huge report and it would take a long time to combine all the cells.
The only problem is that the rows are not consistent. I tried to use the
€śif€ť and then €śconcatenate€ť didnt work. The report looks like this.
Row 10001 €“ Help
Row 10002 Need
Your
Help
Row 10003 Thanks



"Gord Dibben" wrote:

Do you want a macro?

It can be done without a macro using the ampersand.

=A1 & " " & B1 & " " & B2 & " " & B3


Gord Dibben MS Excel MVP

On Tue, 1 May 2007 12:20:02 -0700, Lisa wrote:

Does anyone know a macro that would combine these cells into one?
Thanks in advance

Actual Output
10001 Need
Your
Help

10002 Thank
You in
Advance

Desired Output
10001 Need Your Help

10002 Thank You in Advance



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Combine text

Lisa

Copying the formulas would not take long, but if the data is inconsistent then
that throws a wrinkle into it.

I'll look at whipping up a macro but others here are pretty handy with the
formulas so hang in.

Someone can help.


Gord

On Tue, 1 May 2007 13:14:01 -0700, Lisa wrote:

It is a huge report and it would take a long time to combine all the cells.
The only problem is that the rows are not consistent. I tried to use the
“if” and then “concatenate” didn’t work. The report looks like this.
Row 10001 – Help
Row 10002 Need
Your
Help
Row 10003 Thanks



"Gord Dibben" wrote:

Do you want a macro?

It can be done without a macro using the ampersand.

=A1 & " " & B1 & " " & B2 & " " & B3


Gord Dibben MS Excel MVP

On Tue, 1 May 2007 12:20:02 -0700, Lisa wrote:

Does anyone know a macro that would combine these cells into one?
Thanks in advance

Actual Output
10001 Need
Your
Help

10002 Thank
You in
Advance

Desired Output
10001 Need Your Help

10002 Thank You in Advance




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 328
Default Combine text

Any help would be greatly appreciated.

"Gord Dibben" wrote:

Lisa

Copying the formulas would not take long, but if the data is inconsistent then
that throws a wrinkle into it.

I'll look at whipping up a macro but others here are pretty handy with the
formulas so hang in.

Someone can help.


Gord

On Tue, 1 May 2007 13:14:01 -0700, Lisa wrote:

It is a huge report and it would take a long time to combine all the cells.
The only problem is that the rows are not consistent. I tried to use the
€śif€ť and then €śconcatenate€ť didnt work. The report looks like this.
Row 10001 €“ Help
Row 10002 Need
Your
Help
Row 10003 Thanks



"Gord Dibben" wrote:

Do you want a macro?

It can be done without a macro using the ampersand.

=A1 & " " & B1 & " " & B2 & " " & B3


Gord Dibben MS Excel MVP

On Tue, 1 May 2007 12:20:02 -0700, Lisa wrote:

Does anyone know a macro that would combine these cells into one?
Thanks in advance

Actual Output
10001 Need
Your
Help

10002 Thank
You in
Advance

Desired Output
10001 Need Your Help

10002 Thank You in Advance





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 can I combine text from several cells into one? Michael Excel Discussion (Misc queries) 5 January 16th 07 10:25 PM
how to combine text into a cell??? Henry Excel Worksheet Functions 1 February 25th 06 12:07 AM
text trim combine Ian Bartlett Excel Discussion (Misc queries) 4 December 14th 05 12:37 AM
Formula to combine text? coal_miner Excel Worksheet Functions 5 August 18th 05 04:29 PM
Combine date with text SVC Excel Worksheet Functions 1 March 27th 05 02:16 PM


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