Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Calculate Conditional Percentile ‘IF’ in table in Excel
  • How To Filter Data in Excel
  • Filter Data Based on Date in Excel
  • Managing Conditional Formatting Rules in Excel
  • Example of COUNTIFS with variable table column in Excel

References

  • Two-way lookup with VLOOKUP in Excel
  • Extract data with helper column in Excel
  • How to get last column number in range in Excel
  • Last row number in range
  • Count rows with at least n matching values

Data Validations

  • Excel Data validation exists in list
  • Excel Data validation only dates between
  • Excel Data validation must begin with
  • Excel Data validation whole percentage only
  • Excel Data validation no punctuation

How to Use RANK function in Excel

by

The RANK function returns the rank of a number in a list of numbers. RANK gives duplicate numbers the same rank.

This tutorials shows how to rank a set of numeric values, where the highest value is ranked #1 in Excel.

To achieve this you can use the RANK function.

Formula

=RANK(value,data)

See Examples of  Excel Rank function  below:

1. If the third argument is omitted (or 0), Excel ranks the largest number first, second largest number second, etc.

Note: when we drag the RANK function down, the absolute reference ($A$1:$A$9) stays the same, while the relative reference (A1) changes to A2, A3, A4, etc.

2. If the third argument is 1, Excel ranks the smallest number first, second smallest number second, etc.

3. Use the RANK.AVG function to return the average rank if more than one number has the same rank.

4.

Explanation

In the example shown, the formula in D6 is:

=RANK(C6,scores)

Where scores is the named range C6:C13.

How this formula works

You can use the RANK function to rank numeric values.

RANK has two modes of operation: ranking values where the largest value is #1 (order = 0), and ranking values where the lowest value is #1 (order = 1).

In this case, we are ranking test scores, so the highest value should rank #1, so we omit the order argument, which defaults to zero:

=RANK(C6,scores)

The following formula, which includes order set to zero, is equivalent:

=RANK(C6,scores,0)

Post navigation

Previous Post:

DECIMAL function: Description, Usage, Syntax, Examples and Explanation

Next Post:

AVERAGE function: Description, Usage, Syntax, Examples and Explanation

Leave a Reply Cancel reply

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

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • How to use Excel NOT Function
  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • IF function: Description, Usage, Syntax, Examples and Explanation
  • FALSE function: Description, Usage, Syntax, Examples and Explanation
  • IF with boolean logic in Excel

Date Time

  • How to calculate nth day of year in Excel
  • Get project end date in Excel
  • Get days between dates in Excel
  • Count birthdays by month in Excel
  • Display Date is workday in Excel

Grouping

  • Categorize text with keywords in Excel
  • How to randomly assign data to groups in Excel
  • Group arbitrary text values in Excel
  • Group times into 3 hour buckets in Excel
  • Running count group by n size in Excel

General

  • Zoom Worksheet in Excel
  • How to create dynamic worksheet reference in Excel
  • Flash Fill in Excel
  • How to password protect excel sheet?
  • How to calculate percentage discount in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning