Sort Duplicate Scores in Descending Order Without SORT in Excel 2019
Question details
The user needs to sort names by descending score in Excel 2019 when scores contain duplicates, without using the dynamic-array SORT function, while preserving the original order of tied scores.

- Product
- WPS Office Spreadsheets and Microsoft Excel 2019
- Device & OS
- not provided
- Scenario
- The user has a score table with duplicate scores and wants to sort names by descending score, keeping tied scores in their original row order.
- Observed behavior
- Excel 2019 does not include the dynamic-array SORT function, so the user needs a formula-based ranking and lookup method.
Confirm your scores are in one column and names are in another, then adjust the formula ranges to match your data. Use two empty helper columns for the rank and result formulas.
Rank Scores with RANK and COUNTIF, Then Return Names with INDEX
Use this when you are working in Excel 2019 or another version without the dynamic-array SORT function and need to sort names by score descending while keeping ties in their original order.
The formula creates a unique descending rank for each score. RANK returns the base rank, and COUNTIF adds a tie-breaker offset so earlier duplicate scores rank before later ones. INDEX then returns the name at that unique rank.
Click cell E3, enter =RANK(A3,$A$3:$A$9)+COUNTIF($A$3:A3,A3)-1, and press Enter.
Drag the fill handle from E3 down through E9 to rank all scores in descending order with unique tie positions.
Click cell F3, enter =INDEX($C$3:$C$9,E3), and press Enter.
Drag the fill handle from F3 down through F9 to return the sorted name for each rank.

Create a Tie-Breaking Score Sort in WPS Office Spreadsheets
WPS Office Spreadsheets can open your Excel 2019 workbook and let you sort names by descending score with the same RANK, COUNTIF, and INDEX formulas, without the Microsoft 365 SORT function.
- 1. Open your score workbook: Launch WPS Office Spreadsheets, click Menu > Open, and select your Excel .xlsx workbook.
- 2. Enter the ranking formula: Click cell E3, type =RANK(A3,$A$3:$A$9)+COUNTIF($A$3:A3,A3)-1, and press Enter.
- 3. Fill the ranking formula down: Drag the fill handle from E3 down through E9 to create unique descending ranks.
- 4. Return sorted names: Click cell F3, type =INDEX($C$3:$C$9,E3), press Enter, and drag the fill handle down through F9.
- 5. Save the workbook: Click Menu > Save As, choose Excel Workbook .xlsx, and save the file to keep the sorted result.

Frequently Asked Questions
Why does Excel 2019 not have the SORT function?
SORT is a dynamic array function introduced in Microsoft 365 and Excel 2021. Excel 2019 supports traditional formulas only, so use RANK, COUNTIF, and INDEX instead.
How does COUNTIF break ties in the ranking formula?
In =RANK(A3,$A$3:$A$9)+COUNTIF($A$3:A3,A3)-1, the COUNTIF part adds a unique sequence number to each duplicate score based on its first occurrence, so earlier rows rank before later rows.
Can I use this method in WPS Office Spreadsheets?
Yes. The same RANK, COUNTIF, and INDEX formulas work in WPS Office Spreadsheets and maintain full compatibility with Excel .xlsx files.
What should I change if my data is in different columns?
Replace A3:A9 with your actual score range and C3:C9 with your name range. Also move the helper formulas to two empty columns that fit your layout.
How do I sort descending but keep the original order for equal scores?
Create a helper ranking column with RANK and COUNTIF to make each tied score unique. Then use INDEX to return the name matching each unique rank, so tied scores keep their original top-to-bottom order.




