COVARIANCE.P function
covariance, the average of the products of paired deviations.
Statistical · Excel 2010+
Where can you use it?
Analytics, quality and research teams. Use this group to examine distributions, variability or relationships in measurements, sales or service durations.
Scenario in the workbook
Measure joint variation using n when the data represent the entire population.
A worked example from the workbook
| Row | A | B |
|---|---|---|
| 6 | Input reading | Output reading |
| 7 | 1 | 2 |
| 8 | 2 | 4 |
| 9 | 3 | 6 |
Record 1
=COVARIANCE.P(A7:A9,B7:B9)Expected result1.333333333
See the inputs and instructions for all 3 examplesCopyable formulas
English Excel · en-US
=COVARIANCE.P(A7:A9,B7:B9)Turkish Excel · tr-TR
=KOVARYANS.P(A7:A9;B7:B9)Worked examples
Measure joint variation using n when the data represent the entire population.
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 | =COVARIANCE.P(A7:A9,B7:B9) |
1.333333333 |
| Record 2 | =COVARIANCE.P(A7:A8,B7:B8) |
0.5 |
| Record 3 | =COVARIANCE.P(B7:B9,A7:A9) |
1.333333333 |