Returns the median value in a numeric dataset.
Sample Usage
MEDIAN(1,2,3,4,5)
MEDIAN(A1:A6)
Syntax
MEDIAN(value1, [value2, ...])
- value1 - The first number or range to consider while calculating the median value.
- value2, .. - [OPTIONAL] Additional numbers or ranges to consider.
Examples
MEDIAN(1,2,3,4,5) returns a value of 3.
MEDIAN(A1:A6) returns the median of the 6 numbers in the range A1 through A6.