<p>The <b>COUNTIF</b> function is one of the statistical functions. It is used to count the number of the selected cells based on the specified criterion.</p>
<pstyle="text-indent: 50px;"><b><em>cell-range</em></b> is the selected range of cells you wish to count applying the specified criterion,</p>
<pstyle="text-indent: 50px;"><b><em>selection-criteria</em></b> is a criterion you wish to apply entered manually or included into the cell you make reference to.</p>
<pclass="note"><b>Note</b>: <b><em>selection-criteria</em></b> can include the wildcard characters — the question mark (?) that matches a single character and the asterisk (*) that matches multiple characters. If you want to find a question mark or asterisk, type a tilde (~) before the character.</p>
<p>To apply the <b>COUNTIF</b> function,</p>
<ol>
<li>select the cell where you wish to display the result,</li>