given your version (XL2013) and, assuming your source values are never more than 10 entries then you could use something like:
where your source values are located in Sheet1!A1:A10; this would generate your desired output (with cell alignment set to wrap text, obviously)
with O365 version you get the benefit of TEXTJOIN etc but, unfortunately, these functions are not backwards compatible.
you could also consider using a User Defined Function (UDF -- VBA function); a UDF would be a no-brainer if you had bigger datasets to worry about.
Bookmarks