web-apps/apps/spreadsheeteditor/main/resources/help/en/Functions/countifs.htm

43 lines
3.1 KiB
HTML
Raw Normal View History

2017-05-12 12:44:56 +00:00
<!DOCTYPE html>
<html>
<head>
<title>COUNTIFS Function</title>
<meta charset="utf-8" />
2021-12-22 15:23:28 +00:00
<meta name="description" content="The COUNTIFS function is one of the statistical functions. Learn how to use the COUNTIFS formula in Excel sheets and compatible files with ONLYOFFICE." />
2017-05-12 12:44:56 +00:00
<link type="text/css" rel="stylesheet" href="../editor.css" />
2022-03-21 03:03:46 +00:00
<link type = "text/css" rel = "stylesheet" href = "../../images/sprite.css" />
<script type="text/javascript" src="../callback.js"></script>
<script type="text/javascript" src="../search/js/page-search.js"></script>
2017-05-12 12:44:56 +00:00
</head>
<body>
<div class="mainpart">
<div class="search-field">
<input id="search" class="searchBar" placeholder="Search" type="text" onkeypress="doSearch(event)">
</div>
2017-05-12 12:44:56 +00:00
<h1>COUNTIFS Function</h1>
<p>The <b>COUNTIFS</b> function is one of the statistical functions. It is used to count the number of the selected cells based on multiple criteria.</p>
<p>The <b>COUNTIFS</b> function syntax is:</p>
<p style="text-indent: 150px;"><b><em>COUNTIFS(criteria-range-1, criteria-1, [criteria-range-2, criteria-2], ...)</em></b></p>
<p><em>where</em></p>
<p style="text-indent: 50px;"><b><em>criteria-range-1</em></b> is the first selected range of cells to apply the <em>criteria-1</em> to. It is a required argument.</p>
<p style="text-indent: 50px;"><b><em>criteria-1</em></b> is the first condition that must be met. It is applied to the <em>criteria-range-1</em> and used to determine the cells in the <em>criteria-range-1</em> to count. It can be a value entered manually or included into the cell you make reference to. It is a required argument.</p>
<p style="text-indent: 50px;"><b><em>criteria-range-2, criteria-2, ...</em></b> are additional ranges of cells and their corresponding criteria. These arguments are optional. You can add up to 127 ranges and corresponding criteria.</p>
2021-12-22 15:23:28 +00:00
<p class="note">You can use wildcard characters when specifying criteria. The question mark "?" can replace any single character and the asterisk "*" can be used instead of any number of characters. If you want to find a question mark or asterisk, type a tilde (~) before the character.</p>
<h2>How to use COUNTIFS</h2>
2017-05-12 12:44:56 +00:00
<p>To apply the <b>COUNTIFS</b> function,</p>
<ol>
<li>select the cell where you wish to display the result,</li>
2022-03-21 03:03:46 +00:00
<li>click the <b>Insert function</b> <div class = "icon icon-insertfunction"></div> icon situated at the top toolbar,
2017-05-12 12:44:56 +00:00
<br />or right-click within a selected cell and select the <b>Insert Function</b> option from the menu,
2022-03-21 03:03:46 +00:00
<br />or click the <div class = "icon icon-function"></div> icon situated at the formula bar,
2017-05-12 12:44:56 +00:00
</li>
<li>select the <b>Statistical</b> function group from the list,</li>
<li>click the <b>COUNTIFS</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>
<p style="text-indent: 150px;"><img alt="COUNTIFS Function" src="../images/countifs.png" /></p>
</div>
</body>
</html>