Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Combine Cells without Concenate or &

Hey guys, quick question. How do you combine two horizontal cells without
using Concenate or "&"..?

Example:

| John | Doe |

into

| John Doe |

Thanks!,

Johnny B
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Combine Cells without Concenate or &

As far as I am aware, you can't.

"Johnny B" wrote:

Hey guys, quick question. How do you combine two horizontal cells without
using Concenate or "&"..?

Example:

| John | Doe |

into

| John Doe |

Thanks!,

Johnny B

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Combine Cells without Concenate or &

.... unless you use VBA (sorry!)

"Johnny B" wrote:

Hey guys, quick question. How do you combine two horizontal cells without
using Concenate or "&"..?

Example:

| John | Doe |

into

| John Doe |

Thanks!,

Johnny B

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Combine Cells without Concenate or &

Select the first of the pairs and run:

Sub johnnyb()
For Each r In Selection
r.Value = r.Value & " " & r.Offset(0, 1).Value
r.Offset(0, 1).Clear
Next
End Sub

This put the concatenation in VBA rather than in your worksheet.
--
Gary''s Student
gsnu200712

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
Combine Cells Johnny B[_2_] Excel Discussion (Misc queries) 0 March 28th 07 01:04 AM
Combine Cells Johnny B[_2_] Excel Discussion (Misc queries) 0 March 27th 07 11:59 PM
Combine Cells Union70 Excel Worksheet Functions 2 April 21st 06 03:07 AM
combine cells Mindy Excel Discussion (Misc queries) 4 December 1st 05 09:41 PM
Combine cells KAnoe Excel Worksheet Functions 4 October 3rd 05 04:33 PM


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

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

About Us

"It's about Microsoft Excel"