DEV Community

Cover image for #110 — Sorting of Row-Based Data — by Expression
Judith-Data-Processing-Hacks
Judith-Data-Processing-Hacks

Posted on

2 1 1 1 1

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

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

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)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →