Advanced Excel Statistical - VAR.S Function



Description

Estimates variance based on a sample (ignores logical values and text in the sample).

Syntax

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

Arguments

Argument Description Required/ Optional
Number1 The first number argument corresponding to a sample of a population. Required
Number2, ... Number arguments 2 to 254 corresponding to a sample of a population. Optional

Notes

  • VAR.S uses the following formula −

    $$\frac{\sum \left ( x-\bar{x} \right )^2}{\left ( n-1 \right )}$$

    Where x is the sample mean AVERAGE (number1,number2,…) and n is the sample size.

  • VAR.S assumes that its arguments are a sample of the population. If your data represents the entire population, then compute the variance by using VAR.P

  • Arguments can either be numbers or names, arrays, or references that contain numbers.

  • Logical values, and text representations of numbers that you type directly into the list of arguments are counted.

  • If an argument is an array or reference, only numbers in that array or reference are counted. Empty cells, logical values, text, or error values in the array or reference are ignored.

  • Arguments that are error values or text that cannot be translated into numbers cause errors.

  • If you want to include logical values and text representations of numbers in a reference as part of the calculation, use the VARA function.

  • If fewer than 2 numeric values have been supplied to the Function, VAR.S returns the #DIV/0! error value.

  • If any values that are supplied directly to the Function are text values that cannot be interpreted as numeric values, VAR.S returns the #VALUE! error value.

Applicability

Excel 2010, Excel 2013, Excel 2016

Example

VAR.S Function
advanced_excel_statistical_functions.htm
Advertisements