{"id":53069,"date":"2025-04-22T17:32:02","date_gmt":"2025-04-22T15:32:02","guid":{"rendered":"https:\/\/blog.sheetgo.com\/?p=53069"},"modified":"2025-12-17T19:36:08","modified_gmt":"2025-12-17T18:36:08","slug":"sumif-sumifs-dicas-do-google-sheets","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/pt\/blog\/google-sheets-features\/sumif-sumifs-google-sheets-tips\/","title":{"rendered":"Desbloqueando o poder de SUMIF e SUMIFS no Planilhas Google: 4 casos de uso na vida real"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.27.2&#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.27.2&#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.27.2&#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.27.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>The SUMIF and SUMIFS formulas in Google Sheets are indispensable tools for performing conditional summations. They simplify complex calculations, enabling you to save time and focus on analyzing results. From inventory management to employee hours tracking, these formulas offer versatile solutions for real-world data challenges. In this blog, we\u2019ll cover four practical use cases with examples to showcase the power of SUMIF and SUMIFS.<\/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<h3><b>What Are SUMIF and SUMIFS?<\/b><\/h3>\n<ul>\n<li>SUMIF: Calculates the sum of values based on a single condition.<\/li>\n<ul>\n<li>=SUMIF(range, criterion, [sum_range])<\/li>\n<\/ul>\n<li>SUMIFS: Calculates the sum of values based on multiple conditions.<\/li>\n<ul>\n<li>=SUMIFS(sum_range, criteria_range1, criterion1, [criteria_range2, criterion2], \u2026)<\/li>\n<\/ul>\n<\/ul>\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<h3><b>Why Use SUMIF and SUMIFS?<\/b><\/h3>\n<ul>\n<li>Time-Saving: Automates complex summations, eliminating manual calculations.<\/li>\n<li>Accurate: Ensures consistent results with well-defined conditions.<\/li>\n<li>Dynamic: Automatically updates when data changes.<\/li>\n<li>Flexible: Handles multiple conditions for advanced analytics<\/li>\n<\/ul>\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><b>Practical Applications of SUMIF and SUMIFS<\/b><\/h2>\n<h3><b>1. Inventory Management: Calculate Total Stock by Category<\/b><\/h3>\n<p>Scenario: An inventory manager wants to calculate the total stock for a specific product category.<\/p>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<td>A<\/td>\n<td>B<\/td>\n<td>C<\/td>\n<\/tr>\n<tr>\n<td><b>Category<\/b><\/td>\n<td><b>SKU<\/b><\/td>\n<td><b>Stock<\/b><\/td>\n<\/tr>\n<tr>\n<td>Electronics<\/td>\n<td>SKU001<\/td>\n<td>50<\/td>\n<\/tr>\n<tr>\n<td>Electronics<\/td>\n<td>SKU002<\/td>\n<td>30<\/td>\n<\/tr>\n<tr>\n<td>Furniture<\/td>\n<td>SKU003<\/td>\n<td>40<\/td>\n<\/tr>\n<tr>\n<td>Electronics<\/td>\n<td>SKU004<\/td>\n<td>20<\/td>\n<\/tr>\n<tr>\n<td>Furniture<\/td>\n<td>SKU005<\/td>\n<td>25<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><b>Formula<\/b><\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#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<p>=SUMIF($A$4:$A,F2,$C$4:$C)<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;]<strong>Result<\/strong><\/p>\n<table>\n<tbody>\n<tr>\n<td>F<\/td>\n<td>G<\/td>\n<\/tr>\n<tr>\n<td><b>Category<\/b><\/td>\n<td><b>Total stock<\/b><\/td>\n<\/tr>\n<tr>\n<td>Electronics<\/td>\n<td>100<\/td>\n<\/tr>\n<tr>\n<td>Furniture<\/td>\n<td>65<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h4><b>Formula breakdown:<\/b><\/h4>\n<p><b>$A$4:$A<\/b>:<\/p>\n<ul>\n<li>The <b>range<\/b> of cells in column A (Category) that the formula evaluates against the condition in F5.<\/li>\n<li>The $ makes the reference absolute, meaning it won\u2019t change when the formula is copied to other cells.<\/li>\n<\/ul>\n<p><b>F5<\/b>:<\/p>\n<ul>\n<li>The <b>criterion<\/b> or condition to match (e.g., &#8220;Electronics&#8221;).<\/li>\n<li>Dynamically changes based on the value in F5.<\/li>\n<\/ul>\n<p><b>$C$4:$C<\/b>:<\/p>\n<ul>\n<li>The <b>sum_range<\/b>, or the range of cells in column C (Stock) that the formula sums when the condition in F5 is met.<\/li>\n<li>The $ ensures this range remains constant when the formula is copied.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><i>Check the formula in the spreadsheet: <\/i><a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/1g85d7YLmOEYeDJ82J8F2P1CCG3ZTQlQraB6DW4uk2n0\/copy\" target=\"_blank\" rel=\"noopener\"><i>Click here<\/i><\/a>[\/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<h4><b>How it works:<\/b><\/h4>\n<ul>\n<li>The formula looks at the value in F5 (e.g., &#8220;Electronics&#8221;).<\/li>\n<li>It searches the range $A$4:$A for matches.<\/li>\n<li>For each match, it adds the corresponding value from the range $C$4:$C.<\/li>\n<\/ul>\n<h4><b>Benefits:<\/b><\/h4>\n<ul>\n<li>Quickly calculates stock totals for specific categories, making inventory tracking more efficient.<\/li>\n<\/ul>\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<h3><b>2. Expense Tracking: Calculate Monthly Travel Expenses<\/b><\/h3>\n<p>Scenario: A finance team wants to calculate monthly travel expenses based on specific dates, grouping the expenses by month dynamically.<\/p>\n<table>\n<tbody>\n<tr>\n<td>A<\/td>\n<td>B<\/td>\n<td>C<\/td>\n<\/tr>\n<tr>\n<td><b>Category<\/b><\/td>\n<td><b>Date<\/b><\/td>\n<td><b>Amount ($)<\/b><\/td>\n<\/tr>\n<tr>\n<td>Travel<\/td>\n<td>01\/01\/2024<\/td>\n<td>500<\/td>\n<\/tr>\n<tr>\n<td>Travel<\/td>\n<td>01\/15\/2024<\/td>\n<td>700<\/td>\n<\/tr>\n<tr>\n<td>Marketing<\/td>\n<td>02\/02\/2024<\/td>\n<td>300<\/td>\n<\/tr>\n<tr>\n<td>Travel<\/td>\n<td>02\/10\/2024<\/td>\n<td>200<\/td>\n<\/tr>\n<tr>\n<td>Supplies<\/td>\n<td>10\/20\/2024<\/td>\n<td>100<\/td>\n<\/tr>\n<tr>\n<td>Travel<\/td>\n<td>03\/05\/2024<\/td>\n<td>600<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><b>Formula<\/b><\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#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<p>\u00a0=SUMIFS($C$4:$C, $A$4:$A, &#8220;Travel&#8221;, $B$4:$B, &#8220;&gt;=&#8221;&amp;$F5, $B$4:$B,&#8221;&lt;=&#8221;&amp;EOMONTH($F5,0))<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;]<strong>Result<\/strong><\/p>\n<table>\n<tbody>\n<tr>\n<td>F<\/td>\n<td>G<\/td>\n<\/tr>\n<tr>\n<td><b>Month<\/b><\/td>\n<td><b>Total Travel Expenses<\/b><\/td>\n<\/tr>\n<tr>\n<td>January 2024<\/td>\n<td>1200<\/td>\n<\/tr>\n<tr>\n<td>February 2024<\/td>\n<td>200<\/td>\n<\/tr>\n<tr>\n<td>March 2024<\/td>\n<td>600<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h4><b>Formula breakdown:<\/b><\/h4>\n<p><b>$C$4:$C<\/b>:<\/p>\n<ul>\n<li>The <b>sum_range<\/b>, or the range of cells containing the amounts to sum.<\/li>\n<li>$ ensures this range stays fixed when copying the formula.<\/li>\n<\/ul>\n<p><b>$A$4:$A<\/b>:<\/p>\n<ul>\n<li>The <b>criteria_range1<\/b>, where the formula checks for the category (e.g., &#8220;Travel&#8221;).<\/li>\n<li>$ locks this range for reusability.<\/li>\n<\/ul>\n<p><b>&#8220;Travel&#8221;<\/b>:<\/p>\n<ul>\n<li>The <b>criterion1<\/b> to filter rows where the category is &#8220;Travel.&#8221;<\/li>\n<\/ul>\n<h4><b>$B$4:$B<\/b>:<\/h4>\n<ul>\n<li>The <b>criteria_range2<\/b>, where the formula checks the dates.<\/li>\n<li>$ locks this range for consistency.<\/li>\n<\/ul>\n<p><b>&#8220;&gt;=&#8221;&amp;$F5<\/b>:<\/p>\n<ul>\n<li>The <b>criterion2<\/b> specifies the start of the date range.<\/li>\n<li>$F5 contains the first day of the desired month (e.g., 01\/01\/2024 for January 2024).<\/li>\n<li>The &#8220;&gt;=&#8221; ensures that only rows with dates on or after this start date are included.<\/li>\n<\/ul>\n<p><b>&#8220;&lt;=&#8221;&amp;EOMONTH($F5,0)<\/b>:<\/p>\n<ul>\n<li>The <b>criterion3<\/b> specifies the end of the date range.<\/li>\n<li>EOMONTH($F5,0) calculates the last day of the month based on the value in $F5.<\/li>\n<li>The &#8220;&lt;=&#8221; ensures that only rows with dates on or before this end date are included.<\/li>\n<\/ul>\n<p><i>Check the formula in the spreadsheet: <\/i><a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/1g85d7YLmOEYeDJ82J8F2P1CCG3ZTQlQraB6DW4uk2n0\/copy\" target=\"_blank\" rel=\"noopener\"><i>Click here<\/i><\/a>[\/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<h3><b>How it works:<\/b><\/h3>\n<ol>\n<li><b>Category Match<\/b>:<\/li>\n<ul>\n<li>Filters the data to include only rows where the category is &#8220;Travel.&#8221;<\/li>\n<\/ul>\n<li><b>Date Range<\/b>:<\/li>\n<ul>\n<li>Filters further to include only rows where the date falls between the start ($F5) and the end of the month (EOMONTH($F5,0)).<\/li>\n<\/ul>\n<li><b>Summation<\/b>:<\/li>\n<ul>\n<li>Adds up the values in the <b>sum_range (<\/b><b>$C$5:$C<\/b><b>)<\/b> that meet both conditions.<\/li>\n<\/ul>\n<\/ol>\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<h3><b>Benefits:<\/b><\/h3>\n<ul>\n<li><b>Dynamic Date Filtering<\/b>:<\/li>\n<ul>\n<li>Uses EOMONTH to dynamically determine the end of the month, ensuring accurate date ranges.<\/li>\n<\/ul>\n<li><b>Multi-Criteria Filtering<\/b>:<\/li>\n<ul>\n<li>Combines category matching and date range filtering in a single formula for precise results.<\/li>\n<\/ul>\n<li><b>Scalable<\/b>:<\/li>\n<ul>\n<li>Works seamlessly with large datasets, handling multiple months and categories efficiently.<\/li>\n<\/ul>\n<li><b>Reusable<\/b>:<\/li>\n<ul>\n<li>With locked references ($), the formula can be easily copied across cells for different months.<\/li>\n<\/ul>\n<\/ul>\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><b>3. Sales Performance: Calculate Sales for a Product in a Region<\/b><\/h2>\n<p>Scenario: A sales manager wants to calculate the total sales of &#8220;Product A&#8221; for each region dynamically.<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<p>A<\/p>\n<\/td>\n<td>\n<p>B<\/p>\n<\/td>\n<td>\n<p>C<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><b>Product<\/b><\/p>\n<\/td>\n<td>\n<p><b>Region<\/b><\/p>\n<\/td>\n<td>\n<p><b>Sales ($)<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Product A<\/p>\n<\/td>\n<td>\n<p>North<\/p>\n<\/td>\n<td>\n<p>1000<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Product B<\/p>\n<\/td>\n<td>\n<p>North<\/p>\n<\/td>\n<td>\n<p>800<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Product A<\/p>\n<\/td>\n<td>\n<p>South<\/p>\n<\/td>\n<td>\n<p>1200<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Product A<\/p>\n<\/td>\n<td>\n<p>East<\/p>\n<\/td>\n<td>\n<p>900<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Product B<\/p>\n<\/td>\n<td>\n<p>East<\/p>\n<\/td>\n<td>\n<p>700<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Product A<\/p>\n<\/td>\n<td>\n<p>West<\/p>\n<\/td>\n<td>\n<p>1500<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Formula<\/strong><\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#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<p>=SUMIFS($C$4:$C, $A$4:$A, &#8220;Product A&#8221;, $B$4:$B, F5)<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;]<strong>Results<\/strong><\/p>\n<table>\n<tbody>\n<tr>\n<td>F<\/td>\n<td>G<\/td>\n<\/tr>\n<tr>\n<td><b>Region<\/b><\/td>\n<td><b>Total Sales (Output)<\/b><\/td>\n<\/tr>\n<tr>\n<td>North<\/td>\n<td>1000<\/td>\n<\/tr>\n<tr>\n<td>South<\/td>\n<td>1200<\/td>\n<\/tr>\n<tr>\n<td>East<\/td>\n<td>900<\/td>\n<\/tr>\n<tr>\n<td>West<\/td>\n<td>1500<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4><b>Formula breakdown:<\/b><\/h4>\n<p><b>$C$4:$C<\/b>:<\/p>\n<ul>\n<li>The <b>sum_range<\/b>, or the range containing the sales values to be summed.<\/li>\n<li>$ ensures the reference stays fixed when the formula is copied.<\/li>\n<\/ul>\n<p><b>$A$4:$A<\/b>:<\/p>\n<ul>\n<li>The <b>criteria_range1<\/b>, or the range containing product names.<\/li>\n<li>$ locks this range for consistency.<\/li>\n<\/ul>\n<p><b>&#8220;Product A&#8221;<\/b>:<\/p>\n<ul>\n<li>The <b>criterion1<\/b>, which filters rows where the product is &#8220;Product A.&#8221;<\/li>\n<\/ul>\n<p><b>$B$4:$B<\/b>:<\/p>\n<ul>\n<li>The <b>criteria_range2<\/b>, or the range containing region names.<\/li>\n<li>$ locks this range for reuse.<\/li>\n<\/ul>\n<p><b>F5<\/b>:<\/p>\n<ul>\n<li>The <b>criterion2<\/b>, dynamically referencing the region name (e.g., &#8220;North&#8221;) for each row.<\/li>\n<\/ul>\n<p><i>Check the formula in the spreadsheet: <\/i><a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/1g85d7YLmOEYeDJ82J8F2P1CCG3ZTQlQraB6DW4uk2n0\/copy\" target=\"_blank\" rel=\"noopener\"><i>Click here<\/i><\/a>[\/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<h3><b>How it works:<\/b><\/h3>\n<ul>\n<li>The formula filters rows where <b>Product = &#8220;Product A&#8221;<\/b>.<\/li>\n<li>It further filters these rows by matching the region (e.g., &#8220;North&#8221;) specified in column F.<\/li>\n<li>The formula sums the sales values in column C for rows meeting both conditions.<\/li>\n<\/ul>\n<h3><b>Benefits:<\/b><\/h3>\n<ul>\n<li><b>Dynamic Region Filtering: <\/b>Automatically calculates totals for each region without manual filtering.<\/li>\n<li><b>Multi-Criteria Matching: <\/b>Combines product and region conditions seamlessly.<\/li>\n<li><b>Scalability: <\/b>Handles large datasets with multiple regions and products efficiently.<\/li>\n<li><b>Reusable Formula: <\/b>Can be copied across rows for different regions dynamically.<\/li>\n<\/ul>\n<h2><b>4. Employee Hours: Calculate Total Hours by Project and Employee<\/b><\/h2>\n<p>Scenario: A project manager wants to calculate the total hours worked by specific employees on specific projects dynamically.<\/p>\n<table>\n<tbody>\n<tr>\n<td>A<\/td>\n<td>B<\/td>\n<td>C<\/td>\n<\/tr>\n<tr>\n<td><b>Employee<\/b><\/td>\n<td><b>Project<\/b><\/td>\n<td><b>Hours<\/b><\/td>\n<\/tr>\n<tr>\n<td>Alice<\/td>\n<td>Project X<\/td>\n<td>8<\/td>\n<\/tr>\n<tr>\n<td>Bob<\/td>\n<td>Project Y<\/td>\n<td>6<\/td>\n<\/tr>\n<tr>\n<td>Alice<\/td>\n<td>Project X<\/td>\n<td>10<\/td>\n<\/tr>\n<tr>\n<td>Clara<\/td>\n<td>Project Y<\/td>\n<td>7<\/td>\n<\/tr>\n<tr>\n<td>Alice<\/td>\n<td>Project Z<\/td>\n<td>5<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#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<p>\u00a0=SUMIFS($C$4:$C, $A$4:$A, F5, $B$4:$B, G5)<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<table>\n<tbody>\n<tr>\n<td>F<\/td>\n<td>G<\/td>\n<td>H<\/td>\n<\/tr>\n<tr>\n<td><b>Employee<\/b><\/td>\n<td><b>Project<\/b><\/td>\n<td><b>Total Hours (Output)<\/b><\/td>\n<\/tr>\n<tr>\n<td>Alice<\/td>\n<td>Project X<\/td>\n<td>18<\/td>\n<\/tr>\n<tr>\n<td>Alice<\/td>\n<td>Project Z<\/td>\n<td>5<\/td>\n<\/tr>\n<tr>\n<td>Bob<\/td>\n<td>Project Y<\/td>\n<td>6<\/td>\n<\/tr>\n<tr>\n<td>Clara<\/td>\n<td>Project Y<\/td>\n<td>7<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4><b>Formula breakdown:<\/b><\/h4>\n<p><b>$C$4:$C<\/b>:<\/p>\n<ul>\n<li>The <b>sum_range<\/b>, or the range containing the hours to be summed.<\/li>\n<li>The $ locks this range so it doesn\u2019t change when the formula is copied.<\/li>\n<\/ul>\n<p><b>$A$4:$A<\/b>:<\/p>\n<ul>\n<li>The <b>criteria_range1<\/b>, where the formula checks for matching employee names.<\/li>\n<li>The $ locks this range for consistency across all rows.<\/li>\n<\/ul>\n<p><b>F5<\/b>:<\/p>\n<ul>\n<li>The <b>criterion1<\/b>, dynamically referencing the employee name (e.g., &#8220;Alice&#8221;).<\/li>\n<li>This remains relative and adjusts when the formula is copied to other rows.<\/li>\n<\/ul>\n<p><b>$B$4:$B<\/b>:<\/p>\n<ul>\n<li>The <b>criteria_range2<\/b>, where the formula checks for matching project names.<\/li>\n<li>The $ locks this range to ensure it doesn\u2019t shift when copied.<\/li>\n<\/ul>\n<p><b>G5<\/b>:<\/p>\n<ul>\n<li>The <b>criterion2<\/b>, dynamically referencing the project name (e.g., &#8220;Project X&#8221;).<\/li>\n<li>This remains relative and adjusts when the formula is copied to other rows.<\/li>\n<\/ul>\n<p><i>Check the formula in the spreadsheet: <\/i><a href=\"https:\/\/docs.google.com\/spreadsheets\/d\/1g85d7YLmOEYeDJ82J8F2P1CCG3ZTQlQraB6DW4uk2n0\/copy\" target=\"_blank\" rel=\"noopener\"><i>Click here<\/i><\/a>[\/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<h3><b>How it works:<\/b><\/h3>\n<ul>\n<li><b>Match Employee Name<\/b>:\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Filters rows where the employee name in $A$4:$A matches the value in F5.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li><b>Match Project Name<\/b>:\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Further filters rows where the project name in $B$4:$B matches the value in G5.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li><b>Sum Hours<\/b>:\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Adds up the values in $C$4:$C for rows meeting both conditions.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3><b>Benefits:<\/b><\/h3>\n<ul>\n<li><strong>Dynamic Summations:<\/strong> Calculates hours dynamically for any employee-project combination.<\/li>\n<li><strong>Multi-Criteria Filtering:<\/strong> Combines employee and project conditions in a single formula.<\/li>\n<li><strong>Reusable:<\/strong> Can be applied across multiple rows for different employee-project combinations.<\/li>\n<li><strong>Scalable:<\/strong> Efficiently handles large datasets with multiple employees and projects.<\/li>\n<\/ul>\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<h1><b>Simplify your workflows with Sumif and Sumifs<\/b><\/h1>\n<p>The SUMIF and SUMIFS formulas are invaluable for handling conditional summations in Google Sheets. Whether tracking inventory, analyzing sales, or monitoring employee hours, these formulas help you make informed decisions quickly and efficiently.<\/p>\n<p>Have a unique use case for SUMIF or SUMIFS? Share it in the comments\u2014we\u2019d love to hear your ideas!<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The SUMIF and SUMIFS formulas in Google Sheets are indispensable tools for performing conditional summations. They simplify complex calculations, enabling you to save time and focus on analyzing results. From inventory management to employee hours tracking, these formulas offer versatile solutions for real-world data challenges. In this blog, we\u2019ll cover four practical use cases with [&hellip;]<\/p>\n","protected":false},"author":46,"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":[37],"tags":[],"class_list":["post-53069","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-sheets-features"],"acf":[],"permalink_manager":null,"_links":{"self":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/posts\/53069","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\/46"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/comments?post=53069"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/posts\/53069\/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=53069"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/categories?post=53069"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/tags?post=53069"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}