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

Data Analysis

  • How to count table columns in Excel
  • What-If Analysis: Scenarios and Goal Seek in Excel
  • Everything about Charts in Excel
  • Conditional Formatting Icon Sets Examples in Excel
  • Get column index in Excel Table

References

  • How to get relative column numbers in a range in Excel
  • Excel Advanced Lookup using Index and Match Functions
  • To count total rows in a range in Excel
  • How to use Excel ROWS Function
  • Get nth match with INDEX / MATCH in Excel

Data Validations

  • Excel Data validation allow weekday only
  • Excel Data validation specific characters only
  • Excel Data validation unique values only
  • Excel Data validation allow uppercase only
  • Excel Data validation require unique number

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.

Worked Example:   Excel Get integer part of a number Example

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.

Worked Example:   Count total matches in two ranges in Excel

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.

Worked Example:   Highlight duplicate rows in Excel

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

  • NOT function: Description, Usage, Syntax, Examples and Explanation
  • Check multiple cells are equal in Excel
  • Return blank if in Excel
  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • Extract multiple matches into separate rows in Excel

Date Time

  • Get project end date in Excel
  • Get last working day in month in Excel
  • Calculate number of hours between two times in Excel
  • Convert decimal seconds to Excel time
  • How to calculate quarter from date in Excel

Grouping

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

General

  • How to Delete Cells, Row and Rows in Excel
  • Index and match on multiple columns in Excel
  • Advanced Number Formats in Excel
  • Spell Check in Excel
  • How to fill cell ranges with random text values in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning