How to Use SUMIF in Google Sheets

The tutorial shows how to use the SUMIF function in Google spreadsheets to conditionally sum cells. You will find formula examples for text, numbers and dates and learn how to sum with multiple criteria.


Google Sheets has two functions to add up numbers based on conditions: SUMIF and SUMIFS. The former evaluates just one condition while the latter can test multiple conditions at a time. In this tutorial, we will focus solely on the SUMIF function, the use of SUMIFS will be covered in the next article.

Very useful SUMIF formulas you didn't know!

  1. SUMIF in Google Sheets - syntax and basic uses
  2. SUMIF with text criteria (exact match)
  3. SUMIF with wildcard characters (partial match)
  4. Case-sensitive SUMIF formula
  5. Sum if greater than, less than, equal to, or not equal to
  6. SUMIF formulas for dates
  7. Sum if empty or not empty
  8. SUMIF with multiple criteria (OR logic)

SUMIF in Google Sheets - syntax and basic uses

The SUMIF function is Google Sheets is designed to sum numeric data based on one condition. Its syntax is as follows:
SUMIF(range, criterion, [sum_range])
Where:
  • Range (required) - the range of cells that should be evaluated by criterion.
  • Criterion (required) - the condition to be met.
  • Sum_range (optional) - the range in which to sum numbers. If omitted, then range is summed.
As an example, let's make a simple formula that will sum numbers in column B if column A contains an item equal to the "sample item".


We define the following arguments:
  • Range - a list of items - A5:A13.
  • Sum_range - amounts to be summed - B5:B13.
  • Criterion - a cell containing the item of interest - B1.
Putting all the arguments together, we get the following formula:
=SUMIF(A5:A13,B1,B5:B13)
This is how you use the SUMIF function in Google Sheets.

COMMENTS

Name

ARRAY FORMULA,1,Budget Templates,1,Download Template,1,Essential Tips,1,Excel Template,1,Gantt Chart,1,Google Docs,1,Google Sheet,5,Google Sheet Add On,2,Google Sheet Formula,2,Google Sheets,8,Google Sheets Chart,1,Google Sheets Functions,3,Google Sheets Macro,1,Household Budget Templates,1,How to,11,keyboard shortcuts,1,Need to Know,1,Pivot Table,1,Tips and Tricks,6,
ltr
item
The Office Tricks: How to Use SUMIF in Google Sheets
How to Use SUMIF in Google Sheets
https://4.bp.blogspot.com/-q924W6O6MCw/W6IVdalZtXI/AAAAAAAAAEk/85fmGRocQMYuGIoiEZQKs-4ZIcTjD6HnQCLcBGAs/s1600/SUMIFS_BaseCase.png
https://4.bp.blogspot.com/-q924W6O6MCw/W6IVdalZtXI/AAAAAAAAAEk/85fmGRocQMYuGIoiEZQKs-4ZIcTjD6HnQCLcBGAs/s72-c/SUMIFS_BaseCase.png
The Office Tricks
https://theofficetricks.blogspot.com/2018/09/how-to-use-sumif-in-google-sheets.html
https://theofficetricks.blogspot.com/
https://theofficetricks.blogspot.com/
https://theofficetricks.blogspot.com/2018/09/how-to-use-sumif-in-google-sheets.html
true
2683631591702906538
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy