#115 — Ranking of Row-Based Data — by the Expression

#115 — Ranking of Row-Based Data — by the Expression

Problem description & analysis:

Here below is a data table:

Task: Calculate the ranking of data (in descending order) by the sum of three columns Maths, English and PE.

Solution:

Use SPL XLL and enter the following code in cell F2:

=spl("=E(?1).(Maths+English+PE).rank@z(?2)",C$1:E$12,C2+D2+E2)

The result is as follows:

Then drag F2 down to every relevant row:


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