{"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 class=\"wp-block-paragraph\">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 class=\"wp-block-paragraph\">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 class=\"wp-block-paragraph\">\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 class=\"wp-block-paragraph\">If a cell in a criteria range is empty, COUNTIFS considers it a zero.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Each <strong>Criteria_range <\/strong>must be the same size and shape as  <strong>Criteria_range1<\/strong> .<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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 class=\"wp-block-paragraph\">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=Z3g3YTA5YXhPWmJuQXhWa3VLdFBQdnhaYmtJS08vYnJpVlE3R0grN0VVTVBlaHAwYVhXM1BFbXF0VHQvdDZkYQ==&b=NzBMUHhSYisyS00yaTc1bVpXVityNHdPaThqemFYNHhQNkJmUHVhR3dmcDZXNzI5QStSR21RcndIY1grQ2I4WC9ZbXN3K3BNU01sWFkxZTZOd3Fhb2ZNZmlQVnRUMHMzVGVTYmVFVy9HQXM9\">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 wp-block-paragraph\"><strong>Here are examples of how to use the COUNTIFS function:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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<iframe title=\"Use the COUNTIFS function to calculate the number of cells in a range using multiple conditions\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/zTo351zhg28?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">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<iframe title=\"Use the COUNTIFS function to calculate the number of cells in a cell range using multiple criteria\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/0K9V9XvtrOU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\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":{"footnotes":""},"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"],"_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}]}}