Get population variance for matching records
=DVARP(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 variance of heights for the group "Fox" with either of these formulas:
=DVARP(B7:C13,"Height",B4:C5) // field by name
=DVARP(B7:C13,2,B4:C5) // field by index
The variance for the entire data set, shown in F5, is calculated with the VAR.P function:
=VAR.P(C8:C13)