1. Home
  2. Functions
  3. Compatibility
  4. VAR
CompatibilityCompatibility

VAR function

Estimates the variance from a sample (older name of VAR.S).

Syntax

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

Arguments

ArgumentRequiredDescription
number1RequiredA number, cell or range
number2OptionalMore numbers or ranges

How to use VAR

VAR is kept so older workbooks keep working. It calculates the same way as VAR.S, which is the name to use in new formulas.

VAR takes 1 required argument and 1 optional argument, and accepts more values in the same pattern. Type =VAR( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=VAR(1, 2, 3, 4)Result 1.666666667

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.