{"id":49908,"date":"2024-06-11T20:02:33","date_gmt":"2024-06-11T18:02:33","guid":{"rendered":"https:\/\/blog.sheetgo.com\/?p=49908"},"modified":"2025-12-17T19:54:55","modified_gmt":"2025-12-17T18:54:55","slug":"comptes-dans-les-feuilles-de-calcul-de-google","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/fr\/blog\/google-sheets-formulas\/countifs-in-google-sheets\/","title":{"rendered":"Comment utiliser les COUNTIFS dans Google Sheets"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; da_is_popup=&#8221;off&#8221; da_exit_intent=&#8221;off&#8221; da_has_close=&#8221;on&#8221; da_alt_close=&#8221;off&#8221; da_dark_close=&#8221;off&#8221; da_not_modal=&#8221;on&#8221; da_is_singular=&#8221;off&#8221; da_with_loader=&#8221;off&#8221; da_has_shadow=&#8221;on&#8221; da_disable_devices=&#8221;off|off|off&#8221;][et_pb_row _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span style=\"font-weight: 400;\">COUNTIFS is one of the many Google Sheets count functions. This formula works as its name suggests: it counts values within a range that match all established conditions.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">As we will see, this function is quite simple yet useful for a variety of applications.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;syntax&#8221; _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2><span style=\"font-weight: 400;\">Syntax<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">The structure of this function consists of one or more range\/condition pairs. If 3 such pairs are established, the function will check the ranges and count it if all conditions are true.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span style=\"font-weight: 400;\">=COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2]\u2026)<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>criteria_range1 <\/b><span style=\"font-weight: 400;\">&#8211; the first criteria range to evaluate.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>criteria1<\/b><span style=\"font-weight: 400;\"> &#8211; the condition to evaluate against the range.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Just repeat this for every condition you want to match.<\/span><\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3><span style=\"font-weight: 400;\">Evaluate numbers<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">To <\/span><b>evaluate numbers <\/b><span style=\"font-weight: 400;\">criterias can include any of the comparison operators in the table below.<\/span><\/p>\n<table width=\"300\" height=\"368\">\n<tbody>\n<tr>\n<td style=\"width: 32.1094px;\"><span style=\"font-weight: 400;\">&gt;<\/span><\/td>\n<td style=\"width: 251.891px;\"><span style=\"font-weight: 400;\">Greater than<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 32.1094px;\"><span style=\"font-weight: 400;\">&gt;=<\/span><\/td>\n<td style=\"width: 251.891px;\"><span style=\"font-weight: 400;\">Greater than or equal to<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 32.1094px;\"><span style=\"font-weight: 400;\">=<\/span><\/td>\n<td style=\"width: 251.891px;\"><span style=\"font-weight: 400;\">Equal to<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 32.1094px;\"><span style=\"font-weight: 400;\">&lt;&gt;<\/span><\/td>\n<td style=\"width: 251.891px;\"><span style=\"font-weight: 400;\">Not equal to<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 32.1094px;\"><span style=\"font-weight: 400;\">&lt;<\/span><\/td>\n<td style=\"width: 251.891px;\"><span style=\"font-weight: 400;\">Less than<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 32.1094px;\"><span style=\"font-weight: 400;\">&lt;=<\/span><\/td>\n<td style=\"width: 251.891px;\"><span style=\"font-weight: 400;\">Less than or equal to<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-weight: 400;\">So, for example, you could check that values are equal to \u201c1\u201d in column A and more than \u201c20\u201d in column B.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span style=\"font-weight: 400;\">=COUNTIFS(<\/span><span style=\"font-weight: 400;\">A:A<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">&#8220;=1&#8221;<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">B:B<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">&#8220;&gt;20&#8221;<\/span><span style=\"font-weight: 400;\">)<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3><span style=\"font-weight: 400;\">Evaluate text<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">To <\/span><b>evaluate text <\/b><span style=\"font-weight: 400;\">you don\u2019t need to include any operators, simply include the text in between quotations. The function will look for exact matches.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span style=\"font-weight: 400;\">=COUNTIFS(<\/span><span style=\"font-weight: 400;\">C:C<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">&#8220;John&#8221;<\/span><span style=\"font-weight: 400;\">)<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span style=\"font-weight: 400;\">You can even find partial matches with the * wildcard which will match anything. The example below will match any text starting with the word \u201cNew\u201d.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span style=\"font-weight: 400;\">=COUNTIFS(<\/span><span style=\"font-weight: 400;\">C:C<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">&#8220;John&#8221;<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">D:D<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">&#8220;New*&#8221;<\/span><span style=\"font-weight: 400;\">)<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3><span style=\"font-weight: 400;\">Match blank cells<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">To match empty cells all you have to do is include two quotations with nothing in between.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span style=\"font-weight: 400;\">=COUNTIFS(<\/span><span style=\"font-weight: 400;\">C:C<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">&#8220;John&#8221;<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">D:D<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">&#8220;New*&#8221;, E:E, &#8220;&#8221;<\/span><span style=\"font-weight: 400;\">)<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3><span style=\"font-weight: 400;\">COUNTIFS not blank<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">To count cells that aren\u2019t blank, just include the not equal to operator between quotations.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span style=\"font-weight: 400;\">=COUNTIFS(<\/span><span style=\"font-weight: 400;\">C:C<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">&#8220;John&#8221;<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">D:D<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">&#8220;New*&#8221;, E:E, &#8220;&lt;&gt;&#8221;<\/span><span style=\"font-weight: 400;\">)<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3><span style=\"font-weight: 400;\">Add boolean expressions<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">You can even input Boolean values (TRUE and FALSE) as conditions. Keep in mind, avoid using quotations so Google Sheets recognizes these as Booleans and not text.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This is particularly useful if you have checkboxes as they are just a visual representation of these values. If a checkbox is empty it\u2019s FALSE and if\u2019t filled it is TRUE.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span style=\"font-weight: 400;\">=COUNTIFS(<\/span><span style=\"font-weight: 400;\">A:A<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">TRUE<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">B:B<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">FALSE<\/span><span style=\"font-weight: 400;\">)<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3><span style=\"font-weight: 400;\">COUNTIFS across columns<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Usually you include columns as ranges, meaning Google Sheets will evaluate one row at a time. But you could turn this around and include rows in the ranges, in this case the COUNTIFS will evaluate the conditions one column at a time.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span style=\"font-weight: 400;\">=COUNTIFS<\/span><span style=\"font-weight: 400;\">(<\/span><span style=\"font-weight: 400;\">1:1<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">&#8220;&gt;20&#8221;<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">2:2<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">TRUE<\/span><span style=\"font-weight: 400;\">)<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3><span style=\"font-weight: 400;\">COUNTIFS between two dates<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Using dates to exclude values from the count is quite simple, just express them as you would any other value. <\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span style=\"font-weight: 400;\">=COUNTIFS(<\/span><span style=\"font-weight: 400;\">C4:C12<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">&#8220;&gt;01\/01\/2016&#8221;<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">C4:C12<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">&#8220;&lt;01\/01\/2017&#8221;<\/span><span style=\"font-weight: 400;\">)<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2><span style=\"font-weight: 400;\">Sheetgo connections<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">If you are looking for new and better ways to manage your data, Sheetgo is a great solution. Connect your data sources and process your information.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">While COUNTIFS is a great way to handle data, Sheetgo lets you manipulate information across multiple spreadsheets. It even allows you to incorporate forms for accurate data entry.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Fine tune your data streams, get information delivered to all stakeholders and <a href=\"https:\/\/www.sheetgo.com\/connections\/\" target=\"_blank\" rel=\"noopener\">automate your work with Sheetgo<\/a>.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2><span style=\"font-weight: 400;\">COUNTIFS in Google Sheets<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">This function is a powerful tool to analyze your data based on multiple criteria. It can evaluate numbers, match text, or handle Boolean expressions. By mastering this function, you can significantly enhance your data processing capabilities, ensuring accurate and efficient results.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For even more advanced data management, consider integrating Sheetgo workflows to automate processes and create comprehensive dashboards.<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>COUNTIFS is one of the many Google Sheets count functions. This formula works as its name suggests: it counts values within a range that match all established conditions. As we will see, this function is quite simple yet useful for a variety of applications.Syntax The structure of this function consists of one or more range\/condition [&hellip;]<\/p>\n","protected":false},"author":33,"featured_media":44470,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[54],"tags":[39,28],"class_list":["post-49908","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-sheets-formulas","tag-connections-t","tag-spreadsheets"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/posts\/49908","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/users\/33"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/comments?post=49908"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/posts\/49908\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/media\/44470"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/media?parent=49908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/categories?post=49908"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/tags?post=49908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}