6.2 C
London
Thursday, December 19, 2024
HomeSoftware TutorialsGoogle SheetsGoogle Sheets: How to Use SUMIF with Multiple Columns

Google Sheets: How to Use SUMIF with Multiple Columns

Related stories

Learn About Opening an Automobile Repair Shop in India

Starting a car repair shop is quite a good...

Unlocking the Power: Embracing the Benefits of Tax-Free Investing

  Unlocking the Power: Embracing the Benefits of Tax-Free Investing For...

Income Splitting in Canada for 2023

  Income Splitting in Canada for 2023 The federal government’s expanded...

Can I Deduct Home Office Expenses on my Tax Return 2023?

Can I Deduct Home Office Expenses on my Tax...

Canadian Tax – Personal Tax Deadline 2022

  Canadian Tax – Personal Tax Deadline 2022 Resources and Tools...

The SUMIFS() function in Google Sheets can be used to sum values that meet criteria in multiple columns.

This function uses the following syntax:

SUMIFS(sum_range, criteria_range1, criterion1, criteria_range2, criterion2, …)

where:

  • sum_range: The range of cells to sum.
  • criteria_range1: The first range of cells to look at.
  • criterion1: The criterion to look for in the first range of cells.

The following example shows how to use this function in practice.

Example 1: Using SUMIFS with Character Columns in Google Sheets

Suppose we have the following dataset that shows information for various basketball players:

We can use the following SUMIFS() function to sum the points scored by players who are on the Spurs and have a Guard position.

The total points scored by players who are on the Spurs and have a Guard position is 44.

Example 2: Using SUMIFS with Character & Numeric Columns in Google Sheets

Once again suppose we have the following dataset that shows information for various basketball players:

We can use the following SUMIFS() function to sum the points scored by players who are on the Spurs and had more than 5 assists:

The total points scored by players who are on the Spurs and had more than 5 assists is 70.

Specifically, we can see that three players met this criteria: Player 1, Player 2, and Player 4.

Combined, they have a total of 31 + 19 + 20 = 70 points.

Additional Resources

The following tutorials explain how to perform other common operations in Google Sheets:

How to Use COUNTIF From Another Sheet in Google Sheets
How to Use COUNTIF with Multiple Ranges in Google Sheets
How to Calculate Frequencies in Google Sheets

Subscribe

- Never miss a story with notifications

- Gain full access to our premium content

- Browse free from up to 5 devices at once

Latest stories