The QUARTILE.EXC function returns value nearest to a given quartile of a dataset, exclusive of 0 and 4.

Parts of a QUARTILE.EXC function

QUARTILE.EXC(data, quartile_number)

PartDescription
dataThe array or range containing the dataset to consider.
quartile_numberThis is which quartile value to return * 1 returns the value in data closest to the first quartile (25% mark) * 2 returns the value in data closest to the median (50% mark) * 3 returns the value in data closest to the third quartile (75% mark)

Sample formulas

QUARTILE.EXC(A2:A100, 3)

QUARTILE.EXC(A2:A100, B2)

Notes

  • If the quartile_number is not an integer, the number is truncated.
  • The quartile_number must be between 0 and 4, exclusive.
  • Different from QUARTILE.INC, QUARTILE.EXC calculates quartile based on a quartile range exclusive of 0th and 4th quartile.

Examples

A
1
2
3
4
5
6
7
8
9
10
11
12
ABC
1QuartileResult
2115
3240
4343
  • PERCENTILE: Returns the value at a given percentile of a dataset.
  • PERCENTILE.EXC: The PERCENTILE.EXC function returns the value at a given percentile of a dataset, exclusive of 0 and 1.
  • MEDIAN: Returns the median value in a numeric dataset.
  • QUARTILE: Returns a value nearest to a specified quartile of a dataset.