Back to Blog

How to Use SUMIF in Google Sheets

D
David DeSouza
Dec 1, 2025
Illustration for How to Use SUMIF in Excel

The Problem

You don't want the total revenue; you want the total revenue specifically for the "East" region.

The Easy Way: Use SheetXAI

If you don't want to mess with formulas, the fastest way to do this is simply by asking.

With SheetXAI, you can open the sidebar and type:

Sum the total revenue for the 'East' region.

SheetXAI will instantly write the formula or script for you and fill the cells. It handles the syntax so you can focus on the result.

The Manual Way: The Formulas You Need

To do this manually, you need to use: SUMIF.

1. SUMIF

Adds the cells specified by a given condition.

Syntax: =SUMIF(range, criteria, [sum_range])

  • range: The range of cells you want evaluated.
  • criteria: The condition that defines which cells will be added.
  • sum_range: The actual cells to add, if you want to add cells other than those specified in the range argument.

Example: Check Region Col, look for "East", sum Revenue Col.

Understanding the Logic

  1. Check the Region column for "East".
  2. If it matches, add the corresponding number from the Revenue column.

The Final Formula:

=SUMIF(A:A, "East", B:B)

Conclusion

Now you know the "classic" way to solve this using formulas. It's a great skill to have.

But for those times when you just want the job done without the mental math, SheetXAI is there to help.

Boost your productivity today.
Start automating your spreadsheets.

Join thousands of professionals saving hours every week. No credit card required to start.

Learn more