Use a criterion cell
=SUMIF(F2:F,"*urgent*",C2:C)Put the criterion in H2 so it can be changed without editing the formula.
Add Amount values when the transaction note contains urgent.
Sum transactions when a cell contains text in Google Sheets with =SUMIF(F2:F,"*urgent*",C2:C). Paste it into an empty result cell, then change the ranges or criterion to match your columns.
SUMIF uses wildcards in Notes and adds the matching Amount cells. In this worked transaction table, column A stores transaction labels, B stores Region, C stores Amount, D stores Date, E stores Status and F stores Notes.
The example uses four rows so you can check the output before applying the formula to a larger transactions table. Edit any input in the playground and compare the new output with the visible criteria.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Transaction | Region | Amount | Date | Status | Notes |
| 2 | ||||||
| 3 | ||||||
| 4 | ||||||
| 5 |
=SUMIF(F2:F,"*urgent*",C2:C)Put the criterion in H2 so it can be changed without editing the formula.
=SUMIF(F2:F1000,"*urgent*",C2:C1000)Bounded ranges can calculate faster in a large file.
=IFERROR(SUMIF(F2:F,"*urgent*",C2:C),"No matches")Shows readable text instead of an error when the source has no qualifying rows.
Start every referenced range on row 2 and keep their ending rows aligned.
Check spelling, spaces, number formatting and whether dates are stored as real dates.
Add Transaction non-blank logic when unused rows should be excluded.
Yes. Replace the quoted criterion with a cell reference such as H2.
Yes. Whole-column ranges are convenient; bounded ranges can be faster in a very large spreadsheet.
Check extra spaces, data types, date values and whether every range begins on the same row.
Send this recipe to the SheetSteps assistant and describe how your columns are arranged.