{"id":690,"date":"2019-04-18T13:56:21","date_gmt":"2019-04-18T10:56:21","guid":{"rendered":"https:\/\/www.test4u.eu\/excelpedia\/?p=690"},"modified":"2019-04-18T13:58:12","modified_gmt":"2019-04-18T10:58:12","slug":"the-countifs-function","status":"publish","type":"post","link":"https:\/\/www.test4u.eu\/excelpedia\/the-countifs-function\/","title":{"rendered":"The COUNTIFS Function"},"content":{"rendered":"\n<p>The <span><b>COUNTIFS <\/b><\/span>function counts the number of times certain criterias are met. Even though its logical elements, it is part of the Statistical functions of Excel.<\/p>\n\n\n\n<p>We have prepared a <strong><a rel=\"noreferrer noopener\" aria-label=\" tutorial on the AVERAGEIFS (opens in a new tab)\" href=\"https:\/\/www.test4u.eu\/excelpedia\/learn-how-to-use-the-averageifs-function\/\" target=\"_blank\"><\/a><\/strong><a href=\"https:\/\/www.test4u.eu\/excelpedia\/learn-how-to-use-the-countifs-function\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"tutorial on the COUNTIFS (opens in a new tab)\">tutorial on the COUNTIFS<\/a> function to explain it in a bit more detail.<\/p>\n\n\n\n<p>\n\nThe syntax of the function is the following:\n\n<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-style-large is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>COUNTIFS<\/strong>(<strong>Criteria_range1<\/strong>, <strong>Criteria1<\/strong>, [<strong>Criteria_range2<\/strong>, <strong>Criteria2<\/strong>, .<strong>.<\/strong>.]) <\/p><cite><strong>Criteria_range1<\/strong>, <strong>Criteria_range2<\/strong>, &#8230; : Criteria_range1 is required. The rest (up to 127) are optional. They are the range of cells that have to meet certain criteria.<br><strong>Criteria1<\/strong>, <strong>Criteria2<\/strong>, &#8230; : Same as above only Criteria1 is required. The rest (up to 127) are optional. You cannot enter Criteria without a Criteria_range and vice versa. They contain the criterion (expression, number, reference&#8230;) that the respective criterion_range has to meet.<\/cite><\/blockquote>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>If a cell in a criteria range is empty, COUNTIFS considers it a zero.<\/p>\n\n\n\n<p>Each <strong>Criteria_range <\/strong>must be the same size and shape as  <strong>Criteria_range1<\/strong> .<\/p>\n\n\n\n<p>You can use the wildcard characters, question mark (?) and asterisk (*), in criteria. If you want to find an actual question mark or asterisk, type a tilde (~) before the character.<\/p>\n\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Click on the button to practice using this function, with the help of our <strong>Online Assessment Tool<\/strong>:<\/p>\n\n\n<p class=\"button-practice-container\" ><a class=\"button button-primary button-practice\" style=\"height:auto\"  href=\"https:\/\/www.test4u.eu\/excelpedia\/wp-content\/plugins\/unlimited-integration\/run.php?id=c1QzQ1BkWHFFZDdIOTNRbHdCM0hEZWw4Q0dhN3lmOVRFRjBBMW5lckRxNHhwSXVUUFQyNXd2K1pPNmJXMEVVSg==&b=NTlHZExTaUhlT3hyR1QyM3VhMHUrV2plclg3SzQzaXBMS2xBenNEUTJsTm1tMWxIV2hxdUZIY1Y4RnB4dEZlZ01UWTlpdTNDaVN0RzlzYkdQZ3pzTW94VGtuc2VUNDRDOU5TTGRyTnlaVGc9\">Practice<\/a><\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n\n<p class=\"has-medium-font-size\"><strong>Here are examples of how to use the COUNTIFS function:<\/strong><\/p>\n\n\n\n<p>In the cell H4 calculate the count of the orders, with amount greater than 40 that were placed after February 1st 2004.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe class=\"youtube-player\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/zTo351zhg28?version=3&#038;rel=0&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span>\n<\/div><\/figure>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Use the proper formula in the cell I2, to calculate the count of the Total of Sales, from the eastern district, with less than 80 units sold.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe class=\"youtube-player\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/0K9V9XvtrOU?version=3&#038;rel=0&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The COUNTIFS function counts the number of times certain criterias are met. Even though its logical elements, it is part of the Statistical functions of Excel.<\/p>\n","protected":false},"author":2,"featured_media":524,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4],"tags":[35,75,14],"class_list":["post-690","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-functions","tag-countifs","tag-logical","tag-statistical"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.test4u.eu\/excelpedia\/wp-content\/uploads\/2019\/04\/countifs.jpg","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paRnIz-b8","_links":{"self":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/posts\/690","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/comments?post=690"}],"version-history":[{"count":0,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/posts\/690\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/media\/524"}],"wp:attachment":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/media?parent=690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/categories?post=690"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/tags?post=690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}