Function Problems

How to Fix Excel RANK and INDEX Errors When Scores Are Tied

Rana GarciaRana Garcia Nov 10, 2026 870 views

Question details

The user needs to correctly display player names and scores on a scoreboard when multiple players have identical scores, avoiding repeated names or #N/A errors.

How to Fix Excel RANK and INDEX Errors When Scores Are Tied
Product
Excel
Device & OS
not provided
Scenario
Creating a scoreboard or ranking list where duplicate scores exist.
Observed behavior
Using standard RANK and INDEX/MATCH functions results in repeated names for tied scores and #N/A errors for skipped ranks.
Before you start

Ensure your score data is arranged in a contiguous column and you have an empty column available next to it to create a helper tie-breaking ranking column.

Solution 1Recommended

Use a Tie-breaking Helper Column

Create unique ranks for tied scores by adding a sequential tie-breaker using COUNTIF, which allows INDEX and MATCH to pull the correct unique names.

Standard lookup functions like MATCH only return the first occurrence of a value. When there is a tie, Excel finds the first person with that score over and over again. By adjusting the rank slightly for duplicates, we can force every rank to be unique.

1
Create the helper column

Insert a new column next to your scores. Assuming scores are in B2:B10, type =RANK.EQ(B2, $B$2:$B$10) + COUNTIF($B$2:B2, B2) - 1 in cell C2.

2
Drag the formula down

Select cell C2 and drag the fill handle down to C10. Tied scores will now have unique consecutive ranks.

3
Retrieve the names using INDEX and MATCH

In your scoreboard area (e.g., cell E2 for Rank 1), use =INDEX($A$2:$A$10, MATCH(1, $C$2:$C$10, 0)) to pull the name of the 1st place person. Drag this formula down, changing the lookup value '1' to '2', '3', etc., or referencing a rank column.

Use a Tie-breaking Helper Column
Absolute References: Pay close attention to the dollar signs ($) in the COUNTIF formula. The first part of the range must be absolute ($B$2:B2), so it expands as you drag it down.
Resolve Spreadsheet Errors Effortlessly

Use WPS Spreadsheet to Handle Tied Scores and Complex Formulas

WPS Spreadsheet fully supports advanced functions like RANK.EQ, COUNTIF, INDEX, and MATCH. It is a highly compatible and lightweight tool that helps you calculate tied scores, build scoreboards, and manage complex data without breaking a sweat.

  1. 1. Open WPS Spreadsheet: Launch WPS Office and open your scoreboard spreadsheet.
  2. 2. Apply the tie-breaker formula: Use the =RANK.EQ() + COUNTIF() - 1 method exactly as you would in Excel.
  3. 3. Create your lookup table: Use INDEX and MATCH to map the unique ranks back to the player names flawlessly.
Fully compatible with Microsoft Excel formulas and .xlsx formats.Includes all necessary lookup and reference functions like INDEX and MATCH.Free, lightweight, and fast to launch for quick data processing.Familiar interface means zero learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Why does VLOOKUP or MATCH always return the same name for a tied score?

VLOOKUP and MATCH are designed to stop searching as soon as they find the first match in a dataset. If two players have a score of 95, these functions will only ever return the name of the first player listed with that score.

What does the COUNTIF part of the tie-breaker formula do?

The COUNTIF($B$2:B2, B2) part counts how many times a specific score has appeared up to the current row. For the first occurrence, it adds 1 (then subtracts 1, resulting in no change). For the second occurrence, it adds 2 (then subtracts 1, adding 1 to the rank), effectively breaking the tie.

Can I use RANK.AVG instead of RANK.EQ?

RANK.AVG assigns the average rank to tied values (e.g., if two people tie for 2nd, they both get 2.5). This makes it harder to use INDEX and MATCH for a clean 1, 2, 3 scoreboard. RANK.EQ is preferred when building a tie-breaking helper column.

Does WPS Office support dynamic array formulas like SORTBY?

Yes, the latest versions of WPS Office Spreadsheet support dynamic array formulas, allowing you to sort and filter tied scores without needing helper columns.