ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how do I get data from an array into one cell (comma delimited) (https://www.excelbanter.com/excel-discussion-misc-queries/65246-how-do-i-get-data-array-into-one-cell-comma-delimited.html)

bb

how do I get data from an array into one cell (comma delimited)
 
looking for a way to query an array 3 cells by 3 cells (they have numeric
data only) and return a value in a seperate cell that has all the numbers in
the array (comma delimited)
thanks

Gary''s Student

how do I get data from an array into one cell (comma delimited)
 
If C1 thru E3 contain:

1 2 3
4 5 6
7 8 9

then:

=C1 & "," & D1 &","& E1 &","& C2 &","& D2 &","& E2 &","& C3 &","& D3 &","& E3

will return:
1,2,3,4,5,6,7,8,9

--
Gary's Student


"bb" wrote:

looking for a way to query an array 3 cells by 3 cells (they have numeric
data only) and return a value in a seperate cell that has all the numbers in
the array (comma delimited)
thanks



All times are GMT +1. The time now is 03:23 AM.

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