MEDIAN Function
Return the median, the number in the middle of a set of numbers. With an even count of numbers, MEDIAN returns the average of the two middle numbers. Text, logical values and empty cells in references are ignored; when no number is left, MEDIAN returns #NUM!.
Syntax
MEDIAN(number1, number2)
Category: Statistics. Minimum arguments: 1. Maximum arguments: 255.
Available for supported offline calculation.
Examples
=MEDIAN(1,3,5)
The formula returns 3, the middle of 1, 3 and 5.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.