Function Problems

Sort Duplicate Scores in Descending Order Without SORT in Excel 2019

Algirdas JasaitisAlgirdas Jasaitis Nov 13, 2026 869 views

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.

Sort Duplicate Scores in Descending Order Without SORT in Excel 2019
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.
Before you start

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.

Solution 1Recommended

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.

1
Enter the unique ranking formula

Click cell E3, enter =RANK(A3,$A$3:$A$9)+COUNTIF($A$3:A3,A3)-1, and press Enter.

2
Fill the ranking formula down

Drag the fill handle from E3 down through E9 to rank all scores in descending order with unique tie positions.

3
Return the corresponding name

Click cell F3, enter =INDEX($C$3:$C$9,E3), and press Enter.

4
Fill the name formula down

Drag the fill handle from F3 down through F9 to return the sorted name for each rank.

Rank Scores with RANK and COUNTIF, Then Return Names with INDEX
Ties keep their original order: The COUNTIF offset gives each duplicate score a unique rank, so earlier rows appear before later rows in the sorted result.
Direct formula solution

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. 1. Open your score workbook: Launch WPS Office Spreadsheets, click Menu > Open, and select your Excel .xlsx workbook.
  2. 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. 3. Fill the ranking formula down: Drag the fill handle from E3 down through E9 to create unique descending ranks.
  4. 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. 5. Save the workbook: Click Menu > Save As, choose Excel Workbook .xlsx, and save the file to keep the sorted result.
Uses classic RANK, COUNTIF, and INDEX formulas to solve duplicate-score sorting directlyPreserves the original order of tied scores without VBA or dynamic arraysOpens, edits, and saves .xlsx files with full Microsoft Excel format compatibilityFree, lightweight, and familiar ribbon interface for Excel users
microsoft office alternative - wps office

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.