Marcus Aurelius
asked on
How to take contents from a COLUMN of data and place as an array in a SINGLE CELL?
Experts:
My data in Excel 2010 looks like this in a single column:
861.32,
861.22,
861.21,
860.5,
860.4,
860.2,
860.1,
860.0,
854.09,
854.06,
854.05,
I need it to be transposed INTO a SINGEL CELL and have it look like this:
861.32, 861.22, 861.21, 860.5, 860.4, 860.2, 860.1, 860.0, 854.09, 854.06, 854.05,
There are about 1300 codes in the list...FYI....
Thanks
My data in Excel 2010 looks like this in a single column:
861.32,
861.22,
861.21,
860.5,
860.4,
860.2,
860.1,
860.0,
854.09,
854.06,
854.05,
I need it to be transposed INTO a SINGEL CELL and have it look like this:
861.32, 861.22, 861.21, 860.5, 860.4, 860.2, 860.1, 860.0, 854.09, 854.06, 854.05,
There are about 1300 codes in the list...FYI....
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Were you looking for code?
Do you want to keep that?
Dim arrVals
Dim strVals
arrVals = Range("A1", Range("A" & Rows.Count).End(xlUp)).Value
strVals = Join(Application.Transpose(arrVals), "")
Range("B1") = strVals
By the way I just noticed there might be an extra comma at the end.Do you want to keep that?
ASKER