<p>The <b>CHISQ.TEST</b> function is one of the statistical functions. It is used to return the test for independence, the value from the chi-squared (χ2) distribution for the statistic and the appropriate degrees of freedom.</p>
<pstyle="text-indent: 50px;"><b><em>actual-range</em></b> is the range of observed (actual) values.</p>
<pstyle="text-indent: 50px;"><b><em>expected-range</em></b> is the range of expected values.</p>
<p>The ranges must contain the same number of values. Each of the expected values should be greater than or equal to 5. The values can be entered manually or included into the cells you make reference to.</p>
<p>To apply the <b>CHISQ.TEST</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>CHISQ.TEST</b> function,</li>
<li>enter the required arguments separating them by commas,</li>
<li>press the <b>Enter</b> button.</li>
</ol>
<p>The result will be displayed in the selected cell.</p>