Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default using a conditional in STDEV function

I would like to use the STDEV function on a set of cells that have been
indicated by a conditional statement. I have tried a variety of ways and have
not been able to get it to work using others suggestions. I am wondering if
anyone knows. I have Excel 2007, I am not sure if this has affected my
results. Below is one thing that I tried, that seemed to have worked for
others.

=STDEV(IF((C2:C204)*(P2:P2040),P2:P204,""))

When looking at the array it returns the value of 15 for every cell that is
in the specified range.
Thanks.
Researcher
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 457
Default using a conditional in STDEV function

Your formula:
=STDEV(IF((C2:C204)*(P2:P2040),P2:P204))
should work...are you confirming it as an array formula (Ctrl+Shift+Enter)?

This should be taking any number in P2:P204 that is greater than 0 and has a
value other than 0 in the C column.

--
Best Regards,

Luke M
"Researcher" wrote in message
...
I would like to use the STDEV function on a set of cells that have been
indicated by a conditional statement. I have tried a variety of ways and
have
not been able to get it to work using others suggestions. I am wondering
if
anyone knows. I have Excel 2007, I am not sure if this has affected my
results. Below is one thing that I tried, that seemed to have worked for
others.

=STDEV(IF((C2:C204)*(P2:P2040),P2:P204,""))

When looking at the array it returns the value of 15 for every cell that
is
in the specified range.
Thanks.
Researcher



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
STDEV function on selected values Tetsuya Oguma Excel Worksheet Functions 1 July 26th 07 04:32 AM
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


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