![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Location: Hong Kong
Posts: 38
|
Case:
a data sheet with B1-Z1 as Vendor name; and A2-A100 as Item number; And B2-Z100 are their corresonding qty If i want to move row1, i.e.B1-Z1's vendor name, into columnA and columnA to Row1 and all data move their corresponding cells. How can I do that and it is better send me the Macro example. Thanks a lot. my email is : cl.wong@hongkong.com |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Feb 2002
Location: Perth Australia
Posts: 1,567
|
Hi clwong
If I understand you correctly, you can do this by copy and paste. Copy the array then use Paste Special and tick the Transpose box regards Derek |
|
|
|
|
|
#3 |
|
New Member
Join Date: Mar 2002
Location: Hong Kong
Posts: 38
|
Derek;
Thanks for your great help. But my case is more complicated. could i send u the file? thanks |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Feb 2002
Location: Perth Australia
Posts: 1,567
|
|
|
|
|
|
|
#5 |
|
New Member
Join Date: Mar 2002
Location: Hong Kong
Posts: 38
|
Derek,
Already sent. Thanks. |
|
|
|
|
|
#6 |
|
Board Regular
Join Date: Feb 2002
Location: Perth Australia
Posts: 1,567
|
Hi
There was no file attached to your e-mail. Please resend to me regards Derek |
|
|
|
|
|
#7 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Bogota, Colombia
Posts: 11,927
|
Wouldn't it be easier to post some example data ?
|
|
|
|
|
|
#8 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Hi clwong
Try creating a Pivot Table of your data, then Pivot it until it transposed to how you want. Then just 'Copy Paste Special Values' to convert back to raw data. |
|
|
|
|
|
#9 |
|
New Member
Join Date: Mar 2002
Location: Hong Kong
Posts: 38
|
Thanks all.
already done. |
|
|
|
|
|
#10 |
|
New Member
Join Date: Mar 2002
Location: Hong Kong
Posts: 38
|
dear all,
sorry is me again. after testing for a datasheet with over 256rows, it doesn't work when copy and paste special with transpose. Error as following: The information cannot be pasted because the Copy area and teh paste area are not the same size and shape. Try one of the following:....... any other solution? Thanks. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|