Group Rows and Concatenate Cell Values
Judith-Excel-Sharing
Posted on July 10, 2024
Problem description & analysis:
Here is a categorized detail table:
We need to group the table and concatenate the detail data using the semicolon.
Solution:
Use SPL XLL to do this:
=spl("=E@b(?.groups(~1;concat(~2;$[;])))",A2:B9)
As shown in the picture below:
Explanation:
E@b function converts the two-dimensional table to a sequence. ~1 represents the first sub-member of the current member; and $[] represents a string.
💖 💪 🙅 🚩
Judith-Excel-Sharing
Posted on July 10, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
programming Title: "The Art of Graph Coloring: Solving Real-World Problems with Efficient Solutions"
November 23, 2024
programming #26 — Get Two Numbers from Each of The Two Sets of Numbers and Let Them Equal A Specified Value
July 16, 2024