fxExcelReps
PRO

You've used your 3 free functions

To practise MEDIAN and every other function, get a PRO subscription.

  • Unlimited access to every function
  • New functions and exercises every month
  • Every mistake explained + full solutions

Your free functions — you can always come back to these:

← All functions

How to use MEDIAN in Excel

MEDIAN sorts the numbers and returns the one in the middle. With an even count it averages the two middle values. Unlike AVERAGE, a few extreme values barely move it — that's why salaries and house prices are usually reported as medians.

Syntax

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

number1A number, cell or range.
[number2], …Optional additional values.

Examples

=MEDIAN(B2:B100)Typical salary in a company.
=AVERAGE(B2:B100)-MEDIAN(B2:B100)How much outliers pull the average up.

Common mistakes

Expecting MEDIAN to ignore zeros
Zeros are numbers and are included. Remove them or filter them out first.
Different from AVERAGE — is it wrong?
No. The two measure different things; a big gap means the data has outliers.

Available in: All versions of Excel, Excel for the web, Google Sheets

Related functions

AVERAGELARGESMALLMAX