#136 — Put Data in a Group Horizontally into Columns

#136-—-put-data-in-a-group-horizontally-into-columns

Problem description & analysis:

Here below is a data table:

source table
Task: Rank the students by score, and arrange the names with the same score into the same row. The result is as follows:

result table

Solution:

Use SPL XLL and enter the following code:

=spl("=E(?1).group(-Score).([#]|~.(Name))",Sheet1!A1:B25)

Code explanation:

Group by Score and sort in reverse order; loop through each group, and merge the group number and the name of students in the group into a sequence.

Download esProc Desktop for FREE and level up your Excel skills now!! 🚀✨⬇️

✨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

Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
-elon-musk-publicly-trashes-trump-backed-stargate-ai-project,-clashes-with-openai-ceo-sam-altman

📰 Elon Musk publicly trashes Trump-backed Stargate AI project, clashes with OpenAI CEO Sam Altman

Next Post
embedded-quality:-create-competitive-advantage-and-customer-delight

Embedded Quality: Create Competitive Advantage and Customer Delight

Related Posts