The Excel Dvar function computes the sample variance of a field (column) in a database for only a subset of the entries. A collection of one or more user-specified criteria defines the records to be included in the computation.
Syntax :
=DVAR ( database, field, criteria )
Parameters :
Database :
Field :
Criterion :
E.g. :
Age | Name |
>8 | Amy |
Example :
The Dvar function is used in the following example to calculate the sample variance of male children’s Science results. Cells G1 – H2 specify the conditions, while cell G3 displays the Dvar formula. The Dvar function above computes the sample variance of the values in cells E5, E8, and E11, and so returns the value 3.8 percent.
Ask Your Query