Summaries and rankings · About 5 minutes
MEDIAN vs AVERAGE
MEDIAN finds the middle value: sort the numbers, then take the one in the middle. With an even count, it takes the average of the middle two.
AVERAGE adds everything up and divides. One very large or very small number, called an outlier, pulls the average toward it. The median barely moves.
So for house prices, pay or wait times, where one value can be far from the rest, the median is usually the fairer "typical" value. =MEDIAN( reads as "the middle value in B2 to B8".
Part of Plus
Free during our founding launch: sign in to unlock this lesson's exercises, the timed practice sets and the rest of Plus. The free lessons stay free, with no account needed.
What MEDIAN does
MEDIAN finds the middle value of a set of numbers: half are at or below it, half at or above. With an even count, it takes the average of the two middle values.
It gives a fair "typical" value when one number is far from the rest. One very long commute or one huge salary drags the average toward it, but the median hardly moves. That makes it the better summary for times, prices and pay.
How to write MEDIAN
=MEDIAN(
- number1
- The numbers to find the middle of, usually a range like A2:A8.
- number2, ...
- Optional. More numbers or ranges, if the values are in more than one place.
MEDIAN worked example
Seven people logged their commute in minutes. One got stuck in traffic for 95 minutes. In C2, find the typical commute.
| A | B | C | |
|---|---|---|---|
| 1 | Mins | Median | |
| 2 | 22 | 27 | |
| 3 | 35 | ||
| 4 | 18 | ||
| 5 | 27 | ||
| 6 | 30 | ||
| 7 | 95 | ||
| 8 | 25 |
=MEDIAN( A2:A8)Sort the minutes in A2:A8 (18, 22, 25, 27, 30, 35, 95) and take the one in the middle. It shows 27, while the average is 36 because the 95 pulls it up.Common MEDIAN mistakes
The median is lower than expected
Leave missing values blank instead of typing 0. MEDIAN skips empty cells and text, but a 0 counts as a real number.
The answer isn't a number in the list
That's expected with an even count. MEDIAN averages the two middle values, so 20 and 30 give 25.
The range misses some rows
Check the range covers every value, like A2:A8. A range that stops at A7 drops the last person and can shift the middle.
MEDIAN or AVERAGE?
Use AVERAGE when the values are fairly even and you want a total shared out equally, like the average score on a test with no outliers. An outlier is a value far from the rest, and it pulls the average toward it.
Use MEDIAN when one or two values could be extreme: wait times, house prices, salaries, delivery days. If the average and the median are far apart, that gap tells you the data has outliers. Both functions work the same in Excel and Google Sheets.
Questions people ask
How do I find the median in Excel?
=MEDIAN( gives the middle value. With an even count, it averages the middle two.
When should I use median instead of average?
When one value is far from the rest, like one very high salary. It pulls the average up; the median barely moves.
Does MEDIAN ignore blank cells?
Yes. Blank cells and text are left out; a 0 counts as a value.