The Excel QUARTILE Function

Related Function:


The 1st, 2nd, 3rd or 4th quartile of a range of data is the value that 25%, 50%, 75% or 100% (respectively) of the data values fall within.

This is explained in more detail on the Wikipedia Quartile page


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

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

Basic Description

The Excel QUARTILE function returns a requested quartile of a supplied range of values.

The format of the function is :

QUARTILE( array, quart )

Where the function arguments are:

array - The range of data values for which you want to calculate the specified quartile
quart - An integer between 0 and 4, representing the required quartile.
(if the supplied value of quart is not an integer, it is truncated)

Note that the Excel Quartile function is closely related to the Excel Percentile function in that:

Quartile Function Examples

The spreadsheets below show examples of the Excel Quartile function used to calculate the quartiles of the set of values 0 - 6 (stored in cells A1 - A7 of the sample spreadsheet).

The formulas for the functions are shown in the spreadsheet on the left, and the results are shown in the spreadsheet on the right.

Examples of use of the Excel Quartile Function
Excel Quartile Function Results

Note that in the above examples:

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

Quartile Function Errors

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

Common Errors
#NUM! -

Occurs if either:

- the supplied value of quart is is < 0 or > 4
- the supplied array is empty
#VALUE! - Occurs if the supplied value of quart cannot be interpreted as a numeric value
Return to the Excel Statistical Functions Page

Return to the List of All Built-In Excel Functions

Valid XHTML 1.0 Transitional Valid CSS!
Disclaimer   Privacy Policy
Copyright © 2008-2015