Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 173
Default STDEVP function with an array

Is there a way to use multiple criteria when using the STDEVP function with
an array? If I use a single criterion, the following formula works fine:
{=STDEVP(IF(Names!$F$3:$F$61="B",Names!S$3:S$61))}

When I try multiple criteria, I get 0 as a result, though I know this is
incorrect:
{=STDEVP(IF(AND(Names!$F$3:$F$61="B",Names!$J$3:$J $61<"USD"),Names!S$3:S$61))}

Thanks in advance for any help.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,355
Default STDEVP function with an array

IIRC, I've not been able to use AND when I do things like this. You need
to nest the IFs
--
HTH,
Barb Reinhardt

If this post was helpful to you, please click YES below.



"Neil" wrote:

Is there a way to use multiple criteria when using the STDEVP function with
an array? If I use a single criterion, the following formula works fine:
{=STDEVP(IF(Names!$F$3:$F$61="B",Names!S$3:S$61))}

When I try multiple criteria, I get 0 as a result, though I know this is
incorrect:
{=STDEVP(IF(AND(Names!$F$3:$F$61="B",Names!$J$3:$J $61<"USD"),Names!S$3:S$61))}

Thanks in advance for any help.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 173
Default STDEVP function with an array

Thanks for the help, Barb. That worked perfectly.

"Barb Reinhardt" wrote:

IIRC, I've not been able to use AND when I do things like this. You need
to nest the IFs
--
HTH,
Barb Reinhardt

If this post was helpful to you, please click YES below.



"Neil" wrote:

Is there a way to use multiple criteria when using the STDEVP function with
an array? If I use a single criterion, the following formula works fine:
{=STDEVP(IF(Names!$F$3:$F$61="B",Names!S$3:S$61))}

When I try multiple criteria, I get 0 as a result, though I know this is
incorrect:
{=STDEVP(IF(AND(Names!$F$3:$F$61="B",Names!$J$3:$J $61<"USD"),Names!S$3:S$61))}

Thanks in advance for any help.


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
OR function in array-entered IF function veggies27 Excel Worksheet Functions 8 March 11th 08 06:32 PM
Question about STDEVP on PIVOT TABLE..... drhell Excel Discussion (Misc queries) 0 January 29th 07 11:03 PM
Should I use STDEVP Grd Excel Worksheet Functions 2 November 21st 05 11:56 PM
How many std deviations is Excel function "STDEVP" mchsr Excel Worksheet Functions 4 September 13th 05 01:50 PM
Array Function N Harkawat Excel Worksheet Functions 9 July 18th 05 11:14 PM


All times are GMT +1. The time now is 01:45 AM.

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"