QUARTILE(array, quart)
=QUARTILE(A2:A9,1)
This will return the first quartile of the data in the range A2 to A9, which is 3.5.
=QUARTILE(A2:A9,2)
This will return the second quartile of the data in the range A2 to A9.
The QUARTILE function is used to divide a data set into four equal parts. It returns the fourth quartile of a data set, but can also return a #NUM! error if the array argument is empty or the quart argument is not an integer.