QUARTILE.INC function
QUARTILE.INC splits data into quarters and returns the quartile you ask for, using the inclusive method. It is handy for box plots and spotting outliers.
Example
Read it as a sentence: find the first quartile of A1:A8 using the inclusive method, which gives 4.
Excel shows 4
A
1
2
2
4
3
4
4
4
5
5
6
5
7
7
8
9
Data
Syntax
QUARTILE.INC(array, quart)
-
array(required) - The data.
-
quart(required) - 0 minimum, 1 first quartile, 2 median, 3 third quartile, 4 maximum.
Returns: The requested quartile using the inclusive method.
What Excel actually returns
Each formula below was run in desktop Excel. The result is exactly what the cell showed, errors included.
| Formula | Excel shows | Case |
|---|---|---|
=QUARTILE.INC({1,2},1) | 1.25 | Small set (exc) |
=QUARTILE.INC(Data!A1:A8,1) | 4 | Quart 1 |
=QUARTILE.INC(Data!A1:A8,0) | 2 | Quart 0 |
=QUARTILE.INC(Data!A1:A8,2) | 4.5 | Quart 2 |
=QUARTILE.INC(Data!A1:A8,4) | 9 | Quart 4 |
=QUARTILE.INC(Data!A1:A8,1.9) | 4 | Fractional quart truncated |
=QUARTILE.INC(Data!A1:A8,5) | #NUM! | Quart 5 |
=QUARTILE.INC(Data!A1:A8,-1) | #NUM! | Quart -1 |
The Data sheet these formulas read
A cell that starts with = holds that formula.
A
1
2
2
4
3
4
4
4
5
5
6
5
7
7
8
9
Data
Watch out for
- Quart outside 0 to 4 gives #NUM!.
- Results can differ from other software that uses another method.
Where it works
- Excel
- QUARTILE.INC arrived in Excel 2010. Older versions do not have it.
- Google Sheets
- Same name, but behaves differently: `QUARTILE`. Sheets has QUARTILE (inclusive); a QUARTILE.INC alias may also work.
Part of Statistical functions. Every result on this page was measured in desktop Excel, build 16.0.20527. Last updated .