DEV Community

Cover image for #127 — Concatenate Data Within Groups into Text
2 1 1 1 1

#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

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (1)

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

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more