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
- 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
May be interested
- How to use the IF function in Excelthe if function in excel checks for a true or false condition. if the condition is true, the function returns a value, if the condition fails the function returns another value
- F.TEST function - The function returns the result of the F - test in Excelf.test: the function returns the result of the f - test, the probability of two ends where the variance of 2 arrays is not significant. support functions from excel 2010 version. syntax: f.test (array1, array2)
- GAMMA function - The function returns the gamma function value in Excelgamma: the function returns the gamma function. support functions from excel 2013 onwards. syntax: gamma (number)
- POISSON.DIST function - The function returns the Poisson distribution in Excelpoisson.dist function: the function returns the poisson distribution, the application function to predict the number of events in a specific time. support functions from excel 2013 onwards. syntax: poisson.dist (x, mean, cumulative)
- WEIBULL function - The function returns the Weibull distribution in Excelthe function performs the calculation and returns the weibull distribution. based on this distribution to analyze reliability in theory such as calculating the average life of the device or used in the field of meteorology, hydrology and weather forecast.
- QUARTILE.EXC function - The function returns the quartile of a dataset without values 0 and 1 in Excelquartile.exc function: the function returns the quartile of the data set, with percentile values from 0 to 1 excluding 0 and 1. the support function is from excel 2010 onwards. syntax: quartile.exc (array, quart)
- PHI function - The function returns the value of the density function for a normal distribution in Excelphi function: the function returns the value of the density function for a standard normal distribution. support functions from excel 2013 onwards. syntax: phi (x)
- FORECAST function - The function returns a value along a linear trend in Excelforecast function: the function performs the calculation or prediction of a future value by using current values using linear regression. in excel 2016 this function is replaced by forecast.linear function. syntax: forecast (x, known_ys, known_xs)
- BETA.DIST function - The function returns the Beta distribution in Excelbeta.dist function: the function returns the beta distribution to study the variability of a number of things through a sample. support functions from excel 2010 onwards. syntax: beta.dist (x, alpha, beta, cumulative, [a], [b])
- How to use the IFS function in Excel 2016the ifs function in excel is a logical function introduced in excel 2016. this function is a function that replaces the nested if function and is much easier to use. the ifs function checks one or more conditions and returns a value that meets the first true condition.