Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=SUMPRODUCT(A2:A5,B2:B5)Computed by a real spreadsheet engine on the sample data below.
| Qty | Price |
| 2 | 10 |
| 3 | 20 |
| 1 | 30 |
| 4 | 5 |
=SUMPRODUCT(A2:A5,B2:B5)→130
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.
When you need to multiply arrays (quantity × price), or apply OR-logic across criteria that SUMIFS' AND-only model can't express.
Add up the cells in a range that meet a single condition.
How-toUnderstand when to use SUMIF (one condition) versus SUMIFS (multiple conditions) for conditional summing in Excel and Google Sheets.
Error fixSUMIF returns 0 instead of the expected total in Excel and Google Sheets — fix number-as-text, criteria mismatch, range size errors, and data-type issues.
ReferenceSum values that meet multiple conditions at once.
How-toUse SUMIF with a date comparison criterion to sum values only for dates on or after (or before) a specific date in your data range.
Error fixSUMIF not working in Excel and Google Sheets — diagnose formula errors, criteria syntax problems, range mismatches, and wildcard issues.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: