Get standard deviation of population in matching records
=DSTDEVP(database, field, criteria)
| Parameter | Description |
|---|---|
database |
Database range including headers. |
field |
Field name or index to count. |
criteria |
Criteria range including headers. |
Using the example above, you can get the standard deviation of heights for the group "Fox" with either of these formulas:
=DSTDEVP(B7:C13,"Height",B4:C5) // field by name
=DSTDEVP(B7:C13,2,B4:C5) // field by index
The standard deviation for all heights in C8:C13 is calculated in F5 with the STDEV.P function:
=STDEV.P(C8:C13)