Returns the median of the given numbers. The median is the number in the middle of the given set.
Syntax
Remarks
If the given set has even number of values, the MEDIAN function calculates the average of the two numbers in the middle.
Text values in the given input are ignored.
Examples
|
Formula |
Result |
|
=MEDIAN(A2:A6) |
2 |
|
=MEDIAN(12;-19;10;23) |
11 |
|
=MEDIAN(Data) |
9 |
Possible Errors
|
Errors |
Meaning |
|
#N/A! |
|
|
#NAME! |
|
|
#VALUE! |
|
|
#REF! |
|
Similar Functions