DSTDEVP(database, field, criteria)
=DSTDEVP(B7:C13,"Height",B4:C5)
The DSTDEVP function can be used to calculate the standard deviation of a field from a given range. For example, the formula returns the standard deviation of heights for the group "Fox" where the field argument is "Height" and the field argument is inclusively between B4:C5.
=DSTDEVP(B7:C13,2,B4:C5)
The DSTDEVP function can also be used to calculate the standard deviation of a field from a given range using the field index number instead of the field name. For example, the formula returns the standard deviation of heights for the group "Fox" where the field argument is 2 and the field argument is inclusively between B4:C5.
=DSTDEVP(B7:C13,B17:C20,"Height",B4:C5)
The DSTDEVP function can also be used to calculate the standard deviation of a field from multiple ranges. For example, the formula returns the standard deviation of heights for the group "Fox" from both the B7:C13 and B17:C20 ranges where the field argument is "Height" and the field argument is inclusively between B4:C5.
=DSTDEVP(B7:C13,"Height","Weight","Age",B4:C5)
The DSTDEVP function can also be used to calculate the standard deviation of multiple fields from one range. For example, the formula returns the standard deviation of heights, weights, and ages for the group "Fox" from the B7:C13 range where the field arguments are "Height", "Weight", and "Age" and the field argument is inclusively between B4:C5.
The DSTDEVP function is used to calculate the standard deviation of an entire population of data, given a database argument containing field headers, a field argument of the name or index of the field to query, and a criteria argument.