Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
hef hef is offline
external usenet poster
 
Posts: 1
Default transpose: long column - many rows


I need to take a column that goes from a2:a81 and turn it into 27 rows
ie:
a
b
c
d
e
f

needs to be
a b c
d e f

etc...


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default transpose: long column - many rows

hef

=INDIRECT("A"&(COLUMN()+(ROW()-2)*3))

Enter this is in B2 then drag across to D2 then drag down to B28:D28

When happy with the results, copy all and paste specialvalues. Delete
original column A if wish.

Gord Dibben XL2002

On Thu, 6 Nov 2003 17:38:11 -0500, hef
wrote:


I need to take a column that goes from a2:a81 and turn it into 27 rows
ie:
a
b
c
d
e
f

needs to be
a b c
d e f

etc...


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default transpose: long column - many rows

Hi Heff,

In B1 enter =A1&A2&A3
In B4 enter =A4&A5&A6
Select B1 through B6.
Pull (lower right hand corner) down to end of column A.
Select the data in column B.
Under Edit Go To Special Go to Blanks OK
Under Edit Delete Rows Shift Up OK
Select the data in column B and do a Copy Edit Paste Special Values
OK

Should get you what you want.

HTH
Regards,
Howard

"hef" wrote in message
...

I need to take a column that goes from a2:a81 and turn it into 27 rows
ie:
a
b
c
d
e
f

needs to be
a b c
d e f

etc...


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 171
Default transpose: long column - many rows

If the functions in the freely downloadable file at
http://home.pacbell.net/beban are available to your workbook:

Range("A2:C28").Value = ArrayReshape(Range("A2:A81"), 27, 3)

Because A2:A81 is only 80 elements, the 81st element in the 27th row
will be 0.

Alan Beban

hef wrote:
I need to take a column that goes from a2:a81 and turn it into 27 rows
ie:
a
b
c
d
e
f

needs to be
a b c
d e f

etc...


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/


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
transpose rows to column (cell) Ghaleb Bakri Excel Discussion (Misc queries) 3 January 4th 10 09:04 AM
How to transpose and concatenate long list in one column? CSchwass Excel Worksheet Functions 12 September 11th 09 12:46 AM
Transpose Column to Rows Pai Excel Discussion (Misc queries) 3 December 10th 08 03:24 PM
Transpose several columns to one long column sofast1651 Excel Discussion (Misc queries) 1 February 4th 08 11:08 PM
transpose a column into many rows GMed Excel Discussion (Misc queries) 1 January 21st 05 07:15 PM


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