I believe this UDF is perfectly in line with what you would like to accomplish :
Once you have this code in a module, the formula you use to concatenate your values will be as follows :
=concatenateif(Sheet2!B:B,1,Sheet2!C:C,CHAR(10))
Where the first range contains the placement, "1" is the criteria you would like to extract, the second range contains the values you would like concatenated, and the final section is an optional separator (in this case Char(10) is a line break). In order for the line breaks to show, please ensure you have "wrap text" enabled for the cell containing the formula.
The code above came from the following link :
https://www.extendoffice.com/documen...-criteria.html
Bookmarks