Formula Functions > Functions M to Q > MEDIAN |
This function returns the median, the number in the middle of the provided set of numbers; that is, half the numbers have values that are greater than the median, and half have values that are less than the median.
MEDIAN(value1,value2,...)
MEDIAN(array)
MEDIAN(array1,array2,...)
Each argument can be a double-precision floating-point value, an integer value, or an array (cell range) of these. Up to 255 arguments may be included. You can use a single array (cell range) instead of a list of values. You can use multiple arrays (cell ranges) as well.
If there are an even number of arguments, the function calculates the average of the two numbers in the middle.
Accepts numeric data for all arguments. Returns numeric data.
MEDIAN(A3,B5,C1,D4,E7)
MEDIAN(A1:A9)
MEDIAN(R1C2,R3C5,R4C7,R6C7)
MEDIAN(89,95,76,88,92) gives the result 89
This function is available in product version 1.0 or later.
AVERAGE | MODE | Statistical Functions