MEDIAN function. Get median.(Microsoft Excel)

04/29/2024

Japanese version.

The median is the value of the middle rank when the data are arranged.

If the number of subjects is even, for example, the median of 10 subjects is the average of the 5th and 6th place values.

If the number of subjects is odd, for example, the median value for 9 subjects is the median value for the 5th place.

How it works

=MEDIAN(number1 to 255)
NameOmissionSpecify
number1 to 255RequiredSpecify a list of values or a range of cells from which to obtain the median.

Example Results

In most cases, a cell range is specified as an argument.

Numerical values can also be specified as comma-separated values.

It can also be specified as an array.

It is also possible to return a range of cells as the result of a function argument. In this case, the median is taken from the result of the function.

List of functions that result in a range of cells.

FunctionCategoryDescription
TEXTSPLITTextDivides text into cells based on a specified character.
XLOOKUPLookup & ReferenceGet data matching the search value.
FILTERLookup & ReferenceGet a list of data that matches the condition.
UNIQUELookup & ReferenceDelete duplicate data in a specified cell range.
SEQUENCELookup & ReferenceCreate sequential numbers in multiple cells.
SORTLookup & ReferenceSort a range of cells by a specified column.
SORTBYLookup & ReferenceSort a cell range by specifying multiple reference columns.
DROPLookup & Referenceelete a specified number of rows and columns from a specified cell range.
TAKELookup & ReferenceObtains a specified number of rows and columns from a specified cell range.
TOCOLLookup & ReferenceArranges a specified range of cells in a single column.
TOROWLookup & ReferenceSort a specified range of cells into a single column.
EXPANDLookup & ReferenceExtended specified cell range.
CHOOSEROWSLookup & ReferenceGet the row at the specified position from the specified cell range.
CHOOSECOLSLookup & ReferenceGet the column at the specified position from the specified cell range.
WRAPROWSLookup & ReferenceSort a range of cells in a single column or row by a specified number of rows.
WRAPCOLSLookup & Reference
Sort a range of cells in a column or row by a specified number of columns.
VSTACKLookup & ReferenceMerge multiple cell ranges in row direction.
HSTACKLookup & ReferenceMerge multiple cell ranges in column direction.
TRANSPOSELookup & ReferenceCreate a cell range with the rows and columns of the specified cell range swapped.

Spill

Spill when using the BYROW or BYCOL function.

=BYROW(A1:C3,LAMBDA(r,MEDIAN(r)))
Row direction
=BYCOL(A1:C3,LAMBDA(c,MEDIAN(c)))
Column direction

---

Links

Microsoft Excel Functions Statistical