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

COVAR function

Returns the population covariance (older name of COVARIANCE.P).

Syntax

=COVAR(array1, array2)

Arguments

ArgumentRequiredDescription
array1RequiredThe first set of values
array2RequiredThe second set of values

How to use COVAR

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

COVAR takes 2 required arguments. Type =COVAR( 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.

=COVAR({3,2,4,5,6}, {9,7,12,15,17})Result 5.2

Every formula, right in your browser

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