DSTDP

Calculates the population standard deviation of the values in a data set created from a condition.

Syntax:

DSTDP(range, condition)

Returns the population standard deviation of all the values in the range for which the corresponding condition is satisfied.

Formula:

DSTDP = √ ( (ni=n (xi2) − (i=n xi)2) ÷ n2 )

where n is the number of selected values and xi is the i-th value from the selection.

This is the square root of the population variance of the selected values.

Example:

DSTDP(A1:A15, B1:B15>0)

returns the population standard deviation of the cells in the range A1:A15 whose equivalents in the range B1:B15 are greater than zero.

See DAVG for more examples of how to use the condition to control which cells are included.