The Excel PERCENTILE Function

Related Function:


The k'th percentile of a range of data is the value that k% of the data values fall within.

This is explained in more detail on the Wikipedia Percentile page

In Excel 2010, the PERCENTILE function has been renamed the PERCENTILE.INC function.

Although it has been replaced, the Percentile function is still available in Excel 2010 & Excel 2013 (stored in the list of compatibility functions), to allow compatibility with earlier versions of Excel.

Basic Description

The Excel PERCENTILE function returns the k'th percentile of a supplied range of values for a given value of k.

The format of the function is :

PERCENTILE( array, k )

Where the function arguments are:

array - The range of data values for which you want to calculate the k'th percentile
k - The value (between 0 and 1) of the required percentile

Percentile Function Examples

The spreadsheets below show examples of the Excel Percentile function used to calculate the k'th percentile of a set of values in cells A1 - A6 of the sample spreadsheet, for different values of k.

  A B
1 2 =PERCENTILE( A1:A6, 0.2 )
2 1 =PERCENTILE( A1:A6, 60% )
3 6 =PERCENTILE( A1:A6, 50% )
4 4  
5 3  
6 5  
  A B
1 2 2
2 1 4
3 6 3.5
4 4  
5 3  
6 5  

Note that in the above examples:

For further examples of the Excel Percentile function, see the Microsoft Office website

Percentile Function Errors

If you get an error from the Excel Percentile function this is likely to be one of the following:

Common Errors
#NUM! - Occurs if the supplied value of k is less than 0 or greater than 1
#VALUE! - Occurs if the supplied value of k is non-numeric
Return to the Excel Statistical Functions Page

Return to the List of All Built-In Excel Functions