DVAR

Database Functions:
Function: DVAR() - Estimates variance based on a sample from selected database entries.
Database
     +--------+--------+-----+-------+--------+
     | A      | B      | C   | D     | E      |
+----+--------+--------+-----+-------+--------+
|  4 | Tree   | Height | Age | Yield | Profit |
|  5 | Apple  | 18     | 20  | 14    | 105    |
|  6 | Pear   | 12     | 12  | 10    | 96     |
|  7 | Cherry | 13     | 14  | 9     | 105    |
|  8 | Apple  | 14     | 15  | 10    | 75     |
|  9 | Pear   | 9      | 8   | 8     | 76.8   |
| 10 | Apple  | 8      | 9   | 6     | 45     |
+----+--------+--------+-----+-------+--------+
Criteria
    +--------+
    | A      |
+---+--------+
| 1 | Tree   |
| 2 | =Apple |
| 3 | =Pear  |
+---+--------+
The estimated variance in the yield of Apple and Pear trees
=DVAR(A4:E10,"Yield",A1:A3)
DVAR() Result is 8.8
Criteria
    +--------+
    | A      |
+---+--------+
| 1 | Tree   |
| 2 | =Apple |
| 3 | =Pear  |
+---+--------+
The estimated variance in height of Apple and Pear trees
=DVAR(A4:E10,2,A1:A3)
DVAR() Result is 16.2