The COVAR function is one of the statistical functions. It is used to return the covariance of two ranges of data.
COVAR(array1, array2)
The COVAR function has the following argument:
If array1(2) contains text, logical values, or empty cells, the function will ignore those values, but treat the cells with the zero values.
How to apply the COVAR function.
The figure below displays the result returned by the COVAR function.