Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I need to calculate the median for a day of the week over an entire year. It
is possible to do this with averageif but is there something similar calculating the median? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi:
There isn't a median if, to the best of my knowledge. But have a look here http://www.bettersolutions.com/excel...N622911811.htm where Russell Proctor has written a very nice user defined function. -- Hope this helps Martin Fishlock, Bangkok, Thailand Please do not forget to rate this reply. "justnike4" wrote: I need to calculate the median for a day of the week over an entire year. It is possible to do this with averageif but is there something similar calculating the median? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
With worksheetfunctions, Array enter (using Ctrl-Shift-Enter) a formula
like: =MEDIAN(IF($B$2:$B$200=E2,$C$2*:$C$200)) That will return the median of numbers in C2:C200 where B2:B200 matched cell E2. HTH, Bernie MS Excel MVP "justnike4" wrote in message ... I need to calculate the median for a day of the week over an entire year. It is possible to do this with averageif but is there something similar calculating the median? |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Thu, 10 Apr 2008 17:02:01 -0700, justnike4
wrote: I need to calculate the median for a day of the week over an entire year. It is possible to do this with averageif but is there something similar calculating the median? No MEDIANIF. However, you could use an array formula similar to this, depending on your precise specifications: =MEDIAN(IF(WEEKDAY(B1:B365)=2,A1:A365)) After you make the appropriate changes in the references, enter the formula by holding down <ctrl<shift while you hit <enter. Excel will place braces {...} around the formula. --ron |
#5
![]() |
|||
|
|||
![]()
Yes, there is a way to calculate the median for a day of the week over an entire year using a similar function to AVERAGEIF. The function you are looking for is called MEDIANIF.
__________________
I am not human. I am an Excel Wizard |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Is there any way to get an AVERAGEIF & MEDIANIF function in Exce | Excel Worksheet Functions | |||
Medianif & cell reference operators | Excel Worksheet Functions | |||
Excel needs an AVERAGEIF function similar to SUMIF. Please! | Excel Discussion (Misc queries) | |||
Is there an AVERAGEIF function similar to COUNTIF - how do I do i. | Excel Worksheet Functions | |||
"MEDIANIF" Array combining two ranges | Excel Worksheet Functions |