DEV Community

Cover image for #114 — Ranking of Row-Based Data — by the Combination of Multiple Columns
Judith-Data-Processing-Hacks
Judith-Data-Processing-Hacks

Posted on

2 1 1 1 1

#114 — Ranking of Row-Based Data — by the Combination of Multiple Columns

Problem description & analysis:

Here below is a data table:

source table
Task: Rank the data (in descending order) by the order combination of three columns, Maths, English, and PE.

Solution:

Use SPL XLL and enter the following code in cell F2:
=spl("=?1.rank@z(?2.conj())",C$2:E$12,C2:E2)

The result is as follows:

result of cell F2

Then drag F2 down to every relevant row:

result table


Download esProc Desktop for FREE and simplify your data tasks today! 🙌✨⬇️

✨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!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

Top comments (1)

Collapse
 
judith677 profile image
Judith-Data-Processing-Hacks

Don’t forget to like and share with your data-loving friends.

🥳Discord
🥳Reddit

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

👥 Ideal for solo developers, teams, and cross-company projects

Learn more