how to find median in excel
To find the median in Excel, use the MEDIAN function on your range of numbers.
How to Find Median in Excel (Quick Scoop)
1. The super-short version
- Click the cell where you want the result.
- Type:
=MEDIAN( - Select your number range (for example,
A1:A10). - Close the bracket and press Enter:
- Example:
=MEDIAN(A1:A10)
- Example:
Thatâs itâthe middle value appears.
2. What âmedianâ means (in Excel terms)
- The median is the central value in a list of numbers when they are ordered from smallest to largest.
- If there are:
- Odd number of values â median is the single middle value.
- Even number of values â median is the average of the two middle values.
Example in plain numbers:
- Values: 2, 5, 7 â median is 5 (middle number).
- Values: 2, 5, 7, 10 â median is (5+7)/2=6(5+7)/2=6(5+7)/2=6.
3. Basic Excel formula examples
a) Median of one range
excel
=MEDIAN(A1:A10)
- Finds the median of all numeric values from A1 to A10.
b) Median of multiple ranges
excel
=MEDIAN(A1:A10, C1:C10)
- Combines both ranges and then finds the median of all those values.
c) Median of typed-in numbers
excel
=MEDIAN(10, 20, 35, 40)
- Useful for quick checks or small lists.
4. Step-by-step walkthrough
You can think of this as a tiny tutorial you could follow while Excel is open:
- Open your worksheet with the data.
- Decide where you want the median to show (for example, cell B1).
- Click that cell.
- Type
=MEDIAN((donât forget the equal sign). - With your mouse, drag over the cells that contain the numbers you want (for example, A1:A20).
- You should now see something like:
=MEDIAN(A1:A20)
- Press Enter.
Excel will internally consider the numbers in order and give you the middle valueâno need to sort the list yourself.
5. Useful tips and âgotchasâ
- No need to sort first : Excel sorts internally for the MEDIAN calculation.
- Ignores text and blanks :
- Empty cells and text values in the range are skipped.
- Only numeric entries matter.
- Dates work too : If your range has dates,
MEDIANreturns the median date. - Errors in cells : If the range contains errors (like
#DIV/0!), they can break the formula; clean those or handle them with other functions first. - Large ranges : MEDIAN works fine on big ranges like
A:A(entire column), but itâs usually better to limit it to the rows you actually use for performance and clarity.
6. Simple âreal-lifeâ examples
Example 1: Test scores
You have student scores in B2:B21 and want the middle score:
excel
=MEDIAN(B2:B21)
You get the score that sits in the middle of the groupâless sensitive to extreme low or high marks than the average.
Example 2: Salary data
You track salaries in D2:D1000. To avoid being skewed by a few very high salaries, you use:
excel
=MEDIAN(D2:D1000)
This gives you a better idea of a âtypicalâ salary than the mean in many cases.
7. Forum-style quick FAQ
Q: Do I need to sort my data before using MEDIAN?
A: No, Excel handles ordering internally.
Q: What happens if I have blanks in my range?
A: Blanks are ignored; only numbers are used.
Q: Can I use MEDIAN with conditions (like âonly values > 0â)?
A: Yes, but then you usually combine it with more advanced formulas (for example, MEDIAN with FILTER in newer Excel, or with array formulas in older versions).
8. Mini HTML table example
Hereâs a tiny HTML-style table showing example data and the median formula/result:
html
<table border="1">
<tr>
<th>Cell</th>
<th>Value</th>
</tr>
<tr>
<td>A1</td>
<td>10</td>
</tr>
<tr>
<td>A2</td>
<td>15</td>
</tr>
<tr>
<td>A3</td>
<td>20</td>
</tr>
<tr>
<td>A4</td>
<td>25</td>
</tr>
<tr>
<td>A5</td>
<td>30</td>
</tr>
</table>
<p>Formula: <code>=MEDIAN(A1:A5)</code></p>
<p>Result: <strong>20</strong></p>
You can adapt this idea to your own datasets.
9. Little storytelling-style mental picture
Imagine laying all your numbers on a number line like people queuing up. You
ask everyone to step aside from both ends one by one: one from the smallest
side, one from the largest side, over and over. The person left in the middle
is your median. If there are two people left standing at the end, you
average their heightsâthatâs the median for an even count. Excelâs =MEDIAN()
is just doing that instantly for you behind the scenes.
10. SEO-friendly extras you asked for
- If you landed here searching âhow to find median in Excelâ , the key is simply:
- Use
=MEDIAN(range)on your data.
- Use
- This topic pops up often in forum discussion threads when people compare average vs. median to deal with outliers.
- Not exactly latest news , but as of 2026, the core function
MEDIANworks the same way in modern Excel versions (Microsoft 365, Excel 2016 and later), so anything you learn today will still apply in typical setups.
TL;DR:
Use =MEDIAN(your_range) in any cell, press Enter, and youâve just found the
middle value of your data in Excel.