The right way to Use SumIf in Google Sheets


Whenever you’re managing spreadsheets, even a comparatively small quantity of knowledge can grow to be troublesome to handle fairly shortly. However instruments like Google Sheets have many capabilities that aid you work with knowledge extra effectively.

→ Access Now: Google Sheets Templates [Free Kit]

A standard problem is determining what number of cases you’ve gotten of particular values inside a big spreadsheet. That’s the place the SumIf operate in Google Sheets comes into play. Utilizing this operate, you possibly can add up numbers in a spreadsheet primarily based on sure situations.

Utilizing a SumIf operate in Google Sheets successfully can take some follow, particularly in additional advanced conditions. So listed here are step-by-step directions and examples of utilizing SumIf in Google Sheets that can assist you in your manner.

Desk of Contents:

What does SumIf do in Google Sheets?

In Google Sheets, the SumIf operate provides up the values in a spread of cells that meet sure standards. It permits you to add numbers in a particular vary primarily based on a given situation, reminiscent of values that meet a specified situation, fall inside a sure vary, or match a specific textual content string.

The syntax of the SumIf operate in Google Sheets is as follows:

=SUMIF(vary, standards, [sum_range])

  • Vary: The vary of cells that you just wish to consider.
  • Standards: The standards that you just wish to use to find out which cells to sum up.
  • Sum_range: The vary of cells that you just wish to sum up. If this argument will not be offered, the cells within the vary argument will probably be used.

Let’s say you’ve gotten a column of gross sales knowledge, and also you wish to sum up a specific particular person’s gross sales. You might use the SumIf operate.

You’d specify the vary of cells that include the gross sales knowledge, the factors that specify which salesperson’s gross sales you wish to sum up, and the sum vary (which, on this case, could be the identical because the vary argument).

The operate would then calculate the sum of all of the gross sales that match your specified standards.

The Advantages of Utilizing SumIf in Google Sheets

Typically, you could have to sum up values in a spread primarily based on particular standards or situations. With out the SumIf operate, you would wish to manually type, filter, and add up the values that meet your standards, which might be time-consuming and end in many errors.

You may additionally have to carry out dynamic calculations that replace mechanically as your knowledge adjustments. Through the use of the SumIf operate, you possibly can create formulation which can be linked to your knowledge and replace mechanically every time new knowledge is added or present knowledge is modified.

The SumIf operate can also be very versatile and simple to customise. It may be as simple or as advanced as you want it to be. Google Sheets permits you to choose a variety of standards and situations for summing up values via the SumIf operate.

Plus, it’s appropriate with loads of different capabilities inside Google Sheets if you must prolong your components or create advanced calculations. This contains AverageIf, CountIf, MaxIf, and extra.

The right way to Use SumIf in Google Sheets

    1. Open a brand new or present Google Sheets doc.
    2. Enter your knowledge into the worksheet. For instance, you might need an inventory of gross sales transactions with columns for date, product, amount, and worth.sumif google sheets, sumif google sheets example
    3. Determine what standards you wish to use to sum up your knowledge. For instance, you would possibly wish to sum up the gross sales for a specific product or for a particular date vary.
    4. Click on on the cell the place you wish to show the sum of your knowledge.
    5. Sort “=SUMIF(” into the cell. This may begin the SUMIF components.sumif to calculate boots price, create a conditional sum
    6. Choose the vary of cells that you just wish to seek for the factors. For instance, if you wish to sum up the gross sales for a specific product, you would choose the column that accommodates the product names.
    7. Sort a comma “,” after the vary of cells.sumif to calculate boots price, select cells
    8. Enter the factors that you just wish to use for summing up the info. For instance, if you wish to sum up the gross sales for a product named “Boots”, you’d enter “Boots” in citation marks.
    9. Sort one other comma “,” after the factors.sumif to calculate boots price, apply conditional statement
    10. Choose the vary of cells that accommodates the values that you just wish to sum up. For instance, to sum up the gross sales for the “Boots” product, you would choose the column that accommodates the gross sales values.sumif to calculate boots price, apply quantity


  1. Shut the components by typing “)” and press Enter. The sum of the values that meet your standards will probably be displayed within the cell. On this occasion, the SumIf operate reveals us that 16 pairs of shoes have been offered in complete.sumif to calculate boots price, sum

You may as well use the SumIf operate to sum up values primarily based on a number of standards by utilizing the “&” operator to mix the factors. For instance, to sum up the gross sales for the “Boots” product for 2023 to this point, you’d use the components:


