Thread
:
How to concatenate a column into one cell? tia sal2
View Single Post
#
2
Posted to microsoft.public.excel,microsoft.public.excel.misc
Pete_UK
external usenet poster
Posts: 8,856
How to concatenate a column into one cell? tia sal2
You could do it with a user defined function (UDF) like this:
Function join(my_range As Range) As String
join = ""
For Each my_cell In my_range
join = join & my_cell.Value
Next my_cell
End Function
Use this formula in cell F2:
=join(C2:C45)
Hope this helps.
Pete
wrote:
Greets all I'm trying to concatenate a column into one cell. Is thier
a way to have concatenate work on a range of cells in a column or a row.
Example: I have Column C2..C45 and I want to have all those
numbers/letters joined in on cell togather on F2.
Tia
SAL2
Reply With Quote
Pete_UK
View Public Profile
Find all posts by Pete_UK