ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Take a column of numbers and automatically make them into a row (https://www.excelbanter.com/excel-discussion-misc-queries/159818-take-column-numbers-automatically-make-them-into-row.html)

AAD

Take a column of numbers and automatically make them into a row
 
I want to take a column of numbers and instead of them being in a vertical
line, make them across the top without cutting and pasting each individual
cell is there a function to do this?

Chip Pearson

Take a column of numbers and automatically make them into a row
 
Select a range on one row with as many columns as your original data has
rows. Then type

=TRANSPOSE(A1:A5)

(change A1:A5 to your data range) and press CTRL SHIFT ENTER rather than
just ENTER. If you do this properly, Excel will display the formula in the
formula bar enclosed in curly braces {}.

Another method is to use the following formula:

=OFFSET($A$1,COLUMN()-COLUMN($D$8),0,1,1)

Change $A$1 to the first cell of your original data and change $D$8 to the
cell in which you enter this formula. Then, copy this formula across for as
many columns as your original data has rows.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)


"AAD" wrote in message
...
I want to take a column of numbers and instead of them being in a vertical
line, make them across the top without cutting and pasting each individual
cell is there a function to do this?



Roger Govier[_3_]

Take a column of numbers and automatically make them into a row
 
Hi

Copy the cellsPaste SpecialTranspose.

If you are using XL2003 or lower, then your column of cells can't be greater
than 256, otherwise it won't transpose.

--
Regards
Roger Govier



"AAD" wrote in message
...
I want to take a column of numbers and instead of them being in a vertical
line, make them across the top without cutting and pasting each individual
cell is there a function to do this?





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

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