ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Horizontal to vertical ( 1 row to 1 column ) (https://www.excelbanter.com/excel-programming/415530-horizontal-vertical-1-row-1-column.html)

shiro[_2_]

Horizontal to vertical ( 1 row to 1 column )
 
Hi All,
I want to create a code that would automatically
loop to cut and paste data from one row to become
one column.

Lay out before :

Row 1 : Aku Saya Hamba Daku
Row 2 : Kamu Anda Dikau Saudara

Lay out after

Column A Column B
Aku Kamu
Saya Anda
Hamba Dikau
Daku Saudara

Thank's

Rgds,
Shiro



Mike H

Horizontal to vertical ( 1 row to 1 column )
 
Hi,

You don't need a macro.
Select your data and then Copy it

Select a cell for the top left column of data then
Edit|Paste Special
Select 'Transpose'
Click OK

Mike

"shiro" wrote:

Hi All,
I want to create a code that would automatically
loop to cut and paste data from one row to become
one column.

Lay out before :

Row 1 : Aku Saya Hamba Daku
Row 2 : Kamu Anda Dikau Saudara

Lay out after

Column A Column B
Aku Kamu
Saya Anda
Hamba Dikau
Daku Saudara

Thank's

Rgds,
Shiro





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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com