#110 — Sorting of Row-Based Data — by Expression

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

Problem description & analysis:

Here below is a data table:

source table

Task: Sort in reverse order by the sum of three columns, Maths, English, and PE.

Solution:

Use SPL XLL and enter the following formula:
=spl("=E(?).sort(Maths+English+PE:-1)",A1:E12)

The results are as follows:

result table


Download esProc Desktop for FREE and stay tuned for more tips! 🔍✨⬇️

✨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

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