Loss & Gain Deviation

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
 
H

Harlan Grove

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.
 
G

Guest

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.


.
 
H

Harlan Grove

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top