Google-sheets – Merge variable rows into one cell

formulasgoogle sheets

I have the following data

Data

and I would like to have it organized by individual parts while merging the parts IDs into a cell

Output

is there any way of doing this with Google Sheets?

Best Answer

=JOIN(", "; TRANSPOSE(FILTER($B$2:$B; $A$2:$A = E2)))

3