A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi,
In cell D1 apply this dynamic formula:
=TRANSPOSE(TEXTSPLIT(TEXTJOIN(";",, BYROW(GROUPBY(TRIMRANGE(B2:B15), TRIMRANGE(A2:A15), ARRAYTOTEXT,, 0), LAMBDA(a, ARRAYTOTEXT(a)))), ", ", ";"))
In order for the formula to work, you must use Office 365.
Hope this helps.