PERCENTRANK function - The function returns the rank of the value in Excel
In sorting and statistical data, you often have to rank the objects according to a certain criteria. The following article details how to use the PERCENTRANK function to find the rank of the value.
Description: The function returns the rank of a value in a dataset according to a certain criteria. For example, use the PERCENTRANK function to evaluate the exam results of candidates in the exams.
Syntax: PERCENTRANK (array, x, [significance]) .
Inside:
- array: An array of data or data range containing the data to be evaluated, a required parameter.
- x: The value you want to determine rank, is a required parameter.
- significance: Optional parameter used to specify the number of digits returned by the percentage value, if omitting the default value of 3 digits after the comma (0, xxx).
Attention:
- If the array value is empty, the function returns the #NUM! Error value.
- If significance
- Where the value of x does not match the comparison values in the array function PERCENTRANK perform interpolation to return the appropriate value.
Example 1:
Find the rank of the value 25 by using PERCENTRANK with the following table:
In the cell to calculate enter the formula: = PERCENTRANK (D13: L13, D14) .
Pressing Enter results as:
Here the value 25 in the data array has 1 value less than 25 and 7 values greater than 25 => percent rank of 25 equals 1 / (1 + 7) = 0.125.
Example 2:
The value to calculate the percentage rank is not in the data array.
For example, find the percentage rank of the value 15 in the data array:
In the cell to calculate enter the formula = PERCENTRANK (D13: L13, D14) press Enter the result is:
In this example, calculate the PERCENTRANK of two adjacent values of 15, 14 and 18.
The value 15 not in the data array should be calculated based on its two nearest neighbors based on PERCENTRANK values of 14 and 18:
- PERCENTRANK (14) = 0.5
- PERCENTRANK (18) = 0.625
=> PERCENTRANK (15) = 0.5 + (0.25 * (0.625-0.0.5)) = 0.531
So if the value to find the percentage rank is not in the array of functions, take the nearest neighbor value and the number of parts equal to the distance between the two neighbors.
The above article details the usage as well as special cases of PERCENTRANK function .
Good luck!
You should read it
- PERCENTRANK.INC function - The function returns the rank of a value in a dataset as a percentage including values 0 and 1 in Excel
- PERCENTRANK.EXC function - The function returns the rank of a value in a dataset as a percentage excluding values 0 and 1 in Excel
- RANK.AVG function - The function returns the rank of a number in a list of numbers in Excel
- RANK.EQ function - Function returns the rank of a number in a list of numbers, returns the highest rank when multiple values with the same rank in Excel
- The use of the RANK function in excel
- How to use the RANK function in Excel
- RANK function - Rank function in Excel - Usage and examples
- How to rank on Excel with RANK function
- How to use the IF function in Excel
- How to use the IFS function in Excel 2016
- CHISQ.TEST function - The function returns the independence test in Excel
- OR function in Excel, how to use the OR function, and examples
Maybe you are interested
AMD has surpassed Intel in brand value
SQL way to count NULL and NOT NULL values in a column
Comparing Odroid-N2+ and Raspberry Pi 4: Which option offers better value?
How to receive free gifts from IObit with a total value of nearly 150,000 USD
Write a program to find duplicate values in Python
Write a program to check duplicate values in Python