SheetRocks
Documentation/Formulas/MEDIAN

MEDIAN

Returns the median of the given numbers

Syntax

MEDIAN(value1, [value2])

Arguments

Argument Description Required
value1 The first number or array of numbers Required
value2 Additional numbers or arrays Optional

Examples

Median of odd number of values

=MEDIAN(A1:A5)
Result ⇒ 3
A
1 1
2 2
3 3
4 4
5 5

Median of even number of values

=MEDIAN(A1:A4)
Result ⇒ 25
A
1 10
2 20
3 30
4 40

Median of individual numbers

=MEDIAN(1, 3, 2, 5, 4)
Result ⇒ 3

Related Functions

Other Statistical functions:


← Back to Formula Reference