On this occasion, B2:B11 accommodates the product names, C2:C11 accommodates the gross sales values, and A2:A11 accommodates the dates.

SumIf in Google Sheets Instance

To get a way of how helpful SumIf might be with giant knowledge units, let’s check out a extra in-depth instance. On this occasion, you want the SumIf assertion to make use of knowledge from a number of sheets.

Suppose you’ve gotten an inventory of workers and their corresponding salaries on one sheet and a separate sheet containing every worker’s job title.

On this occasion, we’ll use the SumIf operate to sum up the general wage spent on workers with a particular job title.

  1. Choose the cell the place you need the ultimate worth to seem and start your SumIf components. First, choose the info in Column C (“Job Titles”), as that is the vary you wish to consider.sumif to find occupational therapist salary, select the data in Column C (“Job Titles”), as this is the range you want to evaluate
  2. On this case, we’re looking for out what number of Occupational Therapists are on the payroll. So, “Occupational Therapist” has been entered into the components as the factors.
  3. Subsequent, we have to inform the operate the vary of cells you wish to sum up primarily based on the factors. We wish to know concerning the salaries of occupational therapists, which implies deciding on the info below Column B (“Annual Wage”).sumif to find occupational therapist salary, tell the function the range of cells you want to sum up based on the criteria
  4. When the Enter key’s hit after closing the components with “)”, we are able to see that the corporate spends $622,435 yearly on salaries for Occupational Therapists.

sumif to find occupational therapist salary, sum for occupational therapist salary

If you happen to wished to know this details about every job title within the firm, you’d merely create one other desk in a separate sheet with one occasion of every job title and duplicate the components down, changing the factors for every row to match the job title you wish to reference.

sumif to find occupational therapist salary, copying formula

So, in simply a few steps, you’d be left with a desk that sums up all the knowledge in a single place slightly than manually counting and including up lots of of cells.

sumif to find occupational therapist salary, apply formula

Greatest Practices for Utilizing SumIf

The SumIf operate is pretty easy and simple to make use of. However like all spreadsheet capabilities, it’s straightforward to get an ERROR end result in case your components isn’t formatted accurately or should you don’t stick with some key greatest practices.

Use descriptive standards.

Utilizing descriptive standards may also help make your components extra readable and comprehensible.

For instance, if you’re summing gross sales knowledge for a specific area, use the title of the area as your standards, slightly than a generic time period like “Area A”.

Use cell references.

Utilizing cell references as an alternative of typing standards straight into your components makes it simpler to replace your standards if wanted.

For instance, if you must change the title of the area you might be summing, you possibly can merely replace the cell reference as an alternative of modifying the components.

Examine your ranges.

Guarantee that the vary you might be summing and the vary you might be utilizing for standards are the identical measurement and have the identical structure. If the ranges are totally different, you could get sudden outcomes or errors.

Use the right syntax.

The syntax of the SUMIF operate is SUMIF(vary, standards, sum_range). Just remember to are utilizing the right order of arguments and that every argument is separated by a comma.

Check your components.

Testing your components with a small subset of knowledge may also help you catch errors or sudden outcomes earlier than making use of it to a bigger dataset. That is particularly essential if you’re utilizing extra advanced standards or formulation.

Use different capabilities for extra advanced standards.

If you must sum knowledge primarily based on extra advanced standards, think about using different capabilities reminiscent of SUMIFS, which lets you specify a number of standards.

For instance, you should utilize SUMIFS to sum gross sales knowledge for a specific area and time interval.

Hold your knowledge organized.

Maintaining your knowledge organized and well-formatted could make it simpler to make use of SUMIF and different capabilities in Google Sheets.

Think about using tables or formatting your knowledge as a named vary to make it simpler to reference in your formulation. You may as well use filters or sorting to shortly discover the info you want.

Getting Began

The SumIf operate is a straightforward answer to summing up knowledge primarily based on particular standards. Through the use of cell references, descriptive standards, and different greatest practices, you can also make your formulation extra readable, correct, and environment friendly.

Whether or not you might be summing gross sales knowledge, monitoring bills, or analyzing survey outcomes, the SumIf operate may also help you shortly and simply calculate totals primarily based on particular situations. With a bit of follow, you’ll quickly be utilizing this operate with ease.

business google sheets templates

Source link


Please enter your comment!
Please enter your name here