# How to Use Excel RANK.EQ Function?

RANK.EQ Function: Microsoft Excel is a powerful data visualization and analysis program used all around the world. It uses spreadsheets to store, organize, or perform operations with formulas and functions. If you want to get a rank of a number against a set of numerical values, we suggest you use the Excel RANK.EQ function.

In this guide, you will learn the usage of Excel RANK.EQ Function with its syntax, explanation, and examples. Get an official version of MS Excel from the following link:

https://www.microsoft.com/en-in/microsoft-365/excel

## Description of RANK.EQFunction

• It is one of the built-in functions in Microsoft Excel.
• This function returns the rank of a number from a list of numerical values.
• If more than one value has the same rank, this function will assign a higher rank to them.

## Syntax

• Here, you will see the syntax of the RANK.EQ function.
• To apply this function on your spreadsheet, you have to select a cell and enter the formula in the following format.
• Once you enter the formula, just click on the button to get the result.

=RANK.EQ(number, ref, [order])

Arguments Explanation:

• Number –  The number to rank.
• Ref – It is the array that contains a set of numeric values. If any non-numeric value given as a ref argument, this function will ignore it.
• Order – It is an optional one. If the order is 0 or omitted, it will sort the array in descending order. If the order is a non-zero value and then it will sort the array in ascending order.

Note:
1) If either of the arguments is non-numeric and then this function returns #VALUE! Error.
2) If there are no arguments in the array, it will return #N/A! Error.

## Examples

Let’s see some examples to understand how RANK.EQ Function will work.

• Initially, you have to open your Excel workbook on your PC and launch a worksheet that has data.
• For example, we have shown you a student’s marks in the range B3:B9 and we will get the rank of each number in the range using the RANK.EQ function.
• Then, we have to apply the above-mentioned formula to get the result, as shown in the following screenshot.
• Finally, we need to click on the button to get the result. Then, you will need to drag down the first cell to fill the remaining range of cells.
• If either of the arguments is non-numeric and then this function returns #VALUE! Error.

From the above example, you can see that the RANK.EQ function does not accept any non-numerical values as input. If you use any non-numerical value, then it returns the #VALUE! Error.

## Summary

In this guide, you can clearly learn the usage of Excel RANK.EQ Function with its syntax, explanation, and examples. Share your feedback in the comment section. To learn more about Excel functions, then visit our webpage Aawexcel.com.

## Video Tutorial

The following video will show you how to use Excel RANK.EQ function in the spreadsheet.