LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Looking for DMEDIAN

I couldn't reproduce a difference in behavior:

STDEVA STDEV
5 5
7 7
3 3
8 8
DNS 0
9 9
2 2
DNS 0
9 9
9 9
10 10
10 10
8 8

3.71587033 3.71587033



It appeared to treat DNS as zero as specified in the help

in the formula bar, highlight this much of your formula

IF(Status="ENROLLED",Marks)

and Hit F9 to evaluate it and see what array it is returning? Note that
IF(Status="ENROLLED",Marks) will return false for "NOT" and both AverageA
and STDEVA would treat that as zero, but I believe I already pointed that
out for AverageA.

--
regards,
Tom Ogilvy


"AnandaSim" wrote in message
ps.com...
Thanks Tom, I've got a new wrinkle:

Student Status Marks
Joe ENROLLED 20
George NOT 10
Dick ENROLLED DNS
Alan ENROLLED 10

=AVERAGEA(IF(Status="ENROLLED",Marks))

as an array formula works fine - it handles the "DNS" as a zero.

=STDEVA(IF(Status="ENROLLED",Marks))

fails. It does not count the DNS as a zero. It acts like STDEV.
If I replace the cell containing DNS with zero, then it calculates
differently.

Any wisdom appreciated.

Thanks



 
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
Excel should have a DMEDIAN function DMEDIAN FUNCTION Excel Discussion (Misc queries) 5 December 12th 05 06:31 PM
DMEDIAN shidlar Excel Programming 0 August 25th 04 12:03 AM


All times are GMT +1. The time now is 02:15 PM.

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

About Us

"It's about Microsoft Excel"