ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   change a vertical list of numbers to horizontal list from 1 cell (https://www.excelbanter.com/excel-discussion-misc-queries/111754-change-vertical-list-numbers-horizontal-list-1-cell.html)

caz

change a vertical list of numbers to horizontal list from 1 cell
 
Hi
I have a vertical list of 6 digit codes and wish to copy turn them into a
horizontal list in a single cell. Each code is prefixed by '.
thanks

paul

change a vertical list of numbers to horizontal list from 1 cell
 
transpose function.You select your destination range which must be the same
no of columns as you have rows,just say you have a existing range in a1 to a4
you select range d1 to g1 and in cell d1 type =transpose(A1:A4) and enter
holding down ctrl and shift and then hit enter
--
paul

remove nospam for email addy!



"caz" wrote:

Hi
I have a vertical list of 6 digit codes and wish to copy turn them into a
horizontal list in a single cell. Each code is prefixed by '.
thanks


Pete_UK

change a vertical list of numbers to horizontal list from 1 cell
 
I think what the OP means is to put all the values into one cell (eg
B1). If that is the case, then a formula like:

=A1&" "&A2&" "&A3&" "&A4

would achieve this for four used cells in column A, and will separate
each number by a space.

Hope this helps.

Pete

paul wrote:
transpose function.You select your destination range which must be the same
no of columns as you have rows,just say you have a existing range in a1 to a4
you select range d1 to g1 and in cell d1 type =transpose(A1:A4) and enter
holding down ctrl and shift and then hit enter
--
paul

remove nospam for email addy!



"caz" wrote:

Hi
I have a vertical list of 6 digit codes and wish to copy turn them into a
horizontal list in a single cell. Each code is prefixed by '.
thanks



paul

change a vertical list of numbers to horizontal list from 1 ce
 
ahh yes "in a single cell" was a good clue wasnt it!
--
paul

remove nospam for email addy!



"Pete_UK" wrote:

I think what the OP means is to put all the values into one cell (eg
B1). If that is the case, then a formula like:

=A1&" "&A2&" "&A3&" "&A4

would achieve this for four used cells in column A, and will separate
each number by a space.

Hope this helps.

Pete

paul wrote:
transpose function.You select your destination range which must be the same
no of columns as you have rows,just say you have a existing range in a1 to a4
you select range d1 to g1 and in cell d1 type =transpose(A1:A4) and enter
holding down ctrl and shift and then hit enter
--
paul

remove nospam for email addy!



"caz" wrote:

Hi
I have a vertical list of 6 digit codes and wish to copy turn them into a
horizontal list in a single cell. Each code is prefixed by '.
thanks





All times are GMT +1. The time now is 05:21 PM.

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