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

Data Analysis

  • How To Load Analysis ToolPak in Excel
  • How to do a t-Test in Excel?
  • How To Remove Duplicates In Excel Column Or Row?
  • How to Create Area Chart in Excel
  • How to calculate average last N values in a table in Excel

References

  • Lookup entire row in Excel
  • How to use Excel LOOKUP Function
  • Left Lookup in Excel
  • How to get relative row numbers in a range in Excel
  • Last row number in range

Data Validations

  • Excel Data validation must not contain
  • Excel Data validation allow weekday only
  • Excel Data validation with conditional list
  • Prevent invalid data entering in specific cells
  • Data validation must not exist in list

RANK.EQ function: Description, Usage, Syntax, Examples and Explanation

by

 What is RANK.EQ function in Excel?

RANK.EQ function  is one of Statistical functions in Microsoft Excel that  returns the rank of a number in a list of numbers. Its size is relative to other values in the list; if more than one value has the same rank, the top rank of that set of values is returned.
If you were to sort the list, the rank of the number would be its position.

Syntax of RANK.EQ function

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

The RANK.EQ function syntax has the following arguments:

  • Number: The number whose rank you want to find.
  • Ref: An array of, or a reference to, a list of numbers. Non-numeric values in Ref are ignored.
  • Order (Optional):  A number specifying how to rank number.

Explanation of RANK.EQ function

  • If Order is 0 (zero) or omitted, Excel ranks Number as if Ref were a list sorted in descending order.
  • If Order is any nonzero value, Excel ranks Number as if Ref were a list sorted in ascending order.
  • RANK.EQ gives duplicate numbers the same rank. However, the presence of duplicate numbers affects the ranks of subsequent numbers. For example, in a list of integers sorted in ascending order, if the number 10 appears twice and has a rank of 5, then 11 would have a rank of 7 (no number would have a rank of 6).
  • For some purposes one might want to use a definition of rank that takes ties into account. In the previous example, you would want a revised rank of 5.5 for the number 10. This can be done by adding the following correction factor to the value returned by RANK.EQ. This correction factor is appropriate both for the case where rank is computed in descending order (order = 0 or omitted) or ascending order (order = nonzero value).Correction factor for tied ranks=[COUNT(ref) + 1 – RANK.EQ(number, ref, 0) – RANK.EQ(number, ref, 1)]/2.In the example in the workbook, RANK.EQ(A3,A2:A6,1) equals 3. The correction factor is (5 + 1 – 2 – 3)/2 = 0.5 and the revised rank that takes ties into account is 3 + 0.5 = 3.5. If number occurs only once in ref, the correction factor will be 0, since RANK.EQ would not have to be adjusted for a tie.

Example of RANK.EQ function

Steps to follow:

1. Open a new Excel worksheet.

2. Copy data in the following table below and paste it in cell A1

Note: For formulas to show results, select them, press F2 key on your keyboard and then press Enter.

You can adjust the column widths to see all the data, if need be.

Data
7
3.5
3.5
1
2
Formula Description Result
=RANK.EQ(A2,A2:A6,1) Rank of 7 in the list contained in the range A2:A6. Because the Order argument (1) is a non-zero value, the list is sorted lowest to highest. 5
=RANK.EQ(A6,A2:A6) Rank of 2 in the same list. Because the Order argument is omitted, the list is sorted, by default, highest to lowest. 4
=RANK.EQ(A3,A2:A6,1) Rank of 3.5 in the same list. 3

Post navigation

Previous Post:

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

Next Post:

231 Keyboard Shortcut Keys In Excel

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

  • IF function: Description, Usage, Syntax, Examples and Explanation
  • AND function: Description, Usage, Syntax, Examples and Explanation
  • Extract multiple matches into separate rows in Excel
  • How to use Excel AND Function
  • Return blank if in Excel

Date Time

  • Sum race time splits in Excel
  • Get days between dates in Excel
  • Convert date to Julian format in Excel
  • Generate series of dates by weekends in Excel
  • HOUR function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Categorize text with keywords in Excel
  • Map text to numbers in Excel
  • Map inputs to arbitrary values in Excel
  • Group arbitrary text values in Excel
  • If cell contains one of many things in Excel

General

  • Print Excel Sheet In Landscape Or Portrait
  • How to get original price from percentage discount in Excel
  • How to set or clear a print area in Excel Worksheet
  • Subtotal by color in Excel
  • How to calculate percent of goal in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning