DEV Community

Cover image for #127 — Concatenate Data Within Groups into Text
Judith-Excel-Sharing
Judith-Excel-Sharing

Posted on

#127 — Concatenate Data Within Groups into Text

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

Top comments (1)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.