QUARTILE Function

Basic Description

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

Syntax: 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:

  • 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
  • The 4th quartile is the same as the 100th percentile (and is equal to the maximum value in the range)

 

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.

 Formulas:

Examples of use of the Excel Quartile Function

 Results:

Excel Quartile Function Results

Note that in the above examples:

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

 

Quartile Function Errors

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

#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 cannot be interpreted as a numeric value

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*

code

clearPost Comment