Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=SUMIF(A2:A5,"*apple*",B2:B5)Computed by a real spreadsheet engine on the sample data below.
| Product | Sales |
| Green Apple | 120 |
| Banana | 80 |
| Pineapple | 95 |
| Mango | 60 |
=SUMIF(A2:A5,"*apple*",B2:B5)→215
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need it for your exact data?
Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.
No, SUMIF wildcard matching is case-insensitive in both Excel and Google Sheets.
SUMIF handles non-adjacent sum ranges fine — just specify the correct column as the third argument regardless of its position.
Multiply ranges together row by row and sum the result — ideal for weighted totals.
How-toAdd up an entire column with SUM. Total a whole column or a fixed range — identical in Excel and Google Sheets.
Error fixSUM returns 0 or the wrong total in Excel and Google Sheets — fix numbers stored as text, filtered ranges, manual calculation mode, and circular references.
ReferenceAggregate a range (sum, average, count…) while ignoring other SUBTOTALs and, optionally, hidden rows. Ideal under filters.
How-toBuild a cumulative running total with a SUM and a clever anchored reference that grows as you copy it down. Works in both apps.
How-toTotal amounts that fall in a given month with SUMIFS and two date bounds. Works the same in Excel and Google Sheets.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: