MEDIAN function

Returns the median of the given numbers; that is, half the numbers have values that are greater than the median, and half the numbers have values that are less than the median.