Difference between revisions of "Manuals/calci/DVAR"

From ZCubes Wiki
Jump to navigation Jump to search
Line 100: Line 100:
  
  
  =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. <br/>Returns '''41.952380952380956''' as a result.
+
  =DVAR(A4:C10,"Age",C1:C3)  : Calculates the estimated variance for 'Age' column in the range A4 to C10, for the cells with Salary>8000. <br/>Returns '''40.7''' 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. <br/>Returns '''2819444.4444444445''' 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. <br/>Returns '''2819444.4444444445''' as a result.
  

Revision as of 13:41, 12 October 2015

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

A B C D
1 Name Age Salary Age
2 <40 >8000 >32
3 >30
4 Name Age Salary
5 John 34 5500
6 Bill 35 6500
7 Clark 29 7000
8 Bob 45 9000
9 Susan 37 4000
10 Jill 45 8000


=DVAR(A4:C10,"Age",C1:C3)   : Calculates the estimated variance for 'Age' column in the range A4 to C10, for the cells with Salary>8000. 
Returns 40.7 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.

Related Videos

DVAR

See Also

References