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

Data Analysis

  • How to Create Column Chart in Excel
  • How to combine 2 or more chart types in a single chart in Excel
  • Excel Bar Chart
  • How to Create Gantt Chart in Excel
  • How to create dynamic reference table name in Excel

References

  • Count rows with at least n matching values
  • Complete List of Excel Lookup and Reference Functions, References and Examples
  • How to reference named range different sheet in Excel
  • Approximate match with multiple criteria in Excel
  • INDEX function: Description, Usage, Syntax, Examples and Explanation

Data Validations

  • Excel Data validation must contain specific text
  • Excel Data validation no punctuation
  • Excel Data validation must not contain
  • Excel Data validation must begin with
  • Data validation must not exist in list

Excel Rank without ties Example

by

This tutorials shows how to Rank numbers without  ties  in Excel.

To assign rank without ties, you can use a formula based on the RANK and COUNTIF functions.

Formula

=RANK(A1,range)+COUNTIF(exp_range,A1)-1

Explanation

In the example shown, the formula in E5 is:

=RANK(C5,points)+COUNTIF($C$5:C5,C5)-1

where “points” is the named range

How this formula works

This formula breaks ties with a simple approach: this first tie in a list “wins” and is assigned the higher rank. The first part of the formula uses the RANK function normally:

=RANK(C5,points)

Rank returns a computed rank, which will include ties when the values being ranked include duplicates. Note the the RANK function by itself will assign the same rank to duplicate values, and skip the next rank value. You can see this in the Rank 1 column, rows 8 and 9 in the worksheet.

The second part of the formula breaks the tie with COUNTIF:

COUNTIF($C$5:C5,C5)-1

Note the range we give COUNTIF is an expanding reference: the first reference is absolute and the second is relative. As long as a value appears just once, this expression cancels itself out – COUNTIF returns 1, from which 1 is subtracted.

However, when a duplicate number is encountered, COUNTIF returns 2, the expression returns 1, and the rank value is increased by 1. Essentially, this “replaces” the rank value that was skipped originally.

The same process repeats as the formula is copied down the column. If another duplicate is encountered, the rank value is increased by 2, and so on.

Post navigation

Previous Post:

Number and Text Filters Examples in Excel

Next Post:

Convert date string to date time 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

  • TRUE function: Description, Usage, Syntax, Examples and Explanation
  • Invoice status with nested if in Excel
  • Complete List of Excel Logical Functions, References and Examples
  • How to use Excel XOR Function
  • Check multiple cells are equal in Excel

Date Time

  • Add decimal minutes to time in Excel
  • How to calculate nth day of year in Excel
  • Count holidays between two dates in Excel
  • Get last day of month in Excel
  • How to calculate Next working/business day in Excel

Grouping

  • If cell contains one of many things in Excel
  • Running count group by n size in Excel
  • Calculate conditional mode with criteria in Excel
  • Group arbitrary text values in Excel
  • How to randomly assign people to groups in Excel

General

  • Excel Autofill Cell Ranges, Copy, Paste
  • Find, Select, Replace and Go To Special in Excel
  • How to calculate percentage of total in Excel
  • Common Errors in Excel
  • Delete Blank Rows at Once in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning