Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or
0
0
0
s2smodern

How to calculate median in a range in Excel?

Sometimes we may need to calculate the median in a range data which may better reflect the median level of the data. Now I am talking about how to calculate the median in a range in Excel.

Calculate median in a range

Calculate median excluding zero in a range


arrow blue right bubble Calculate median in a range


There is a formula can help you quickly median the range.

Select a blank cell and type this formula =MEDIAN(A1:C6) (A1:C6 indicates the range you want to calculate median from), press Enter key, and then you can get the median in the cell.

doc-calculate-median-1

Tip: If the data range is not continuous, you can use this formula =MEDIAN(A1:C3,E1:G3) ( A1:C3 and E1:G3 are the ranges you want to calculate the median from, and the comma indicates and. If you have three discontinuous ranges, you can use formula =MEDIAN(A1:C3,E1:G3, A5:D8)).


arrow blue right bubble Calculate median excluding zero in a range

Sometimes, if the data is zero, you do not want to calculate the median excluding zero, in this case, you need to use the below formula.

Select a blank cell and type this formula =MEDIAN(IF(A1:C6>0,A1:C6)) (A1:C6 indicates the range you want to calculate median from), press Ctrl + Shift +Enter keys in a meantime, and then you can get the median excluding zero in the cell.


Relative Article:


Recommended Productivity Tools

Office Tab

gold star1 Bring handy tabs to Excel and other Office software, just like Chrome, Firefox and new Internet Explorer.

Kutools for Excel

gold star1 Amazing! Increase your productivity in 5 minutes. Don't need any special skills, save two hours every day!

gold star1 300 New Features for Excel, Make Excel Much Easy and Powerful:

  • Merge Cell/Rows/Columns without Losing Data.
  • Combine and Consolidate Multiple Sheets and Workbooks.
  • Compare Ranges, Copy Multiple Ranges, Convert Text to Date, Unit and Currency Conversion.
  • Count by Colors, Paging Subtotals, Advanced Sort and Super Filter,
  • More Select/Insert/Delete/Text/Format/Link/Comment/Workbooks/Worksheets Tools...

Screen shot of Kutools for Excel

btn read more      btn download     btn purchase

Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    GURPREET SINGH DUGGA · 1 years ago
    It was a nice article. It helped me.
    Please check one thing in the section [b]Calculate Median Excluding Zero In A Range[/b]
    Below there in the first line the word [b]excluding[/b] is to be replaced by [b]including[/b]