tech on the net
Home About Us Feedback Site Map

Microsoft

Access Excel Word

Database

SQL Oracle / PLSQL SQL Server MySQL MariaDB PostgreSQL

Web Development

HTML CSS Color Picker

Language

C Language

More

ASCII Table Linux UNIX Java Clipart Joke of the Moment

Excel Functions

(Scroll to see more)

Share this page:

MS Excel: MEDIAN Function (WS)

Learn how to use the Excel MEDIAN function with syntax and examples.

Description

The Microsoft Excel MEDIAN function returns the median of the numbers provided.

Syntax

The syntax for the Microsoft Excel MEDIAN function is:

MEDIAN( number1, [number2, ... number_n] )

Parameters or Arguments

number1, number2, ... number_n are numeric values - they can be numbers, named ranges, arrays, or references to numbers. There can be up to 30 values entered.

Applies To

The MEDIAN function can be used in the following versions of Microsoft Excel:

  • Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000

Type of Excel Function

The MEDIAN function can be used in Microsoft Excel as the following type of function:

  • Worksheet function (WS)

Example (as Worksheet Function)

Let's look at some Excel MEDIAN function examples and explore how to use the MEDIAN function as a worksheet function in Microsoft Excel:

Microsoft Excel

Based on the spreadsheet above, the following Excel MEDIAN examples would return:

=MEDIAN(A2, A3) would return 8.85
=MEDIAN(A3, A5, 45) would return 7.2
=MEDIAN(A2:A6) would return 8.1
=MEDIAN(1, 3, 13, 14, 15) would return 13