Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default how to get the median of cells that meet a given criteria in excel

Hi,

Exel, in addition to the AVERAGE function, has the AVERAGEIF or AVERAGEIFS
function to calculate the average value of cells that meet a given set of
criteria.

However, the MEDIAN function can't seem to do anything except calculate the
median value of all cells in a column.

Is there some kind of "MEDIANIF" function that I can use to calculate the
median value of cells that meet a given criteria. If not, is there a way to
get the answer programmatically?

Thanks in advance for your help.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default how to get the median of cells that meet a given criteria in excel

Try

=MEDIAN(IF(B1:B1010,B1:B10,FALSE))

Which is an arry so enter with CTRL+Shift+Enter and not just enter. If you
do it correctly Excel will put curly barckets {} around the formula. You
can't type these yourself

Mike

"drs207" wrote:

Hi,

Exel, in addition to the AVERAGE function, has the AVERAGEIF or AVERAGEIFS
function to calculate the average value of cells that meet a given set of
criteria.

However, the MEDIAN function can't seem to do anything except calculate the
median value of all cells in a column.

Is there some kind of "MEDIANIF" function that I can use to calculate the
median value of cells that meet a given criteria. If not, is there a way to
get the answer programmatically?

Thanks in advance for your help.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
count cells that meet 2 criteria aimee Excel Worksheet Functions 3 June 18th 08 06:45 PM
Count Cells that meet Criteria kmason Excel Worksheet Functions 6 August 24th 06 04:31 PM
Can I sum #s in a cell if other cells meet a certain criteria? jacchops Excel Discussion (Misc queries) 2 June 16th 06 09:42 PM
Sum Total # Of Cells That Meet Several Criteria ashstudly Excel Worksheet Functions 4 January 23rd 06 05:55 AM
Counting Values that meet another cells criteria Jess Excel Worksheet Functions 1 March 8th 05 01:42 AM


All times are GMT +1. The time now is 10:38 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"