RANK.EQ

rank of a number, top rank for ties · from excel · excel: not yet compared · sheets: not yet compared

signature

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

returns: number

argumentrequired
number required
ref required
order optional · defaults to 0

examples

formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.

B
1 2
2 4
3 6
4 8
5 10
fx =RANK.EQ(2, B1:B10) 5

errors

error values observed from the engine — each with a call that produces it.

errorproduced by
#N/A =RANK.EQ(1, A1:A3)

related

  • AVEDEV average of absolute deviations from the mean
  • AVERAGE.WEIGHTED average of values weighted by a second range
  • AVERAGEA averages values including text and logicals
  • AVERAGEIF averages cells that match a condition
  • AVERAGEIFS averages cells matching multiple conditions
  • BETA.DIST beta distribution