A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

using a conditional in STDEV function



 
 
Thread Tools Display Modes
  #1  
Old May 18th, 2010, 07:57 PM posted to microsoft.public.excel.worksheet.functions
Researcher
external usenet poster
 
Posts: 4
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  
Old May 18th, 2010, 08:33 PM posted to microsoft.public.excel.worksheet.functions
Luke M[_4_]
external usenet poster
 
Posts: 451
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



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:21 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.