How to Calculate Weighted Ranking in Excel


A weighted rank represents the rank of some observation in a dataset that has been weighted by various factors.

For example, suppose you would like to rank basketball players from best to worst and you have several factors to consider for each player including:

  • Points
  • Assists
  • Rebounds

The following example shows how to calculate weighted ranks in Excel for this exact scenario.

Example: How to Calculate Weighted Ranking in Excel

First, we will create the following dataset that summarizes the points, assists and rebounds for various basketball players along with the weights that each of these factors should be given when ranking the players:

Note: The value for the weights must add up to 1.

Next, we will calculate a weighted average for player using the weights for each factor and the individual values for each player.

We will type the following formula into cell E3:

=SUMPRODUCT(B3:F3, $B$2:$F$2)

We can then click and drag this formula down to the remaining cells in column E:

From the results we can see:

  • Andy has a weighted average of 19.2.
  • Bob has a weighted average of 14.8.
  • Chad has a weighted average of 23.8.
  • Doug has a weighted average of 26.
  • Eric has a weighted average of 19.4.

Next, we can type the following formula into cell F3 to assign a weighted ranking to each player:

=RANK(E3, $E$3:$E$7)

We can then click and drag this formula down to the remaining cells in column F:

Excel calculate weighted ranking

The player with the highest weighted average is given a rank of 1 while the player with the lowest weighted average is given a rank of 5.

We can see that Doug has a rank of 1, so we would consider him to be the “best” player.

If you would instead like to assign a rank of 1 to the player with the lowest weighted average, you can use the following formula instead:

=RANK(E3, $E$3:$E$7, 1)

The following screenshot shows how to use this formula in practice:

Now the player with the highest weighted average is given a rank of 5 while the player with the lowest weighted average is given a rank of 1.

Additional Resources

The following tutorials explain how to perform other common tasks in Excel:

How to Calculate a Weighted Percentage in Excel
How to Find Weighted Moving Averages in Excel
How to Calculate Weighted Standard Deviation in Excel

2 Replies to “How to Calculate Weighted Ranking in Excel”

  1. Thanks for this! I have a question.instead of taking a weighted average of the variables before ranking, can we instead rank each of the variables separately in three columns, then take a weighted average rank for a final fourth total rank column? Would this be inaccurate? I am using this for financial ratios for stock analysis.

    1. Hi Noah…You’re very welcome, and that’s a great question. Yes, you absolutely *can* rank each variable (or financial ratio) in separate columns first, then take a weighted average of those individual ranks to get a final score. In fact, this approach is quite common in financial modeling and stock screening.

      Here’s how it works:

      1. You calculate a rank for each metric across all the stocks. For example, rank the companies based on P/E ratio in one column, ROE in another, and debt-to-equity in a third.
      2. Then, assign weights to each of those ranks depending on how important you think each metric is.
      3. In a new column, calculate the weighted average of the ranks.
      4. Finally, rank this weighted average to get your overall stock ranking.

      This method can actually be more robust in some cases because it helps normalize different metrics. Some financial ratios can be on very different scales or distributions, and ranking them individually avoids skewing the final score due to one metric dominating the average.

      So to answer your question directly—no, it’s not inaccurate. It’s just a different, and often very practical, way to approach weighted ranking. Just make sure your ranks are consistent (e.g., rank 1 is always best), and that the direction of the metrics aligns with your goal (lower P/E is better, higher ROE is better, etc.).

Leave a Reply

Your email address will not be published. Required fields are marked *