Skip to main content

Excel MEDIAN Function

doc median1

If you want to follow along with this tutorial, please download the example spreadsheet.

doc sample

Description

The Excel MEDIAN function returns the middle number of the supplied numbers.

Syntax and arguments

Formula syntax

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

Arguments

  • Number1: Required, a number, a reference cell to number, a name, an array or a range contains numbers that you want to find the middle number from.
  • Number2, ...: Optional, subsequent numbers, up to 255 numbers are allowed in MEDIAN function.

Return Value

The MEDIAN function returns a numeric value.

Remark

1. If there is an odd number of numbers in the set, the MEDIAN function returns the middle number of the set, if there is an even number of numbers in the set, the MEDIAN function returns the average of the two numbers in the middle of the set.

2. Arguments can either be numbers, names, arrays or references that contain numbers.

3. Logical values (TRUE and FALSE), texts, or empty cells are ignored by MEDIAN function.

4. Zero values are counted by MEDIAN function.

5. MEDIAN function measures central tendency, which is the location of the center of a group of numbers in a statistical distribution.

Version

Excel 2003 and later

Usage and Examples

Example: basic usage

To get the middle numbers in range B4:C7, please use formula:

=MEDIAN(B4:C7)

Press Enter key to get the median.

doc median function 2


Relative Functions:

  • Excel MAX Function
    The Excel MAX functionreturns the largest value in the supplied set of values (ignores logical values).

  • Excel MAXA Function
    The Excel MAXA function returns the largest value in the supplied set of values.


The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ...
Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup...
Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List...
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

Description


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations