DEV Community

Cover image for #113 — Ranking of Row-Based Data
Judith-Excel-Sharing
Judith-Excel-Sharing

Posted on

#113 — Ranking of Row-Based Data

Problem description & analysis:

Here below is a data table:

source table

Task: Calculate the ranking of students by TotalScore (in descending order) and fill the results in corresponding cells of column D.

Solution:

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

The result is as follows:

result of cell D2

Then drag D2 down to every relevant row and get the final results:

result table


Download esProc Desktop for FREE and upgrade your workflow 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

Top comments (1)

Collapse
 
judith677 profile image
Judith-Excel-Sharing

Join the communities and share your productivity skills with us!

🚀Discord

🚀Reddit