Assuming, at this point, you're just focused on populating column C the complexity will depend on
a) your XL version (i.e. are you running 2016 per profile, or later version?)
b) max no of elements in any given cell
if, a) you're running O365 or 2019 things are much simpler... as they have nice Text Array functions that earlier versions do not (e.g. TEXTJOIN, CONCAT)
if you are on 2016 then b) becomes important as you would need to repeat the calcs per element, e.g.:
the feasibility of which is dependent upon how many items you need to account for, the above only accounts for 3 elements
so, in summary, if running 2016 and you have large numbers of elements in a cell then I would suggest you implement a UDF.
note : for Col D I'd suggest:
Bookmarks