How to Sort Excel Records Correctly When Scores Are Tied
Question details
The user needs a method to rank and sort records accurately in a spreadsheet without duplicating names when multiple entries have identical scores.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Creating a dynamic ranking report where several records have identical scores, which causes standard lookup functions to return the same matched name multiple times.
- Observed behavior
- When using traditional lookup methods like MATCH, the function stops at the first matching score, resulting in repeated names for tied values instead of listing each distinct record.
Verify that you are using Microsoft 365, Office 2021, or a compatible spreadsheet application, as some advanced dynamic array functions like SORTBY, CHOOSECOLS, and LET are not supported in older versions.
Use SORTBY and CHOOSECOLS to Sort Records Directly
This modern dynamic array approach sorts the records directly without relying on MATCH, automatically avoiding duplicate names for tied scores.
By nesting CHOOSECOLS within SORTBY, you bypass the limitations of traditional lookups. This method extracts specific columns and sorts them dynamically based on the score column.
Click on the empty cell where you want your sorted ranking list to begin.
Type the formula =SORTBY(CHOOSECOLS(A2:F16,1,6),F2:F16,-1) into the formula bar.
Modify 'A2:F16' to encompass your actual data table. Change '1,6' if your target columns (e.g., Build Name and Score) are located elsewhere, and adjust 'F2:F16' to refer to your exact score column.
Press Enter to execute the formula. The sorted array will spill over into the adjacent cells, accurately displaying tied records on separate rows.

Create a Comprehensive Table using the LET Function
Use the LET function to define variables, sequence rows, and stack headers with your sorted data in a single, robust formula.
Implement a Helper Column for Tie-Breaking
If you are using an older version of Excel that does not support dynamic arrays, you can add an occurrence number or fractional tie-breaker to make each score uniquely identifiable.
Sort and Rank Complex Data Effortlessly in WPS Spreadsheet
WPS Office features a powerful, highly compatible Spreadsheet application that fully supports modern dynamic array functions like SORT, CHOOSECOLS, and LET. You can handle tied scores and complex dataset rankings instantly, without worrying about formula errors.
- 1. Open your workbook in WPS: Launch WPS Office and open your .xlsx file containing the ranking report.
- 2. Apply dynamic sorting formulas: Select your target cell and input the SORTBY or LET formulas exactly as you would natively in Excel.
- 3. Analyze results instantly: Press Enter to let the WPS Spreadsheet engine instantly calculate and spill the sorted array without duplicating tied names.

Frequently Asked Questions
Why does the MATCH function repeat names for tied scores?
The MATCH function is designed to return the relative position of the very first item that matches a specified lookup value. When multiple records share the exact same score, MATCH stops calculating at the first instance it finds, causing your lookup formulas to retrieve the same name multiple times.
Are functions like SORTBY and CHOOSECOLS available in older Excel versions?
No, functions like SORTBY, CHOOSECOLS, and LET are dynamic array functions introduced in newer versions such as Microsoft 365 and Office 2021. Users on older versions must use alternative methods, such as creating a helper column with tie-breaking formulas.
How does adding a row number fix tied scores in lookup formulas?
By adding a tiny fraction of the row number (for example, +ROW()/100000) to the original score, you generate a uniquely identifiable decimal value for every single score. This breaks the tie on the backend while looking identical when rounded, allowing exact-match lookups to differentiate between records.




