Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Merge the same group of cells down a column quickly

I've got 900 rows of data in which each needs to have cells 1:3 merged and
centered (so, a1:a3, b1:b3, c1:c3, etc). Is there any fast way of doing this
besides selecting the same three cells in each row, hitting Merge & Center,
and then moving on to the next row? Trying to create a macro has been
fruitless and quite frustrating.

Im using 2007.

Thanks in advance!
--
Rich F
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default Merge the same group of cells down a column quickly

in the name box put a1:c900. then "Merge Across", then r-click selection
and format cells, alignment Horizontal Center.

Rich F wrote:
I've got 900 rows of data in which each needs to have cells 1:3 merged and
centered (so, a1:a3, b1:b3, c1:c3, etc). Is there any fast way of doing this
besides selecting the same three cells in each row, hitting Merge & Center,
and then moving on to the next row? Trying to create a macro has been
fruitless and quite frustrating.

Im using 2007.

Thanks in advance!


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,071
Default Merge the same group of cells down a column quickly

What/Where is "Merge Across"? Otto

"Bob I" wrote in message
...
in the name box put a1:c900. then "Merge Across", then r-click selection
and format cells, alignment Horizontal Center.

Rich F wrote:
I've got 900 rows of data in which each needs to have cells 1:3 merged
and centered (so, a1:a3, b1:b3, c1:c3, etc). Is there any fast way of
doing this besides selecting the same three cells in each row, hitting
Merge & Center, and then moving on to the next row? Trying to create a
macro has been fruitless and quite frustrating.

Im using 2007.

Thanks in advance!


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default Merge the same group of cells down a column quickly

Home tab, Alignment panel, and just below "Merge and center" on the
pulldown. Rich is using 2007.

Otto Moehrbach wrote:

What/Where is "Merge Across"? Otto

"Bob I" wrote in message
...

in the name box put a1:c900. then "Merge Across", then r-click
selection and format cells, alignment Horizontal Center.

Rich F wrote:

I've got 900 rows of data in which each needs to have cells 1:3
merged and centered (so, a1:a3, b1:b3, c1:c3, etc). Is there any
fast way of doing this besides selecting the same three cells in each
row, hitting Merge & Center, and then moving on to the next row?
Trying to create a macro has been fruitless and quite frustrating.

Im using 2007.

Thanks in advance!




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,071
Default Merge the same group of cells down a column quickly

Thanks Bob. I hadn't seen that. Otto

"Bob I" wrote in message
...
Home tab, Alignment panel, and just below "Merge and center" on the
pulldown. Rich is using 2007.

Otto Moehrbach wrote:

What/Where is "Merge Across"? Otto

"Bob I" wrote in message
...

in the name box put a1:c900. then "Merge Across", then r-click selection
and format cells, alignment Horizontal Center.

Rich F wrote:

I've got 900 rows of data in which each needs to have cells 1:3 merged
and centered (so, a1:a3, b1:b3, c1:c3, etc). Is there any fast way of
doing this besides selecting the same three cells in each row, hitting
Merge & Center, and then moving on to the next row? Trying to create a
macro has been fruitless and quite frustrating.

Im using 2007.

Thanks in advance!





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default Merge the same group of cells down a column quickly

You're welcome too!

Otto Moehrbach wrote:

Thanks Bob. I hadn't seen that. Otto

"Bob I" wrote in message
...

Home tab, Alignment panel, and just below "Merge and center" on the
pulldown. Rich is using 2007.

Otto Moehrbach wrote:

What/Where is "Merge Across"? Otto

"Bob I" wrote in message
...

in the name box put a1:c900. then "Merge Across", then r-click
selection and format cells, alignment Horizontal Center.

Rich F wrote:

I've got 900 rows of data in which each needs to have cells 1:3
merged and centered (so, a1:a3, b1:b3, c1:c3, etc). Is there any
fast way of doing this besides selecting the same three cells in
each row, hitting Merge & Center, and then moving on to the next
row? Trying to create a macro has been fruitless and quite
frustrating.

Im using 2007.

Thanks in advance!





  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Merge the same group of cells down a column quickly

Bob,

What an elegant, simple solution. You are awesome, sir.

Thanks!
--
Rich F


"Bob I" wrote:

in the name box put a1:c900. then "Merge Across", then r-click selection
and format cells, alignment Horizontal Center.

Rich F wrote:
I've got 900 rows of data in which each needs to have cells 1:3 merged and
centered (so, a1:a3, b1:b3, c1:c3, etc). Is there any fast way of doing this
besides selecting the same three cells in each row, hitting Merge & Center,
and then moving on to the next row? Trying to create a macro has been
fruitless and quite frustrating.

Im using 2007.

Thanks in advance!


.

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default Merge the same group of cells down a column quickly

You're most welcome, have a great day!

Rich F wrote:

Bob,

What an elegant, simple solution. You are awesome, sir.

Thanks!


  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,071
Default Merge the same group of cells down a column quickly

Here is a macro that will do that. HTH Otto
Sub Macro1()
Dim rColA As Range
Dim i As Range
Set rColA = Range("A2", Range("A" & Rows.Count).End(xlUp))
For Each i In rColA
i.Resize(, 3).HorizontalAlignment = xlCenter
i.Resize(, 3).Merge
Next i
End Sub

"Rich F" wrote in message
...
I've got 900 rows of data in which each needs to have cells 1:3 merged and
centered (so, a1:a3, b1:b3, c1:c3, etc). Is there any fast way of doing
this
besides selecting the same three cells in each row, hitting Merge &
Center,
and then moving on to the next row? Trying to create a macro has been
fruitless and quite frustrating.

Im using 2007.

Thanks in advance!
--
Rich F


  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Merge the same group of cells down a column quickly

Otto,

O.k, I now see what I was doing wrong. This works perfectly, too!

Thanks for teh speedy response.
--
Rich F


"Otto Moehrbach" wrote:

Here is a macro that will do that. HTH Otto
Sub Macro1()
Dim rColA As Range
Dim i As Range
Set rColA = Range("A2", Range("A" & Rows.Count).End(xlUp))
For Each i In rColA
i.Resize(, 3).HorizontalAlignment = xlCenter
i.Resize(, 3).Merge
Next i
End Sub

"Rich F" wrote in message
...
I've got 900 rows of data in which each needs to have cells 1:3 merged and
centered (so, a1:a3, b1:b3, c1:c3, etc). Is there any fast way of doing
this
besides selecting the same three cells in each row, hitting Merge &
Center,
and then moving on to the next row? Trying to create a macro has been
fruitless and quite frustrating.

Im using 2007.

Thanks in advance!
--
Rich F


.



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 do I merge two cells in a column AliWitt Excel Discussion (Misc queries) 1 February 9th 06 10:37 PM
How do I do a vertical merge of cells in a column? PAM Excel Discussion (Misc queries) 1 September 21st 05 06:51 PM
How do I quickly fill a formula result into a column of cells? ckirch Excel Worksheet Functions 1 September 12th 05 04:40 PM
How can i copy a group of cells in a row to a column? yargila Excel Discussion (Misc queries) 2 August 10th 05 03:58 AM
How do I make a column of checkboxes quickly? Kevin Kimbrell via OfficeKB.com Excel Discussion (Misc queries) 1 June 1st 05 07:39 PM


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