1. Home
  2. Functions
  3. Statistical
  4. RANK.EQ

RANK.EQ function

Returns the rank of a number in a list; equal values share the top rank.

Syntax

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

Arguments

ArgumentRequiredDescription
numberRequiredThe number to rank
refRequiredThe list of numbers
orderOptional0 or left out for descending, any other number for ascending

How to use RANK.EQ

RANK.EQ takes 2 required arguments and 1 optional argument. Type =RANK.EQ( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=RANK.EQ(7, {7,3.5,3.5,1,2}, 1)Result 5
=RANK.EQ(2, {7,3.5,3.5,1,2})Result 4
=RANK.EQ(3.5, {7,3.5,3.5,1,2}, 1)Result 3

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.