The MEDIAN function returns the content of the argument whose value is the middle value in the list formed by arranging the arguments in sorted order.
FUNCTION MEDIAN ( { argument-1 } ... )