# The Excel QUARTILE.EXC Function

Related Functions:
PERCENTILE.EXC
QUARTILE.INC
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.Exc function returns a requested quartile of a supplied range of values, based on a percentile range of 0 to 1 exclusive.

The function is new in Excel 2010 and so is not available in earlier versions of Excel.

The syntax of the Quartile.Exc function is:

QUARTILE.EXC( 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 1 and 3, representing the required quartile.(If quart = 1 or 3, the supplied array must contain more than 2 values).

Note that:

• The Quartile.Exc function can't calculate the 0'th or the 4'th quartile (as the calculation is based on the range 0 to 1 exclusive).
• If the requested quartile falls between two of the values in the supplied array, Excel interpolates between these values to calculate the quartile value.

The Quartile.Exc function is closely related to the Excel Percentile.Exc function in that:

• The 1st quartile is the same as the 25th percentile;
• The 2nd quartile is the same as the 50th percentile;
• The 3rd quartile is the same as the 75th percentile.

## Quartile.Exc Function Examples

In column B of the spreadsheet below, the Excel Quartile.Exc function is used to calculate the quartiles of the set of values 1 - 5 (stored in cells A1-A5 of the example spreadsheet).

Formulas:
AB
12=QUARTILE.EXC( A1:A5, 1 )
21=QUARTILE.EXC( A1:A5, 2 )
34=QUARTILE.EXC( A1:A5, 3 )
43
55
Results:
AB
121.5
213
344.5
43
55

Note that in the above examples:

• The 1st quartile (calculated in cell B2) falls between the values of 1 and 2. Therefore, Excel has interpolated the data, to produce the result 1.5;
• The 3rd quartile (calculated in cell B4) falls between the values of 4 and 5. Therefore Excel has interpolated the data, to produce the result, 4.5.

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

## Quartile.Exc Function Errors

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

Common Errors
 #NUM! - Occurs if either:The supplied value of quart is is < 1 or > 3orThe supplied array is emptyorThe supplied array has fewer than 3 values, and quart is equal to 1 or 3. #VALUE! - Occurs if the supplied value of quart is non-numeric.