Syntax
=RANK.EQ(number, ref, [order])Arguments
| Argument | Required | Description |
|---|---|---|
number | Required | The number to rank |
ref | Required | The list of numbers |
order | Optional | 0 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 =RANK.EQ(2, {7,3.5,3.5,1,2})Result =RANK.EQ(3.5, {7,3.5,3.5,1,2}, 1)Result Related statistical functions
- PROBReturns the probability that values fall between two limits, given the probability of each value.
- QUARTILE.EXCReturns a quartile of the values using exclusive percentiles: 1, 2 or 3.
- QUARTILE.INCReturns a quartile of the values: 0 minimum, 1 first quartile, 2 median, 3 third quartile, 4 maximum.
- RANK.AVGReturns the rank of a number in a list; equal values get the average of their ranks.
- RSQReturns the square of the correlation coefficient (the R squared of a straight line fit).
- SKEWReturns the skewness of a sample (how lopsided the distribution is).
- SKEW.PReturns the skewness of a whole population.
- SLOPEReturns the slope of the straight line that best fits the data.
- SMALLReturns the k-th smallest number in a list.