{"id":50065,"date":"2024-06-21T17:15:13","date_gmt":"2024-06-21T15:15:13","guid":{"rendered":"https:\/\/blog.sheetgo.com\/?p=50065"},"modified":"2026-11-11T16:24:48","modified_gmt":"2026-11-11T15:24:48","slug":"formula-sumif-google-sheets","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/es\/blog\/google-sheets-formulas\/sumif-google-sheets\/","title":{"rendered":"C\u00f3mo usar SUMIF en Google Sheets"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221; _builder_version=&#8221;4.16&#8243; 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 admin_label=&#8221;row&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#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.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#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>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.<\/p>\n<p>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.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;sumif-and-sumifs-syntax-in-google-sheets&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2>SUMIF and SUMIFS syntax in Google Sheets<\/h2>\n<p>Let\u2019s review the syntax for SUMIF and SUMIFS before using them.<\/p>\n<h3>SUMIF syntax<\/h3>\n<p>Google Sheets\u2019 SUMIF function has two required parameters and an optional parameter.<\/p>\n<blockquote>\n<p>=SUMIF(range, criterion,[sum_range])<\/p>\n<\/blockquote>\n<ul>\n<li><strong>range:<\/strong> the range of cells that you want to test using the criterion.<\/li>\n<li><strong>criterion:<\/strong> the test or condition that you want to apply to the range.<\/li>\n<li><strong>sum_range:<\/strong> the range you want to sum if different from the range used as the first parameter.<\/li>\n<\/ul>\n<h3>SUMIFS syntax: the sum range comes first<\/h3>\n<p>Google Sheets\u2019 SUMIFS function has three required parameters. However, SUMIFS allows you to provide additional parameters to test multiple ranges using different criteria.<\/p>\n<blockquote>\n<p>=SUMIFS(sum_range, criteria_range1, criterion1, [criteria_range2, criterion2, &#8230;])<\/p>\n<\/blockquote>\n<p>Watch the order: in SUMIFS the sum range comes first, while in SUMIF it comes last and is optional. The sum_range, the first range, and the first criterion are required arguments.<\/p>\n<ul>\n<li><strong>sum_range:<\/strong> the range you want to sum.<\/li>\n<li><strong>criteria_range1:<\/strong> the range of cells that you want to test using the first criterion.<\/li>\n<li><strong>criterion1:<\/strong> the test or condition that you want to apply to the first range.<\/li>\n<\/ul>\n<p>Additional ranges and criteria are optional, but you can add as many as you want. However, the dimensions of subsequent ranges must be equal to those of the first range &#8211; all ranges should have the same number of rows and columns.<\/p>\n<ul>\n<li><strong>criteria_range2*:<\/strong> the second range of cells that you want to test using the second criterion.<\/li>\n<li><strong>criterion2*:<\/strong> the test or condition you want to apply to the second range.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/sumifs-with-multiple-criteria\/\">See more examples in our guide to SUMIFS with multiple criteria.<\/a><\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;how-to-write-sumif-and-sumifs-criteria&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2>How to write SUMIF and SUMIFS criteria<\/h2>\n<p>There are many useful operators you can use to define the criteria or conditions in the SUMIF and SUMIFS functions. For example, these two formulas add up the values next to non-blank cells and next to blank cells, respectively.<\/p>\n<blockquote>\n<p>=SUMIF(range, &quot;&lt;&gt;&quot;, sum_range)<br \/>=SUMIF(range, &quot;&quot;, sum_range)<\/p>\n<\/blockquote>\n<h3>Numbers and comparison operators<\/h3>\n<p>When dealing with exact numeric values, you don\u2019t need to use quotes. However, if you&#8217;re using comparison operators, you\u2019ll need the quotes to enclose the condition or criterion.<\/p>\n<ul>\n<li><strong>&lt;&gt;<\/strong> not equal<\/li>\n<li><strong>=<\/strong> equal<\/li>\n<li><strong>&gt;=<\/strong> greater than or equal<\/li>\n<li><strong>&lt;=<\/strong> less than or equal<\/li>\n<li><strong>&gt;<\/strong> greater than<\/li>\n<li><strong>&lt;<\/strong> less than<\/li>\n<\/ul>\n<h3>Text and wildcards<\/h3>\n<p>You also have a lot of options in terms of text values. In addition to matching exact text by using quotation marks, you can also use any of the following wildcards for partial matches.<\/p>\n<ul>\n<li><strong>*<\/strong> Matches 0 or more characters.<\/li>\n<li><strong>?<\/strong> Matches a single character.<\/li>\n<li><strong>~<\/strong> If you need to search for the symbols \u201c*\u201d or \u201c?\u201d, add the tilde before the symbol to escape it, so it&#8217;s not used as a wildcard.<\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;how-to-write-a-sumif-formula-step-by-ste&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2>How to write a SUMIF formula step by step<\/h2>\n<p>Now that you have reviewed the function\u2019s syntax, it&#8217;s time to see some examples of how to use SUMIF in different situations.<\/p>\n<p>Imagine you have a table with sales data, which includes the date, the name of the sales agent, their team, the product, and the sales amount. You need several totals for your sales report, and adding them up by hand would take ages, as the table has five hundred rows.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumif-google-sheets-sales-data.webp&#8221; alt=&#8221;SUMIF Google Sheets \u2014 sales table with date, sales_agent, product, sales_team, and sales_amount columns&#8221; title_text=&#8221;Sales table with date, sales_agent, product, sales_team, and sales_amount columns&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>SUMIF with a text criterion<\/h3>\n<p>For this example, I want to sum the sales amounts corresponding to \u2018productA\u2019.<\/p>\n<p><strong>1.<\/strong> In an empty cell, type the SUMIF formula.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumif-google-sheets-type-formula.webp&#8221; alt=&#8221;SUMIF formula in Google Sheets \u2014 =SUMIF( typed in cell G2 under sales total productA&#8221; title_text=&#8221;=SUMIF( typed in cell G2 under sales total productA&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>2.<\/strong> Select the range to which you want to apply the criterion. In this case, the column with the products.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumif-google-sheets-select-product-range.webp&#8221; alt=&#8221;SUMIF formula in Google Sheets \u2014 product column C:C selected as the range&#8221; title_text=&#8221;Product column C:C selected as the range&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>3.<\/strong> Add the criterion you want to apply to the selected range. For this example, I want an exact match for \u201cproductA\u201d.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumif-google-sheets-text-criterion.webp&#8221; alt=&#8221;SUMIF formula in Google Sheets \u2014 productA typed as the criterion&#8221; title_text=&#8221;ProductA typed as the criterion&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>4.<\/strong> Next, select the range with the values you want to sum if it&#8217;s different from the first range selected. In this case, it is different, as I want to add the values in the sales amount column.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumif-google-sheets-select-sum-range.webp&#8221; alt=&#8221;SUMIF formula in Google Sheets \u2014 sales_amount column E:E selected as the sum range&#8221; title_text=&#8221;Sales_amount column E:E selected as the sum range&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>5.<\/strong> That&#8217;s it. =SUMIF(C:C,&quot;productA&quot;,E:E) returns $119,308.93, the total for sales of productA.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumif-google-sheets-text-result.webp&#8221; alt=&#8221;SUMIF Google Sheets result \u2014 $119,308.93 total for productA in cell G2&#8243; title_text=&#8221;$119,308.93 total for productA in cell G2&#8243; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>SUMIF with a date range<\/h3>\n<p>Imagine that you need to sum values based on the sales date rather than the product or any other text value. For this example, I will find the total amount for sales made on or after February 1st, 2022.<\/p>\n<p><strong>1.<\/strong> Type the SUMIF function in an empty cell.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumif-google-sheets-date-type-formula.webp&#8221; alt=&#8221;SUMIF date range in Google Sheets \u2014 =SUMIF( typed in cell G5 under Sales after Feb.1st&#8221; title_text=&#8221;=SUMIF( typed in cell G5 under Sales after Feb.1st&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>2.<\/strong> Select the range to which you want to apply the criterion. In this example, I\u2019ll select the column with the dates.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumif-google-sheets-date-select-range.webp&#8221; alt=&#8221;SUMIF date range in Google Sheets \u2014 date column A:A selected as the range&#8221; title_text=&#8221;Date column A:A selected as the range&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>3.<\/strong> The criterion needs to check whether the date is greater than or equal to February 1st, 2022.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumif-google-sheets-date-criterion.webp&#8221; alt=&#8221;SUMIF date range in Google Sheets \u2014 on or after 2\/1\/22 typed as the criterion&#8221; title_text=&#8221;On or after 2\/1\/22 typed as the criterion&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>4.<\/strong> Next, you need to select the range with the values to be summed. Below, I have chosen the column with the sales amounts.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumif-google-sheets-date-sum-range.webp&#8221; alt=&#8221;SUMIF date range in Google Sheets \u2014 sales_amount column E:E selected as the sum range&#8221; title_text=&#8221;Sales_amount column E:E selected as the sum range&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>5.<\/strong> That\u2019s it. The total amount for sales made on or after February 1, 2022, is $332,194.88. The full formula is =SUMIF(A:A,&quot;&gt;=2\/1\/22&quot;,E:E).<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumif-google-sheets-date-result.webp&#8221; alt=&#8221;SUMIF date range result in Google Sheets \u2014 $332,194.88 in sales after Feb. 1 in cell G5&#8243; title_text=&#8221;$332,194.88 in sales after Feb. 1 in cell G5&#8243; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2>More SUMIF examples: greater than 0, partial text, and not equal<\/h2>\n<p>Each of these formulas uses one condition. Swap in your own ranges.<\/p>\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>SUMIF greater than 0<\/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>The <b>SUMIF<\/b> function can sum values that are greater than zero.<\/p>\n<p>This is particularly useful for financial data, where you may want to exclude negative balances or zero values from your totals.<\/p>\n<p>The example below the function sums all values in A1:A10 that are greater than 0.<\/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>=SUMIF(A1:A10, &#8220;&gt;0&#8221;)<\/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>SUMIF contains partial text<\/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>The <b>SUMIF<\/b> function can also be used to sum values based on text criteria. You can even include wildcards to consider partial matches.<\/p>\n<p>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.<\/p>\n<p>The example below sums the values in B1:B10 where the matching cells in A1:A10 contain the substring &#8220;text&#8221;.<\/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>=SUMIF(A1:A10, &#8220;*text*&#8221;, B1:B10)<\/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>SUMIF does not equal<\/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>Sometimes, you may need to exclude specific values from your sum.<\/p>\n<p>The <b>SUMIF<\/b> function can sum values that do not equal a criterion, which is great to filter out unwanted data.<\/p>\n<p>The example below sums the values in A1:A10 where the cells do not equal 5.<\/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>=SUMIF(A1:A10, &#8220;&lt;&gt;5&#8221;)<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;sumif-vs-sumifs-when-you-need-more-than&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2>SUMIF vs SUMIFS: when you need more than one condition<\/h2>\n<p>SUMIF checks one condition. When a total depends on two or more, such as one product sold after a certain date, use SUMIFS.<\/p>\n<p>The two functions take their arguments in a different order, and that&#8217;s where most mistakes happen:<\/p>\n<ul>\n<li>=SUMIF(range, criterion, [sum_range]): the range to add up comes last, and you can leave it out.<\/li>\n<li>=SUMIFS(sum_range, criteria_range1, criterion1, &#8230;): the range to add up comes first, and you can&#8217;t leave it out.<\/li>\n<\/ul>\n<p>SUMIFS only adds a row when every condition is true. To add rows that match one condition or another, add two SUMIF formulas together, for example =SUMIF(C:C,&#8221;productA&#8221;,E:E)+SUMIF(C:C,&#8221;productC&#8221;,E:E).<\/p>\n<p>For more cases, see our guide to <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/sumifs-with-multiple-criteria\/\">SUMIFS with multiple criteria<\/a>.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;sumifs-examples-with-multiple-criteria&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2>SUMIFS examples with multiple criteria<\/h2>\n<p>The SUMIFS function lets you sum values based on multiple criteria, which can be applied to multiple ranges. For the sake of simplicity, the examples below are based on the same dataset as the one used for SUMIF.<\/p>\n<h3>SUMIFS with criteria on different columns<\/h3>\n<p>For this example, I want to sum the amounts for all sales of productA made on or after February 1, 2022.<\/p>\n<p><strong>1.<\/strong> In an empty cell, type the SUMIFS formula.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumifs-google-sheets-type-formula.webp&#8221; alt=&#8221;SUMIFS in Google Sheets \u2014 =SUMIFS( typed in cell G2 with sum_range highlighted in the help box&#8221; title_text=&#8221;=SUMIFS( typed in cell G2 with sum_range highlighted in the help box&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>2.<\/strong> Select the range containing the values you want to sum.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumifs-google-sheets-select-sum-range.webp&#8221; alt=&#8221;SUMIFS in Google Sheets \u2014 sales_amount column E:E selected as the sum range&#8221; title_text=&#8221;Sales_amount column E:E selected as the sum range&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>3.<\/strong> Select the first range to which you want to apply the first criterion. In this case, it\u2019s different from the sum range, as I want to check the product column.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumifs-google-sheets-first-criteria-range.webp&#8221; alt=&#8221;SUMIFS in Google Sheets \u2014 product column C:C selected as the first criteria range&#8221; title_text=&#8221;Product column C:C selected as the first criteria range&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>4.<\/strong> Add the criterion you want to apply to the first range. In this example, I want an exact match for \u201cproductA\u201d.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumifs-google-sheets-first-criterion.webp&#8221; alt=&#8221;SUMIFS in Google Sheets \u2014 productA typed as the first criterion&#8221; title_text=&#8221;ProductA typed as the first criterion&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>5.<\/strong> Next, select the second range. This is the range to which you want to apply the second criterion. Below, I have selected the date column.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumifs-google-sheets-second-criteria-range.webp&#8221; alt=&#8221;SUMIFS in Google Sheets \u2014 date column A:A selected as the second criteria range&#8221; title_text=&#8221;Date column A:A selected as the second criteria range&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>6.<\/strong> Add the second criterion, which will be applied to the second range. For this example, I have specified that the date should be on or after February 1, 2022.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumifs-google-sheets-second-criterion.webp&#8221; alt=&#8221;SUMIFS in Google Sheets \u2014 on or after 2\/1\/22 typed as the second criterion&#8221; title_text=&#8221;On or after 2\/1\/22 typed as the second criterion&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>7.<\/strong> That\u2019s it. Sales of productA made on or after the selected date total $70,811.22. The full formula is =SUMIFS(E:E,C:C,&quot;productA&quot;,A:A,&quot;&gt;=2\/1\/22&quot;).<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumifs-google-sheets-two-columns-result.webp&#8221; alt=&#8221;SUMIFS result in Google Sheets \u2014 $70,811.22 for productA sales after Feb. 1&#8243; title_text=&#8221;$70,811.22 for productA sales after Feb. 1&#8243; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>SUMIFS with two criteria on the same column<\/h3>\n<p>SUMIFS can also be used by applying multiple criteria to a single range. Let\u2019s see how you can find the total sales amount for sales with a value between $500 and $1000.<\/p>\n<p><strong>1.<\/strong> Type the SUMIFS formula into an empty cell.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumifs-google-sheets-one-column-formula.webp&#8221; alt=&#8221;SUMIFS with two criteria on one column \u2014 =SUMIFS( typed under total sum of sales between $500 and $1000&#8243; title_text=&#8221;=SUMIFS( typed under total sum of sales between $500 and $1000&#8243; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>2.<\/strong> Select the range of cells containing the values you want to add.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumifs-google-sheets-one-column-sum-range.webp&#8221; alt=&#8221;SUMIFS with two criteria on one column \u2014 sales_amount column E:E selected as the sum range&#8221; title_text=&#8221;Sales_amount column E:E selected as the sum range&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>3.<\/strong> Select the range to which you want to apply the first criterion. In this case, it\u2019s the same as the sum range.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumifs-google-sheets-one-column-first-range.webp&#8221; alt=&#8221;SUMIFS with two criteria on one column \u2014 E:E selected again as the first criteria range&#8221; title_text=&#8221;E:E selected again as the first criteria range&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>4.<\/strong> Add the first criterion. In this example, I want to check that values are greater than or equal to $500.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumifs-google-sheets-at-least-500.webp&#8221; alt=&#8221;SUMIFS with two criteria on one column \u2014 at least 500 typed as the first criterion&#8221; title_text=&#8221;At least 500 typed as the first criterion&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>5.<\/strong> Select the range you want to check using the second criterion. In this case, it\u2019s the same as the sum range and the first range.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumifs-google-sheets-one-column-second-range.webp&#8221; alt=&#8221;SUMIFS with two criteria on one column \u2014 E:E selected as the second criteria range&#8221; title_text=&#8221;E:E selected as the second criteria range&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>6.<\/strong> Add the second criterion. Below, I have specified that values should be less than or equal to $1000.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumifs-google-sheets-at-most-1000.webp&#8221; alt=&#8221;SUMIFS with two criteria on one column \u2014 at most 1000 typed as the second criterion&#8221; title_text=&#8221;At most 1000 typed as the second criterion&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>7.<\/strong> That\u2019s it. You have the total based on values between $500 and $1000: $98,510.33. The full formula is =SUMIFS(E:E,E:E,&quot;&gt;=500&quot;,E:E,&quot;&lt;=1000&quot;).<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/11\/sumifs-google-sheets-between-result.webp&#8221; alt=&#8221;SUMIFS result in Google Sheets \u2014 $98,510.33 in sales between $500 and $1000&#8243; title_text=&#8221;$98,510.33 in sales between $500 and $1000&#8243; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text module_id=&#8221;common-sumif-and-sumifs-errors&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2>Common SUMIF and SUMIFS errors<\/h2>\n<p>When a formula returns an error or a total that looks wrong, check these first:<\/p>\n<ul>\n<li>If you turn a SUMIF into a SUMIFS, move the sum range to the front. Left at the end, it returns an error or the wrong total.<\/li>\n<li>In SUMIFS, every criteria range needs the same number of rows and columns as the sum range. If one is shorter, you get #VALUE!.<\/li>\n<li>Operators go inside quotes: write &#8220;&gt;5&#8221;, not &gt;5. To compare with a cell, join the operator to it, as in &#8220;&gt;=&#8221;&amp;B1.<\/li>\n<li>Dates typed into the criterion, like &#8220;&gt;=2\/1\/22&#8221;, are read in the spreadsheet&#8217;s locale. &#8220;&gt;=&#8221;&amp;DATE(2022,2,1) works in any locale.<\/li>\n<li>SUMIF and SUMIFS skip numbers stored as text, so the total comes out low. Re-enter them as numbers, or convert them with VALUE in a helper column.<\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;conclusion&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2>Conclusion<\/h2>\n<p>SUMIF and SUMIFS are versatile and easy-to-use functions. You can add values based on single or multiple criteria, and these criteria can be applied to single or multiple ranges. You now know the syntax of both functions and how to build criteria using comparison and logical operators on numeric and text values. You also have examples of various scenarios using both functions, with step-by-step instructions.<\/p>\n<p>To learn more about the related functions COUNTIF and COUNTIFS, check out our guide on <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/countifs-in-google-sheets\/\">COUNTIF &amp; COUNTIFS in Google Sheets: formula &amp; examples<\/a>.<\/p>\n<p>To count matching cells instead of adding them up, see how to <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/countif-greater-than-0\/\">use COUNTIF for values greater than 0<\/a>. For formulas that return a value based on a condition, read our guide to <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/google-sheets-if-functions\/\">IF functions in Google Sheets<\/a>. For more ways to explore and summarize your numbers, see our guide to <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-features\/data-analysis-google-sheets\/\">data analysis in Google Sheets<\/a>.<\/p>\n<p>If the numbers you add up live in several spreadsheets, Sheetgo can bring them into one place and keep them updated automatically, so your SUMIF totals stay current and your data is ready for AI analysis.<\/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":[],"permalink_manager":null,"_links":{"self":[{"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/posts\/50065","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/users\/33"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/comments?post=50065"}],"version-history":[{"count":1,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/posts\/50065\/revisions"}],"predecessor-version":[{"id":266769,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/posts\/50065\/revisions\/266769"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/media\/44470"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/media?parent=50065"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/categories?post=50065"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/tags?post=50065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}