{"id":50065,"date":"2024-06-21T17:15:13","date_gmt":"2024-06-21T15:15:13","guid":{"rendered":"https:\/\/blog.sheetgo.com\/?p=50065"},"modified":"2025-12-17T19:54:48","modified_gmt":"2025-12-17T18:54:48","slug":"sumif-google-sheets","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/pt\/blog\/google-sheets-formulas\/sumif-google-sheets\/","title":{"rendered":"Como fazer SUMIF no Planilhas Google"},"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;\">The SUMIF function in Google Sheets allows you to sum values in a range based on specific criteria. Whether you&#8217;re dealing with financial data, inventory lists, or any other dataset, it can perform calculations efficiently.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This guide will walk you through the syntax of the SUMIF function, provide practical use cases, and introduce the SUMIFS function to handle multiple criteria.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;syntax&#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<h2>Syntax<\/h2>\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;\">=SUMIF(range, criterion, [sum_range])<\/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>range<\/b><span style=\"font-weight: 400;\">: The range of cells that you want to apply the criteria to.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>criterion<\/b><span style=\"font-weight: 400;\">: The condition that must be met for a cell to be included in the sum.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>sum_range <span style=\"font-weight: 400;\"> (Optional)<\/span><\/b><span style=\"font-weight: 400;\">:The range of cells to sum. If omitted, the function sums the cells in the range argument.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">The example below sums the values in B1:B10 where the corresponding cells in A1:A10 are greater than 5.<\/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;\">=SUMIF(A1:A10, &#8220;&gt;5&#8221;, B1:B10)<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;use&#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<h2><span style=\"font-weight: 400;\">Use cases of SUMIF in Google Sheets<\/span><\/h2>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;greater&#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<h3><span style=\"font-weight: 400;\">SUMIF greater than 0<\/span><\/h3>\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;\">The <\/span><b>SUMIF<\/b><span style=\"font-weight: 400;\"> function can sum values that are greater than zero.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This is particularly useful for financial data, where you may want to exclude negative balances or zero values from your totals.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The example below the function sums all values in A1:A10 that are greater than 0.<\/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;\">=SUMIF(A1:A10, &#8220;&gt;0&#8221;)<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;partial&#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<h3><span style=\"font-weight: 400;\">SUMIF contains partial t<\/span><span style=\"font-weight: 400;\">ext<\/span><\/h3>\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;\">The <\/span><b>SUMIF<\/b><span style=\"font-weight: 400;\"> function can also be used to sum values based on text criteria. You can even include wildcards to consider partial matches.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This is handy when working with datasets that include text entries, such as product names or categories, and you want to sum related numeric values.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The example below sums the values\u00a0 in A1:A10 where the cells contain the substring &#8220;text&#8221;.<\/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;\">=SUMIF(A1:A10, &#8220;*text*&#8221;)<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;not&#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<h3><span style=\"font-weight: 400;\">SUMIF does not equal<\/span><\/h3>\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;\">Sometimes, you may need to exclude specific values from your sum.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><b>SUMIF<\/b><span style=\"font-weight: 400;\"> function can sum values that do not equal a criterion, which is great to filter out unwanted data.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The example below sums the values in A1:A10 where the cells do not equal 5.<\/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;\">=SUMIF(A1:A10, &#8220;&lt;&gt;5&#8221;)<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;multiple&#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<h3><span style=\"font-weight: 400;\">Google Sheets SUMIF multiple criteria<\/span><\/h3>\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;]<span style=\"font-weight: 400;\">Unfortunately, there is no straightforward way to include several conditions using the <\/span><b>SUMIF<\/b><span style=\"font-weight: 400;\"> function alone.<\/span><br \/>\n<span style=\"font-weight: 400;\">For scenarios requiring multiple criteria, Google Sheets provides the <\/span><b>SUMIFS<\/b><span style=\"font-weight: 400;\"> function, which is specifically designed to handle multiple conditions efficiently.<\/span>[\/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;\">=<\/span><span style=\"font-weight: 400;\">SUMIFS(sum_range, criteria_range1, criterion1, [criteria_range2, criterion2, &#8230;])<\/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;\">The example below sums the values in B1:B10 where the corresponding cells in\u00a0 A1:A10 are greater than 0 and the cells in C1:C10 are less than 5.<\/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;\">=SUMIFS(B1:B10, A1:A10, &#8220;&gt;0&#8221;, C1:C10, &#8220;&lt;5&#8221;)<\/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;]<span style=\"font-weight: 400;\">For more details on using SUMIFS for multiple criteria, <\/span><a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/sumifs-with-multiple-criteria\/\"><span style=\"font-weight: 400;\">check out our SUMIFS article<\/span><\/a><span style=\"font-weight: 400;\">.<\/span>[\/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;\">Conclusion<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Mastering the <\/span><b>SUMIF<\/b><span style=\"font-weight: 400;\"> function in Google Sheets can significantly enhance your data analysis capabilities.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Additionally, Sheetgo can further streamline your workflow by automating data transfers and consolidations, making your data management process more efficient and accurate.<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The SUMIF function in Google Sheets allows you to sum values in a range based on specific criteria. Whether you&#8217;re dealing with financial data, inventory lists, or any other dataset, it can perform calculations efficiently. This guide will walk you through the syntax of the SUMIF function, provide practical use cases, and introduce the SUMIFS [&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-50065","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\/pt\/wp-json\/wp\/v2\/posts\/50065","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/users\/33"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/comments?post=50065"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/posts\/50065\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/media\/44470"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/media?parent=50065"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/categories?post=50065"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/tags?post=50065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}