Excel COVAR Function

This post will guide you how to use the COVAR function with syntax and examples in Microsoft excel.

Description

The Excel COVAR function returns covariance, the average of the products of deviations for each data point in two given sets of values. So you can use the COVAR function to calculate the covariance of two data sets in Excel .

The covariance is a statistical measurement of the strength of the correlation between two data sets.

The COVAR function is a build-in function in Microsoft Excel and it is categorized as a Statistical Function.

The COVAR function is available in Excel 2016, Excel 2013, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000, Excel 2011 for Mac. And this function has been replaced by the COVARIANCE.P function in Excel 2010 version. But it is still available in Excel 2010 or earlier version of Excel.

Syntax

The syntax of the COVAR function is as below:

= COVAR (array1,array2)

Where the COVAR function arguments are:

  • array1 – This is a required argument.  The first cell range of integers. The array must contain numeric values.
  • array2 – This is a required argument.  The second cell range of integers. The array must contain numeric values.

Note:

  • The arguments must be numbers or arrays or references that contain numeric values.
  • If any arguments contain text, logical values, or empty cells, and those values will be ignored by the COVAR function.
  • If Array1 and Array2 have different numbers of data sets, the COVAR function will return #N/A Error. Or if the two given arrays have different lengths, returns #N/A Error value.
  • If either array1 or array2 argument is empty, the COVAR function will return the #DIV/0! Error value.
  • the covariance is like the following equation:

excel covar examples1

Excel COVAR Function Examples

The below examples will show you how to use Excel COVAR Function to calculate the covariance of two given data sets.

1# to calculate the covariance, the average of the products of deviations for two supplied sets of values, using the following formula:

=COVAR (A1:A3,B1:B3)

excel covar examples2

Related Posts

Excel DVARP Function
excel dvarp examples1

This post will guide you how to use Excel DVARP function with syntax and examples in Microsoft excel. Description The Excel DVARP Function will get the variance of a population based on the entire population of numbers in a column ...

Excel DVAR Function
excel dvar examples1

This post will guide you how to use Excel DVAR function with syntax and examples in Microsoft excel. Description The Excel DVAR Function will get the variance of a population based on a sample of numbers in a column in ...

Excel DSUM Function
excel dsum examples1

This post will guide you how to use Excel DSUM function with syntax and examples in Microsoft excel. Description The Excel DSUM Function will add the numbers in a column or database that meets a given criteria. And so you ...

Excel DSTDEVP Function
excel dstdevp examples1

This post will guide you how to use Excel DSTDEVP function with syntax and examples in Microsoft excel. Description The Excel DSTDEVP returns the standard deviation of a population based on the entire population of numbers in a column or ...

Excel DSTDEV Function
excel dstdev examples1

This post will guide you how to use Excel DSTDEV function with syntax and examples in Microsoft excel. Description The Excel DSTDEV returns the standard deviation of a population based on a sample of numbers in a column or database ...

Excel DMIN Function
excel dmin function example1

This post will guide you how to use Excel DMIN function with syntax and examples in Microsoft excel. Description The Excel DMIN returns the minimum value from a database or a column of a list that matches the specified conditions. ...

Excel DPRODUCT Function
excel dproduct examples1

This post will guide you how to use Excel DPRODUCT function with syntax and examples in Microsoft excel. Description The Excel DPRODUCT returns the product of values from a set of records that match criteria that you specify. The DPRODUCT ...

Excel XIRR Function
excel xirr examples1

This post will guide you how to use Excel XIRR function with syntax and examples in Microsoft excel. Description The Excel XIRR function returns the internal rate of return for a series of cash flows that is not necessarily periodic. ...

Excel VDB Function
excel vdb examples1

This post will guide you how to use Excel VDB function with syntax and examples in Microsoft excel. Description The Excel VDB function calculates the depreciation of an asset for a specified period based on the double declining balance method. ...

Excel SYD Function
excel syd examples1

This post will guide you how to use Excel SYD function with syntax and examples in Microsoft excel. Description The Excel SYD function calculates the sum-of-years’digits depreciation of an asset for a specified period. And it will return a numeric ...

Sidebar