#127 — Concatenate Data Within Groups into Text

#127 — Concatenate Data Within Groups into Text

Problem description & analysis:

Here below is a data 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)

The results are as follows:


Download esProc Desktop for FREE and kick off 2025 with productivity 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