Formualizer Docs

VAR.P

Returns population variance using n in the denominator.

VAR.P describes dispersion for a complete population of numeric values.

The Formualizer engine in this repository at 0.16.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.

Syntax

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

Arguments

ArgumentTypeRequiredDefault
number1number (range)Required—
number2number (range)Optional—

Accepts a variable number of arguments. Minimum: 1.

Remarks

  • Requires at least one numeric value.
  • Non-numeric values in referenced ranges are ignored.

Error cases

  • Returns #DIV/0! when no numeric values are provided.

Examples

Find the population variance of 4, 8 and 12.

Formula =VAR.P(4,8,12)

Expected result 10.6666666666667

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Pass one three-element array to compute the population variance.

Formula =VAR.P({4,8,12})

Expected result 10.6666666666667

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

The population variance of one number is zero.

Formula =VAR.P(7)

Expected result 0

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

A division error among 4 and 12 prevents computing the population variance.

Formula =VAR.P(4,1/0,12)

Expected result #DIV/0!

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Population variance from scalar arguments

Formula =VAR.P(2,4,6)

Expected result 2.66666666666667

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Population variance from a range

Formula =VAR.P(A1:A3)

Input cells
A
11
22
33

Expected result 0.666666666666667

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

FAQ

What is the denominator difference vs VAR.S?

VAR.P divides by n, while VAR.S divides by n-1.

Implementation

Engine source

On this page