Get instant live expert help with Excel or Google Sheets
“My Excelchat expert helped me in less than 20 minutes, saving me what would have been 5 hours of work!”

#### Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.

# How to use the Excel RANK function

We can use the RANK function to RANK VALUES from the highest to the lowest. The highest value is assigned as 1. The steps below will walk through the process.

Figure 1: How to use the Excel RANK function

## Syntax

`=RANK(value,data)`

• Value is the number we want to rank
• Data is the named range of the values

## Formula

`=RANK(C4,Marks)`

## Setting up the Data

We have subjects offered by a student in a semester. We will rank the marks obtained from the highest to the lowest.

• We will input the SUBJECTS in Column B
• We will input the MARKS into Column C
• Column D is where we want the RANK FUNCTION to return the result
• NoteWe must highlight Cell C4 to Cell C11 and click on the drop-down arrow where there is C3 in figure 2. We will name the range as “Marks” and press enter

Figure 2: Setting up the Data

## RANK Function

• We will click on Cell D4
• We will insert the formula below into the cell
`=RANK(C4,Marks)`
• We will press the enter key

Figure 3: Output for Cell D4 with the RANK Function

• We will click on Cell D4 again
• We will double-click on the fill handle (the small plus sign at the bottom right of Cell D4) and drag down to copy the formula into the other cells

Figure 4: Result for Column D with the RANK function

## Explanation

• The RANK Function checks the Marks in Column C and assigns numbers to them beginning with 1 from the highest to the lowest mark.

## Instant Connection to an Expert through our Excelchat Service

Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.

### Did this post not answer your question? Get a solution from connecting with the expert.

Another blog reader asked this question today on Excelchat:
Solution examples
im creating a fantasy hockey model and trying to figure out how to rank if someone has played more than a certain number of games, and if they're certain position how to rank them accordingly
Solved by X. D. in 60 mins
I cannot enter this formula into Excel. I get an error message asking for an apostrophe?IF(\$S2=0,"",IF(\$S2>0,RANK(\$S2,\$S\$2:\$S\$8000),RANK(\$S2,\$S\$2:\$S\$8000-COUNTIF(\$S\$2:\$S\$8000,0)))
Solved by B. W. in 20 mins

## Subscribe to Excelchat.co

Get updates on helpful Excel topics

## Did this post not answer your question? Get a solution from connecting with the expert

Another blog reader asked this question today on Excelchat:

#### Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.
Trusted by people who work at