#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default Standard Deviation

Is it possible to form an equation that will give me a standard deviation for
all numbers above a certain value. I know there are SUMIF and COUNTIF
formulas and if you want the average you actually have to do (SUMIF/COUNTIF)
because there is no AVERAGEIF. I guess what i am asking is if there is a way
to do a standard deviation for only a certain range of numbers.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 265
Default Standard Deviation

In article ,
Soccerboy83 wrote:

Is it possible to form an equation that will give me a standard deviation for
all numbers above a certain value. I know there are SUMIF and COUNTIF
formulas and if you want the average you actually have to do (SUMIF/COUNTIF)
because there is no AVERAGEIF. I guess what i am asking is if there is a way
to do a standard deviation for only a certain range of numbers.



Assuming that A2:A100 contains the data, and that C2 contains the value
of interest, try the following formula that needs to be confirmed with
CONTROL+SHIFT+ENTER...

=STDEV(IF($A$2:$A$100C2,$A$2:$A$100))

--
Domenic
http://www.xl-central.com
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 915
Default Standard Deviation

Soccerboy83 wrote:
Is it possible to form an equation that will give me a standard deviation for
all numbers above a certain value. I know there are SUMIF and COUNTIF
formulas and if you want the average you actually have to do (SUMIF/COUNTIF)
because there is no AVERAGEIF. I guess what i am asking is if there is a way
to do a standard deviation for only a certain range of numbers.


Suppose you have in A1:A5

1
3
5
3
1

Then this array* formula will give STDEV where the input value is 2
=STDEV(IF(A1:A52,A1:A5))

*Very important: array formulas must be committed by pressing
Ctrl+Shift+Enter, not just Enter.

The same technique can be applied with some other functions, e.g.,
=AVERAGE(IF((A1:A52),A1:A5))
=MEDIAN(IF((A1:A52),A1:A5))

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
standard deviation ckatz Excel Worksheet Functions 1 October 25th 06 08:31 PM
standard deviation Arne Hegefors Excel Discussion (Misc queries) 7 August 6th 06 01:12 PM
Standard Deviation Stan Banner Excel Worksheet Functions 1 March 12th 06 12:54 AM
Standard Deviation Carlos Excel Worksheet Functions 10 January 2nd 06 09:17 AM
standard deviation Chris Excel Discussion (Misc queries) 1 October 13th 05 04:52 AM


All times are GMT +1. The time now is 08:42 PM.

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"