tech on the net
Home About Us Feedback Site Map


Access Excel Word


SQL Oracle / PLSQL SQL Server MySQL MariaDB PostgreSQL

Web Development

HTML CSS Color Picker


C Language


ASCII Table Linux UNIX Java Clipart Joke of the Moment

Excel Functions

(Scroll to see more)

Share this page:

MS Excel: PERCENTILE Function (WS)

Learn how to use the Excel PERCENTILE function with syntax and examples.


The Microsoft Excel PERCENTILE function returns the nth percentile from a set of values.


The syntax for the Microsoft Excel PERCENTILE function is:

PERCENTILE( array, nth_percentile )

Parameters or Arguments

array is a range or array from which you want to return the nth percentile.

nth_percentile is the percentile value. It can be a value between 0 and 1.


  • If nth_percentile is not a numeric value, the PERCENTILE function will return the #VALUE! error.
  • If nth_percentile is a value greater than 1 or less than 0, the PERCENTILE function will return the #NUM! error.

Applies To

The PERCENTILE function can be used in the following versions of Microsoft Excel:

  • Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000

Type of Excel Function

The PERCENTILE function can be used in Microsoft Excel as the following type of function:

  • Worksheet function (WS)

Example (as Worksheet Function)

Let's look at some Excel PERCENTILE function examples and explore how to use the PERCENTILE function as a worksheet function in Microsoft Excel:

Microsoft Excel

Based on the spreadsheet above, the following Excel PERCENTILE examples would return:

=PERCENTILE(A2:A6, 0.5) would return 8.1
=PERCENTILE(A2:A6, 0.8) would return 48.4
=PERCENTILE({1,2,3,4}, 0.8) would return 3.4
=PERCENTILE({1,2,3,4}, 0.75) would return 3.25
=PERCENTILE({7,8,9,20}, 0.35) would return 8.05