#116 — Concatenate Members with the Same Ranking

Judith-Data-Processing-Hacks - Dec 12 '24 - - Dev Community

Problem description & analysis:

Here below is a data table:

source table

Task: Rank the students by math score and concatenate the names of students having the same score with comma.

Solution:

Use SPL XLL and enter the following code:

=spl("=E(?1).group(Maths).(~.(Name).concat@c()).rvs().new(#:Rank,~:Name)",A1:B12)
Enter fullscreen mode Exit fullscreen mode

The results are as follows:

result table


Download esProc Desktop for FREE and become an Excel Guru using SPL!! 🚀✨⬇️

✨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

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