1. Home
  2. Functions
  3. Statistical
  4. COVARIANCE.P

COVARIANCE.P function

Returns the population covariance of two sets of numbers.

Syntax

=COVARIANCE.P(array1, array2)

Arguments

ArgumentRequiredDescription
array1RequiredThe first set of values
array2RequiredThe second set of values

How to use COVARIANCE.P

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

=COVARIANCE.P({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.