EXCEL COVARIANCE.P FUNCTION

The COVARIANCE.P function in Excel computes the population covariance of two sets of data. Because the function is new in Excel 2010, it is not available in previous versions of Excel. The Covariance.P function, on the other hand, is merely an improved version of the Covar function, which was accessible in older versions of Excel.

Syntax :

=COVARIANCE.P(array1, array2)

Parameters :

  • Array1 and array2 are two equal-length arrays containing numeric values.
  • It should be noted that if the given arrays include text or logical values, the Covariance.P function will disregard them.

Step By Step Guide of COVARIANCE.P Function

Example :

The spreadsheet on the right has two sets of values in columns A and B. The population covariance of the values in the spreadsheet’s columns A and B may be determined using the Excel Covariance.P function, as shown below:  =COVARIANCE.P ( A2:A9, B2:B9 ) This yields 16.633125, indicating a positive correlation between the two sets of data.

  • #N/A – Occurs if the lengths of the two given arrays disagree.
  • #VALUE! – This error occurs when one or both of the given arrays are empty.

Related Functions

HLOOKUP Function

HLOOKUP Function

Explore Now

VLOOKUP Function

VLOOKUP Function

Explore Now

INDEX Function

INDEX Function

Explore Now

MATCH Function

MATCH Function

Explore Now

DATE Function

DATE Function

Explore Now

IF Function

IF Function

Explore Now

OR Function

OR Function

Explore Now

AND Function

AND Function

Explore Now

RANK Function

RANK Function

Explore Now

SUMIF Function

SUMIF Function

Explore Now

XIRR Function

XIRR Function

Explore Now

WORKDAYS Function

WORKDAYS Function

Explore Now