#127 — Concatenate Data Within Groups into Text

Judith-Data-Processing-Hacks - Jan 8 - - Dev Community

Problem description & analysis:

Here below is a data table:

source table

Task: Group the data by Dept, and concatenate the names within the same group into the same row.

Solution:

Use SPL XLL and enter the following formula:

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

The results are as follows:

result table


Download esProc Desktop for FREE and enhance your Excel workflow using SPL XLL!! 🚀✨⬇️

✨SPL download address: esProc Desktop FREE Download

✨Plugin Installation Method: SPL XLL Installation and Configuration

✨References to other rich Excel operation cases: Desktop and Excel Data Processing Cases

✨YouTube FREE courses: SPL Programming

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .