#108 — Sorting of Row-Based Data

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

Problem description & analysis:

Here below is a data table:

source table

Task: We want to sort the data in ascending and descending orders by TotalScore.

Solution:

Use SPL XLL and enter the following formulas respectively:

  1. Sort in ascending order by TotalScore: =spl("=E(?).sort(TotalScore)",A1:C12)

result table 1

  1. Sort in descending order by TotalScore: =spl("=E(?).sort(TotalScore:-1)",A1:C12)

result table 2


Download esProc Desktop for FREE and enhance your Excel arsenal with SPL XLL! 🚀🔥⬇️

✨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

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