How to Fix Excel RANK Returning the Same Rank for Different Values
Question details
The user needs to resolve an issue where the Excel RANK function assigns identical ranks to different numbers when the formula is copied down a column.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Ranking a list of numeric values using the RANK formula and dragging the fill handle to apply the formula to subsequent rows.
- Observed behavior
- The formula returns the exact same rank for completely different values because the reference range incorrectly shifts instead of remaining fixed.
Ensure you have your dataset organized in a single column and identify the exact range of cells containing the values you want to evaluate.
Use Absolute References to Lock the Ranking Range
Prevent the ranking range from shifting by locking it with absolute cell references, ensuring every value is compared against the exact same dataset.
When you drag a formula down in Excel, relative cell references automatically shift row by row. If your ranking range is relative (e.g., E4:E15), it becomes E5:E16 in the next row, evaluating a slightly different set of numbers and causing incorrect or duplicate ranks. Adding a dollar sign ($) locks the column and row so the range remains constant for all cells.
Click on the empty cell where you want the first rank to appear and type `=RANK(`.
Click on the first value you want to rank (e.g., `E4`), type a comma, and then highlight the entire range of values you are ranking against (e.g., `E4:E15`).
Highlight the range portion of the formula in the formula bar and press the `F4` key on your keyboard to convert it to an absolute reference. Your formula should now look like `=RANK(E4, $E$4:$E$15)`.
Press `Enter` to confirm. Then, click the target cell again, hover over the small green square at the bottom-right corner (the fill handle), and double-click or drag it down to apply the corrected formula to the rest of the column.

Use the Modern RANK.EQ Function
Utilize RANK.EQ, the modern equivalent of the legacy RANK function, alongside absolute references for better compatibility with newer spreadsheet software.
Easily Rank and Analyze Data with WPS Spreadsheet
WPS Spreadsheet fully supports the RANK, RANK.EQ, and RANK.AVG functions. It offers an intuitive interface to handle basic and complex data analysis seamlessly.
- 1. Open your data in WPS Spreadsheet: Launch WPS Office and open your .xlsx file containing the numbers you need to rank.
- 2. Insert the RANK formula: Select an empty cell, type `=RANK(`, and click the first cell in your dataset.
- 3. Lock the range and apply: Select the entire data range, press `F4` to apply absolute references, press `Enter`, and drag the formula down to automatically rank all items.

Frequently Asked Questions
Why do two different numbers get the same rank in Excel?
If your ranking range reference isn't locked using dollar signs (e.g., $E$4:$E$15), the evaluated range shifts downwards as you drag the formula. This causes different numbers to be evaluated against entirely different subsets of data, leading to duplicate or wildly incorrect ranks.
What happens if there is an actual tie in my data?
By default, both the RANK and RANK.EQ functions will assign the same top rank to identical values. For example, if two values share the 3rd place, both get rank 3. The next value in the list will then be assigned rank 5, skipping rank 4.
How do I rank values in ascending order instead?
The RANK function evaluates in descending order (highest value gets rank 1) by default. If you want to rank in ascending order (lowest value gets rank 1), add a `1` as the third argument in your formula: `=RANK(E4, $E$4:$E$15, 1)`.




