Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default STDEV function on selected values

Hi all,

I am wondering one groovy function that

1. Selects values according to my criteria, such as more than 0 (zero) AND
less than 5000, and
2. Take standard deviation of the selected values.

I know a function like "=SUMPRODUCT((C4:C340)*(C4:C34<5000))" counts the
values that are more than 0 and less than 5000 in the range of Cell C4:C34,
but not appropriate for my purpose.

So, how can I do that bit and enclose it in =STDEV() function?

Thanks!
Tetsuya Oguma, Singapore

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 837
Default STDEV function on selected values

=STDEV(IF((C4:C340)*(C4:C34<5000),C4:C34))
array entered (Ctrl-Shift-Enter)

Jerry

"Tetsuya Oguma" wrote:

Hi all,

I am wondering one groovy function that

1. Selects values according to my criteria, such as more than 0 (zero) AND
less than 5000, and
2. Take standard deviation of the selected values.

I know a function like "=SUMPRODUCT((C4:C340)*(C4:C34<5000))" counts the
values that are more than 0 and less than 5000 in the range of Cell C4:C34,
but not appropriate for my purpose.

So, how can I do that bit and enclose it in =STDEV() function?

Thanks!
Tetsuya Oguma, Singapore

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
STDEV function in VB scritp for excel dbwells Excel Worksheet Functions 4 July 22nd 08 06:28 PM
How do I run the STDEV function with multiple criteria? JLMcCracken Excel Worksheet Functions 1 August 12th 06 07:45 PM
Stdev function error! Martin Excel Discussion (Misc queries) 0 April 26th 06 07:02 AM
Rounding error in Stdev function result. David K Excel Worksheet Functions 15 January 12th 06 04:19 AM
Averaging selected values Hellion Excel Worksheet Functions 3 July 4th 05 03:29 AM


All times are GMT +1. The time now is 07:13 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"