No UDF is a User Defined Function.
To use this you need to do this.
1/. In Excel, with your workbook open, press Alt+f11 this will take you to the VBa Editor.
2/. With the "Insert" Tab choose "Module"
3/. In the resulting window paste all of the following code
4/. Save the file and close the VBa Editor.
5/. Select the cell you want the result to appear in
Now, in the formula bar type
=Conc(
and without entering the above, select the range you want to concatenate
The formula bar will now look, for example, like this
=Conc(A2:G2
Type a comma then ", ") (including the quotes)
The formula bar should look like this
=Conc(A2:G2,", ")
Press enter
If you leave out the sepatator the function will do a straight concatenation
=Conc(A2:G2)
As described earlier you can change the separator to what you want, look at the demo workbook to see the examples.
Bookmarks