11.12 Concatenate data within group into text

 

Here below is a data table:

imagepng

The task is to group by Dept, and concatenate the names within the same group into the same row:

=spl("=E(?1).group(Dept;~.(Name).concat@c():Name)",A1:B12)

imagepng


https://c.scudata.com/article/1651916536524
https://c.scudata.com/article/1657158009514
https://c.scudata.com/article/1657248052531