VAR.S function - Function that calculates variance based on a sample, ignoring logical values ​​and text in Excel

VAR.S function: Function that calculates variance based on a sample, ignoring logical values ​​and text. Support functions from Excel 2010 onwards. Syntax: VAR.S (number1, [number2], ...)

The following article introduces you to the VAR.S function - one of the functions in the statistical function group is very popular in Excel.

Picture 1 of VAR.S function - Function that calculates variance based on a sample, ignoring logical values ​​and text in Excel

Description: The function performs a calculation of variance based on a sample, ignoring logical values ​​and text. Support functions from Excel 2010 onwards.

Syntax: VAR.S (number1, [number2], .)

Inside:

- number1, [number2], .): The arguments in the whole need to calculate the variance, where number1 is the required argument, the next arguments are optional and contain up to 254 number arguments .

Attention:

- The VAR.S function assumes that its arguments are a sample of the population.

- Arguments can be numbers, names or arrays that contain numbers.

- If the argument is an array or a reference, only values ​​in that array are used.

- When typing logical values ​​and presenting numeric values ​​into function arguments -> these values ​​are still calculated.

- Function error occurs when arguments are text or error values ​​cannot be converted.

- If you want to calculate both logical values ​​and text -> use VARA.

- The equation to calculate the VAR.S function is:

[frac {{sum {{{left ({x - overline x} right)} ^ 2}}}} {{left ({n - 1} right)}}]

Inside:

+ x is the sample mean AVERAGE (number1, number2, .)

+ n is the sample size.

For example:

Calculate variance based on a sample of number values ​​in the following data table:

Picture 2 of VAR.S function - Function that calculates variance based on a sample, ignoring logical values ​​and text in Excel

- In the cell to calculate enter the formula : = VAR.S (D6: D10)

Picture 3 of VAR.S function - Function that calculates variance based on a sample, ignoring logical values ​​and text in Excel

- Press Enter -> variance based on a sample of number values ​​is:

Picture 4 of VAR.S function - Function that calculates variance based on a sample, ignoring logical values ​​and text in Excel

-Where the values ​​are text or logic -> the function ignores these values:

Picture 5 of VAR.S function - Function that calculates variance based on a sample, ignoring logical values ​​and text in Excel

Above are instructions and some specific examples when using the VAR.S function in Excel.

Good luck!

You've just finished reading the article "VAR.S function - Function that calculates variance based on a sample, ignoring logical values ​​and text in Excel" edited by the TipsMake team. You can save vars-function-function-that-calculates-variance-based-on-a-sample-ignoring-logical-values-​​and-text-in-excel.pdf to your computer here to read later or print it out. We hope this article has provided you with many useful tech tips and tricks. You can search for similar articles on tips and guides. Thank you for reading and for following us regularly.

« PREV VARA - Function that calculates variance based on a sample, including logical values ​​and text in Excel
NEXT » VAR.P function - Function that calculates variance based on the entire set, ignoring logical values ​​and text in Excel