Add this UDF to your destination workbook: ALT|F11, Insert|Module
Function aconcat(a As Variant, Optional sep As String = "") As String
' Harlan Grove, Mar 2002
Dim y As Variant
If TypeOf a Is Range Then
For Each y In a.Cells
aconcat = aconcat & y.Value & sep
Next y
ElseIf IsArray(a) Then
For Each y In a
aconcat = aconcat & y & sep
Next y
Else
aconcat = aconcat & a & sep
End If
aconcat = Left(aconcat, Len(aconcat) - Len(sep))
End Function
Then apply formula in F11 like:
=SUBSTITUTE(TRIM(aconcat(IF('C:\My Documents\[Book6.xls]Sheet1'!$A$1:$A$9="redemption",IF('C:\My Documents\[Book6.xls]Sheet1'!$B$1:$B$9=DATE(2010,5,13),'C:\My Documents\[Book6.xls]Sheet1'!$C$1:$C$9,"")," ")))," ",",")
addjusting ranges, workbook and sheetnames and paths.
Then confirm it with CTRL+SHIFT+ENTER not just ENTER
Bookmarks