Excel Functions Tutorials
- Statistical Function in Excel
- AVERAGE Excel Function
- Average Formula in Excel
- AverageIF in Excel
- AVERAGEIFS Function in Excel
- CORREL Excel Function
- Correlation Matrix in Excel
- Correlation vs Covariance
- COUNT Excel Function
- Count Formula in Excel
- COUNTA Excel Function
- COUNTIF Excel Function
- COUNTIF Formula in Excel
- COUNTIFS Function in Excel
- COUNTIF with Multiple Criteria
- COUNTIF Examples
- FORECAST Excel Function
- Forecast Formula in Excel
- FREQUENCY Excel Function
- Frequency Formula in Excel
- GROWTH Excel Function
- Growth Formula in Excel
- LARGE Excel Function
- LINEST Excel Function
- Linear Regression in Excel
- Lognormal Distribution in Excel
- MAX Excel Function
- Max Excel Formula
- Mean vs Median
- MEDIAN Excel Function
- MEDIAN Formula in Excel
- MIN in Excel
- MODE Excel Function
- NORM.S.INV Function in Excel
- NORMDIST in Excel
- PERCENTILE Excel Function
- Percentile Formula in Excel
- Percentile Rank Formula
- Poisson Distribution in Excel
- P-Value in Excel
- QUARTILE Excel Function
- RANK Function in Excel
- SLOPE Function in Excel
- SMALL Function in Excel
- Standard Deviation in Excel
- Standard Deviation Formula in Excel
- TREND Function in Excel
- T-TEST in Excel
- Chi Square Test in Excel
- Variance vs Standard Deviation
- Weibull Distribution in Excel
- Financial Functions in Excel (17+)
- Logical Functions in Excel (15+)
- TEXT Functions in Excel (29+)
- Lookup Reference in Excel (44+)
- Maths Functions in Excel (52+)
- Date and Time Function in Excel (22+)
- Information Functions in Excel (5+)
- Excel Charts (48+)
- Excel Tools (98+)
- Excel Tips (178+)
- VBA (162+)
Percentile Formula in Excel (Table of Contents)
Excel Percentile Formula
The Syntax for PERCENTILE formula in excel is as follows:
The PERCENTILE formula in excel has the following arguments:
- Array: Represents the array of data values for which k’th percentile is to be calculated
- Argument2: Represents the value of required percentile. It should be a decimal number between 0 & 1. ‘k’ can also be specified as a percent using the ‘%’ character.
The k-th percentile is that number such that k% of all data values are less and (100-k)% are more than it.
The PERCENTILE formula in Excel calculates the ‘kth percentile’ for a given range of values and a given value of ‘k’. The function returns a value greater than or equal to specified percentile.
What is the Percentile Rank Formula in Excel?
A percentile is that number below which a given percentage of values in a list of values fall. It is a measure of an individual’s performance relative to others, i.e how one specific data value compares to the rest of the data. For instance, if a student’s score or marks is 50th, out of 100 students, then that means that the student’s score is better than other 50 students and so the percentile is 50%. It indicates that what percent of students that student is ahead of.
The general formula to find the percentile that corresponds to a given value x is:
Percentile value of x= ((No. of values less than x)/ (Total no. of values))*100
This function applies to Excel 2013, Excel 2016, Excel 2019, Excel 2007, Excel 2003, Excel 2000, Excel for Office 365, Excel 2011 for Mac, Excel XP.
We can think of using PERCENTILE function in many potential cases like:
- Creating or building a source of acceptance, or to set a threshold of acceptability or rejection
- If we wish to take a decision where we need to examine people who have scored above kth percentile
- Report standardized scores in tests or exams
- Calculating ranks among other students’ test scores
- Companies’ price earnings ratio, etc….
Two Different Ways to Insert PERCENTILE Formula in Excel
#1 – Click on the cell where percentile is to be computed, then type ‘=’ followed by ‘PERCENTILE, and enter the arguments for which percentile is desired.
#2 – Under the ‘Formulas’ bar, there is an icon of ‘Insert Function’. On clicking this, a dialog box appears that shows a list of excel functions.
- Select the function ‘’PERCENTILE’ and then click ‘OK’.
- On clicking ‘OK’, another dialog box appears that asks for arguments to be entered in the function. Enter the arguments and then click ‘OK’.
How to Use Percentile Formula in Excel? (with Examples)
Following are the ways with which excel PERCENTILE formula can be used.
If we wish to calculate 40th percentile of a list of values that are stored in cells A2: A6, then the PERCENTILE function would work as follows:
We can see in the above screenshot that the formula returns 40th percentile (4.8) of numerical cells in the range: A2: A6. This implies that 40% of the values (i.e 2 out of 5) in A2: A6 are lower than or equal to 4.8.
Now, let’s say in the below example we enter the value of ‘k’ as a percentage instead of decimal, then the Excel PERCENTILE function would work as follows:
The result is shown below:
We can see in the above screenshot that the formula returns the same result as in Example 1, with ‘k’ entered as a percentage.
Now, let’s say in Example 1 we enter the range or array directly as arguments, then PERCENTILE function in excel would work as follows:
The result is shown below:
If the value of ‘k’ entered is less than 0, then the excel PERCENTILE function would work as follows:
The result is shown below.
We can see in the above screenshot that when ‘k’ is less than 0 (-0.2), then the formula above returns #NUM! Error value.
If the value of ‘k’ entered is greater than 1, then the Excel PERCENTILE function would work as follows:
Now the result is as follows.
We can see in the above screenshot that when ‘k’ is greater than 1 (1.2), then the formula above returns #NUM! Error value.
If the value of ‘k’ entered is non-numeric, then the PERCENTILE function in Excel would work as follows:
Now the result is as follows:
We can see in the above screenshot that when ‘k’ is non-numeric (abc), then the formula above returns #VALUE! Error value.
Now if the supplied array entered as an argument to the function is empty, then the excel PERCENTILE function would work as follows:
Now the result is as follows:
We can see in the above screenshot that the supplied array i.e A2: A6, entered as an argument to the function is empty/blank, so in this case, the formula returns #NUM! Error.
Things to Remember
- PERCENTILE function is a built-in function in Excel and is categorized as a statistical excel function.
- PERCENTILE will interpolate when the value for specified percentile is between two values amongst the array values.
- Value of ‘k’ can be entered as a percentage or a decimal.
- PERCENTILE returns a numeric value.
- Excel PERCENTILE function returns the value of what a given percentile rank would be and not the percentile rank.
- If ‘k’ is non-numeric, then PERCENTILE function returns #VALUE! Error.
- If ‘k’ is less than 0 or greater than 1, then excel PERCENTILE function returns #NUM! Error.
- If supplied array entered as an argument to the function is empty, then PERCENTILE formula returns #NUM! Error.
- In the latest versions of Excel, when we enter or type PERCENTILE function in a cell, then two variants of PERCENTILE function appear PERCENTILE.EXC and PERCENTILE.INC. These two functions return kth percentile of values in the range 0-1, exclusive and inclusive respectively. The PERCENTILE function is same as PERCENTILE.INC function
- EXC function will interpolate when k is not a multiple of 1/(n+1), where n is the size of the input array entered as an argument to the function
- PERCENTILE function can be used as a worksheet function, and when entered as a worksheet function, it can be entered as a part of any other formula in the worksheet cell
- In the latest versions of Excel, PERCENTILE.INC function can also be used as a VBA function.
This has been a guide to PERCENTILE Formula in Excel. Here we discuss how to use the Percentile Rank Formula in Excel along with practical examples and downloadable excel template. You may learn more about excel from the following articles –