# Manuals/calci/VARIF

VARIF (Array,Condition,SumArray)

• is the set of values.
• is the particular condition value.

## Description

• This function shows the Variance value of the given set which satisfies the given condition.
• In , is the set of values.
• is the particular condition which satisfies the variance values.
• Variance is a measure of dispersion obtained by taking the mean of the squared deviations of the observed values from their mean in a frequency distribution.
• i.e.,variance is a measure of how far each value in the data set is from the mean.
• It is denoted by .
• The square root of variance is called the standard deviation
• To find the variance we can use the following formula:

where is the sample mean of and is the sample size.

• Suppose which is indicating all the values are identical.
• When is non-zero then it is always positive.
• This function is considering our given data is the sample of the population.
• Suppose it should consider the data as the entire population, we can use the VARP function.
• The array values can be be either numbers or names, array,constants or references that contain numbers.
• Suppose the array contains text,logical values or empty cells, like that values are not considered.
• When we are entering logical values and text representations of numbers as directly, then the arguments are counted.
• Suppose the function have to consider the logical values and text representations of numbers in a reference , we can use the VARA function.
• This function will return the result as error when
    1. Any one of the array value is nonnumeric.
2. The arguments containing the error values or text that cannot be translated in to numbers.


## Examples

1. VARIF([2,7,19,20,43,65,77,81],">10") = 764.1666666666666
2. VARIF([2,7,19,20,43,65,77,81],"<10") = 12.5
3. VARIF([10,25,18,FALSE],"<23") = 81.33333333333334

Sample Variance