Excel Macro to Merge Multiple Rows, Comma Separated
Here is a custom Excel Macro function that will do it as well to merge multiple rows into one row, comma separated

Follow This Step :
- Alt + F11 to open the VB editor
- Insert\Module
- Paste the code below in the edit window
- Then put this formula in any cell
- =CommaCon(A1:A4)
Here is The code :
Function CommaCon(rng As Range) As String
'
' CommaCon Function
'
Dim Temp As String
Temp = ""
For Each Cell In rng
Temp = Temp & Cell.Value & ", "
Next Cell
CommaCon = Mid(Temp, 1, Len(Temp) - 2)
'
End Function