Manuals/calci/DVAR
Jump to navigation
Jump to search
DVAR(database, field, criteria)
- Where is the range of cells that makes up the list or database
- shows which column is used in the function and
- is the range of cells that contains the specified criteria.
DVAR() calculates the estimates of the variance of a population, based on sample by using data in a specified column that matches the specified criteria.
Description
DVAR(database, field, criteria)
- A argument can be expressed as "Salary" (a column name) or 3(position of the column).
- can be any range on the Calci with minimum of one column and at least one row indicating the condition.
- The columns should not overlap the list of data.
Examples
Name | Age | Salary | Age |
<40 | >8000 | >32 | |
>30 | |||
Name | Age | Salary | |
John | 34 | 5500 | |
Bill | 35 | 6500 | |
Clark | 29 | 7000 | |
Bob | 45 | 9000 | |
Susan | 37 | 4000 | |
Jill | 45 | 8000 |
=DVAR(A4:C10,"Age",C1:C2) : Calculates the estimated variance for 'Age' column
in the range A4 to C10, for the cells with Salary>8000. Returns 41.952380952380956 as a result. =DVAR(A4:C10,3,B1:B3) : Calculates the estimated variance for 'salary' in the range
A4 to C10, for the cells with 40>Age>30. Returns 2819444.4444444445 as a result.