The Excel QUARTILE.INC Function

Related Functions:
PERCENTILE.INC
QUARTILE.EXC
QUARTILE.INC & QUARTILE.EXC Functions

The Quartile.Inc and Quartile.Exc functions both find a requested quartile of a supplied data set.

The difference between these two functions is that the Quartile.Inc function bases its calculation on a percentile range of 0 to 1 inclusive, whereas the Quartile.Exc function bases its calculation on a percentile range of 0 to 1 exclusive.

Function Description

The Excel Quartile.Inc function returns a requested quartile of a supplied range of values, based on a percentile range of 0 to 1 (inclusive).

The function is new in Excel 2010 and so is not available in earlier versions of Excel. However, Quartile.Inc is simply an updated version of the old Quartile function, which is available in earlier versions of Excel.

The syntax of the Quartile.Inc function is:

QUARTILE.INC( 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 requested quartile falls between two of the values in the supplied array, Excel interpolates between these values to calculate the quartile value.

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


Quartile.Inc Function Examples

In column B of the spreadsheet below, the Excel Quartile.Inc function is used to calculate the quartiles of the set of values 0 - 6 (stored in cells A1-A7 of the example spreadsheet).

 Formulas:
  A B
1 2 =QUARTILE.INC( A1:A7, 0 )
2 1 =QUARTILE.INC( A1:A7, 1 )
3 6 =QUARTILE.INC( A1:A7, 2 )
4 4 =QUARTILE.INC( A1:A7, 3 )
5 3 =QUARTILE.INC( A1:A7, 4 )
6 5  
7 0  
 Results:
  A B
1 2 0
2 1 1.5
3 6 3
4 4 4.5
5 3 6
6 5  
7 0  

Note that in the above examples:


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


Quartile.Inc Function Errors

If you get an error from the Excel Quartile.Inc 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
or
  • The supplied array is empty.
#VALUE! - Occurs if the supplied value of quart is non-numeric.