ExcelFlux

COVAR function

covariance, the average of the products of paired deviations.

Compatibility

Where can you use it?

Teams maintaining legacy workbooks. Compare the example inputs and expected results with the formula in your workbook when checking a calculation made in an older version.

Scenario in the workbook

Check a legacy population covariance calculation.

A worked example from the workbook

RowAB
6Input readingOutput reading
712
824
936
Record 1
=COVAR(A7:A9,B7:B9)

Expected result1.333333333

See the inputs and instructions for all 3 examples

Copyable formulas

English Excel · en-US
=COVAR(A7:A9,B7:B9)
Turkish Excel · tr-TR
=KOVARYANS(A7:A9;B7:B9)

Compatibility function for older workbooks.

Worked examples

Check a legacy population covariance calculation.

Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.

Row A B
6 Input reading Output reading
7 1 2
8 2 4
9 3 6
Case Formula Expected result
Record 1 =COVAR(A7:A9,B7:B9) 1.333333333
Record 2 =COVAR(A7:A8,B7:B8) 0.5
Record 3 =COVAR(B7:B9,A7:A9) 1.333333333
Microsoft Excel reference