[]
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(number1, [number2], ...)
This function has these arguments:
Argument | Description |
|---|---|
number1, number2, ... | Number1 is required, subsequent numbers are optional. 1 to 255 numbers for which you want the median. |
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.
MEDIAN(A3,B5,C1,D4,E7)
MEDIAN(A1:A9)
MEDIAN(R1C2,R3C5,R4C7,R6C7)
MEDIAN(89,95,76,88,92) gives the result 89