ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Flipping Cell Data Horizontal/Vertical (https://www.excelbanter.com/excel-programming/278648-flipping-cell-data-horizontal-vertical.html)

Shepherd Moon[_2_]

Flipping Cell Data Horizontal/Vertical
 
Hello,

I hope I can describe this correctly to see if there is an Excel macro
already available:

Is there a function or macro that can take a set of cells and "flip"
it so that it runs perpendicularly to its original orientation? For
example, if one has values in column A1 through A5, this macro would
allow you to select that data, run the macro, and the resulting data
would then appear in cells A1 through E1. (The reverse would also be
possible.) This would help avoid having to retype, say, query column
headers imported into Excel if one wanted those header names to run
vertically instead of horizontally.

Thanks in advance for any help.

Regards,
Shepherdmoon

John Green[_2_]

Flipping Cell Data Horizontal/Vertical
 
Copy the data and then use Edit|Paste Special. Select the Transpose option and click OK.

--

John Green - Excel MVP
Sydney
Australia


"Shepherd Moon" wrote in message om...
Hello,

I hope I can describe this correctly to see if there is an Excel macro
already available:

Is there a function or macro that can take a set of cells and "flip"
it so that it runs perpendicularly to its original orientation? For
example, if one has values in column A1 through A5, this macro would
allow you to select that data, run the macro, and the resulting data
would then appear in cells A1 through E1. (The reverse would also be
possible.) This would help avoid having to retype, say, query column
headers imported into Excel if one wanted those header names to run
vertically instead of horizontally.

Thanks in advance for any help.

Regards,
Shepherdmoon




Shepherd Moon[_2_]

Flipping Cell Data Horizontal/Vertical
 
"John Green" wrote in message ...
Copy the data and then use Edit|Paste Special. Select the Transpose option and click OK.

--


Thank you!!

Regards,
Shepherdmoon


John Green - Excel MVP
Sydney
Australia


"Shepherd Moon" wrote in message om...
Hello,

I hope I can describe this correctly to see if there is an Excel macro
already available:

Is there a function or macro that can take a set of cells and "flip"
it so that it runs perpendicularly to its original orientation? For
example, if one has values in column A1 through A5, this macro would
allow you to select that data, run the macro, and the resulting data
would then appear in cells A1 through E1. (The reverse would also be
possible.) This would help avoid having to retype, say, query column
headers imported into Excel if one wanted those header names to run
vertically instead of horizontally.

Thanks in advance for any help.

Regards,
Shepherdmoon



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

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