What is the PERCENTILE Function?
The PERCENTILE function is categorized under Statistical functions. PERCENTILE will return the k-th percentile of the values in a particular range.
In corporate finance, we can use the function to analyze the number of employees who scored above a certain percentile in a test.
In MS Excel 2010, the PERCENTILE function was replaced by the PERCENTILE.INC function. However, PERCENTILE is still available in current versions of Excel (stored in the list of compatibility functions).
The PERCENTILE function uses the following arguments:
- Array (required argument) – It is the array or range of data that defines the relative standing.
- k (required argument) – It is the percentile value in the range 0..1, inclusive.
How to use the PERCENTILE Function in Excel?
As a worksheet function, PERCENTILE can be entered as part of a formula in a cell of a worksheet. To understand the uses of the function, let us consider an example:
Suppose we are given the following data:
We will use several formulas to understand what we will get. The first formula we use is PERCENTILE(B5:B10,0.1):
We get the results below:
The value of k can be entered as a decimal or a percentage. So here, the value 0.1 in cell B12 is the same as 10% (the 10th percentile).
If we use the formula PERCENTILE(B5:B10,50%), as shown below:
We get the result below:
Here, the 50th percentile in cell B13 falls halfway between the values of 3 and 4. Therefore, Excel interpolated to produce the result 3.5.
Few notes about the PERCENTILE function:
- #NUM! error – Occurs if either:
- The supplied value of k is less than 0 or greater than 1; or
- The supplied array is empty.
- #VALUE! error – Occurs if the supplied value of k is non-numeric.
- If k is not a multiple of 1/(n – 1), PERCENTILE interpolates to determine the value at the k-th percentile.
Thanks for reading CFI’s guide to important Excel functions! By taking the time to learn and master these functions, you’ll significantly speed up your financial analysis and Excel modeling. To learn more, check out these additional resources: