ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   convert columns into rows and columns (https://www.excelbanter.com/excel-discussion-misc-queries/79204-convert-columns-into-rows-columns.html)

McDuck

convert columns into rows and columns
 
I need to convert 10,000 item single column into 1,000 rows and 10 columns

Thanks for your help
--
602 952 2526

Alan Beban

convert columns into rows and columns
 
McDuck wrote:
I need to convert 10,000 item single column into 1,000 rows and 10 columns

Thanks for your help

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

=ArrayReshape(a1:a10000,1000,10) or
=ArrayReshape(a1:a10000,1000,10,1) array entered into a range of 1000
rows and 10 columns. Which you use depends on whether you want the
value from A2 or A1001 to start the second column; you didn't specify.

Alan Beban

Toppers

convert columns into rows and columns
 
A liitle more explanation as to how the data is organised (input/output)
might be helpful.

"McDuck" wrote:

I need to convert 10,000 item single column into 1,000 rows and 10 columns

Thanks for your help
--
602 952 2526



All times are GMT +1. The time now is 09:49 PM.

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