<p>The <b>COVARIANCE.P</b> function is one of the statistical functions. It is used to return population covariance, the average of the products of deviations for each data point pair in two data sets; use covariance to determine the relationship between two data sets.</p>
<p>The <b>COVARIANCE.P</b> function syntax is:</p>
<p>where <b><em>array-1(2)</em></b> is the selected range of cells with the same number of elements.</p>
<pclass="note"><b>Note:</b> if <b><em>array-1(2)</em></b> contains text, logical values, or empty cells, the function will ignore those values, but treat the cells with the zero values.</p>
<p>To apply the <b>COVARIANCE.P</b> function,</p>
<ol>
<li>select the cell where you wish to display the result,</li>
<li>click the <b>Insert function</b><imgalt="Insert function icon"src="../images/insertfunction.png"/> icon situated at the top toolbar,
<br/>or right-click within a selected cell and select the <b>Insert Function</b> option from the menu,
<br/>or click the <imgalt="Function icon"src="../images/function.png"/> icon situated at the formula bar,
</li>
<li>select the <b>Statistical</b> function group from the list,</li>
<li>click the <b>COVARIANCE.P</b> function,</li>
<li>enter the required arguments manually or select them with the mouse separating them by comma,</li>
<li>press the <b>Enter</b> button.</li>
</ol>
<p>The result will be displayed in the selected cell.</p>