Syntax

expression.Covar(Arg1, Arg2)

expression A variable that represents a WorksheetFunction object.

Parameters

Name Required/Optional Data Type Description
Arg1 Required Variant The first cell range of integers.
Arg2 Required Variant The second cell range of integers.

Return Value
Double

Remarks

Use covariance to determine the relationship between two data sets. For example, you can examine whether greater income accompanies greater levels of education.