Loss & Gain Deviation

  • Thread starter Thread starter Natalie
  • Start date Start date
N

Natalie

Dear Any Excel Pros:

I would like to calculate the standard deviation of a
sample "IF" sample value >=0; and seperately "IF" sample
value <0. How can I do this in Excel 2000?

Thanks,
Natalie
 
Natalie said:
I would like to calculate the standard deviation of a
sample "IF" sample value >=0; and seperately "IF" sample
value <0. How can I do this in Excel 2000?

Use the array formulas

=STDEV(IF(Sample>=0,Sample))

and

STDEV(IF(Sample<0,Sample))

Enter array formulas by holding down [Ctrl] and [Shift] keys before pressing
the [Enter] key.
 
Thanks for the prompt response.
This is what I attempted, but it returned #Value!
=STDEV(IF(D7:D25>=0,D7:D25))
Any idea why?
-----Original Message-----
Natalie said:
I would like to calculate the standard deviation of a
sample "IF" sample value >=0; and seperately "IF" sample
value <0. How can I do this in Excel 2000?

Use the array formulas

=STDEV(IF(Sample>=0,Sample))

and

STDEV(IF(Sample<0,Sample))

Enter array formulas by holding down [Ctrl] and [Shift] keys before pressing
the [Enter] key.


.
 
Thanks for the prompt response.
This is what I attempted, but it returned #Value!
=STDEV(IF(D7:D25>=0,D7:D25))
Any idea why?

Yes. You didn't pay attention. The result you're getting means you failed to
enter the formula as an array formula. It *MUST* be entered as an array
formula, so you don't just type the formula and press [Enter]. Try following
the directions in my previous response.
Enter array formulas by holding down [Ctrl] and [Shift]
keys before pressing the [Enter] key.
 
Back
Top