ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Comparisons
  3. SUMPRODUCT vs SUM: Do You Still Need SUMPRODUCT?

SUMPRODUCT vs SUM: Do You Still Need SUMPRODUCT?

By ExcelReady Team·Updated December 1, 2026·7 min read

The short answer

In Microsoft 365, Excel 2021 and Excel 2024, =SUM(C2:C6*D2:D6) gives the same total as =SUMPRODUCT(C2:C6,D2:D6), so SUMPRODUCT is no longer essential there. You still need SUMPRODUCT when a file must work in Excel 2019 or older without Ctrl+Shift+Enter, and its comma form skips text values instead of returning #VALUE!.

Key takeaways

  • SUMPRODUCT multiplies ranges row by row and adds the results; it works with plain Enter in every Excel version.
  • In Microsoft 365, Excel 2021 and Excel 2024, =SUM(range*range) does the same job with plain Enter.
  • In Excel 2019 and older, SUM with array maths needs Ctrl+Shift+Enter, or it returns #VALUE! or a wrong one-row result.
  • Comma-separated SUMPRODUCT treats text as 0; multiplying with * returns #VALUE! for words like "TBC".
  • For plain addition of one range, SUM is the right function; SUMPRODUCT adds nothing.
On this page+
  1. SUMPRODUCT vs SUM at a glance
  2. The same billing data, three ways
  3. Edge cases: text, blanks and mismatched ranges
  4. When to use SUM
  5. When to use SUMPRODUCT
  6. How to decide: a quick checklist
  7. What a job test usually checks
  8. Common mistakes
  9. Our recommendation
  10. Practise it

The SUMPRODUCT vs SUM question has a new answer since dynamic arrays arrived. In Microsoft 365, Excel 2021 and Excel 2024, =SUM(C2:C6*D2:D6) multiplies and adds in one go, just like SUMPRODUCT. SUMPRODUCT still earns its place when a file must work in Excel 2019 or older, and because it handles text cells differently. This comparison is for anyone who learned SUMPRODUCT as "the formula for totals without a helper column" and wonders whether to keep using it.

SUMPRODUCT vs SUM at a glance#

They overlap only when SUM is given array maths; for plain addition, SUM is the function to use.

FeatureSUMSUMPRODUCT
Basic jobAdds numbersMultiplies matching items, then adds the products
Multiply two ranges and total=SUM(C2:C6*D2:D6)=SUMPRODUCT(C2:C6,D2:D6)
Needs Ctrl+Shift+Enter for array mathsIn Excel 2019 and older, yesNever
Text in a multiplied range#VALUE!Comma form: counted as 0. * form: #VALUE!
Number stored as text ("120") in a multiplied rangeConverted and usedComma form: counted as 0. * form: converted and used
Ranges of different sizes#N/A in Microsoft 365#VALUE!
Conditions=SUM((B2:B6="Audit")*C2:C6*D2:D6)=SUMPRODUCT((B2:B6="Audit")*C2:C6*D2:D6)
VersionsAll (array maths with Enter: Microsoft 365, Excel 2021, Excel 2024)All

The same billing data, three ways#

Here is a week of consultant time. Billing is hours × hourly rate. Type it in and check the numbers.

ABCD
1ConsultantTeamHoursRate
2MayaAudit3285
3JonTax18110
4RitaAudit2595
5SamTax4070
6LeeAudit12120

The line totals are 2,720, 1,980, 2,375, 2,800 and 1,440, so total billing is 11,315.

Way 1: helper column plus SUM#

Put =C2*D2 in E2, fill it down to E6 (Ctrl+D on Windows, ⌘D on a Mac), then total it:

Excel formula
=SUM(E2:E6)

Result: 11,315. It works everywhere and anyone can audit each line, which is why many finance teams still prefer it. The SUM function guide covers the basics.

Way 2: SUMPRODUCT#

Excel formula
=SUMPRODUCT(C2:C6,D2:D6)

Result: 11,315, in one cell, with plain Enter, in any version of Excel.

Way 3: SUM with array maths#

Excel formula
=SUM(C2:C6*D2:D6)

In Microsoft 365, Excel 2021 and Excel 2024, press Enter and you get 11,315. In Excel 2019 and older you must press Ctrl+Shift+Enter (⌘+Shift+Return on a Mac), and the formula shows as {=SUM(C2:C6*D2:D6)}. With plain Enter, older Excel returns #VALUE! on rows outside 2–6. On rows 2–6 it quietly uses only that row; in F2 it would return 2,720.

With a condition#

Billing for the Audit team only (Maya, Rita and Lee):

Excel formula
=SUMPRODUCT((B2:B6="Audit")*C2:C6*D2:D6)
=SUM((B2:B6="Audit")*C2:C6*D2:D6)

Both return 6,535 in Microsoft 365. The test gives TRUE or FALSE per row, and multiplying turns those into 1 and 0. If you prefer commas, convert the test with a double minus: =SUMPRODUCT(--(B2:B6="Audit"),C2:C6,D2:D6) also returns 6,535. Without the --, SUMPRODUCT treats the TRUE/FALSE values as 0 and returns 0.

Edge cases: text, blanks and mismatched ranges#

The two functions behave differently when the data isn't clean, and that difference matters more than speed.

Suppose Lee's rate in D6 says TBC instead of 120:

FormulaResultWhy
=SUMPRODUCT(C2:C6,D2:D6)9,875Text is treated as 0, so Lee's line is skipped
=SUMPRODUCT(C2:C6*D2:D6)#VALUE!12*"TBC" can't be calculated
=SUM(C2:C6*D2:D6)#VALUE!Same multiplication, same error

Now suppose D6 holds 120 stored as text (often from an import, marked by a green triangle). Excel converts number-like text when you multiply with *, so both * formulas return 11,315. The comma form of SUMPRODUCT treats it as 0 and returns 9,875, with no error to warn you. Which is "right" depends on the data, so check totals against a quick helper column when you import data.

Two more cases:

  • Blank cells count as 0 in both functions, so an empty rate simply drops that line. No error.
  • Ranges of different sizes, such as C2:C6 with D2:D5: SUMPRODUCT returns #VALUE!. =SUM(C2:C6*D2:D5) returns #N/A in Microsoft 365, because the unmatched row has nothing to multiply.

Microsoft also advises against whole-column references such as =SUMPRODUCT(A:A,B:B), because every one of the 1,048,576 rows is multiplied.

When to use SUM#

Use SUM whenever you're simply adding, and use SUM with array maths when everyone has modern Excel.

  • Adding one range. =SUM(C2:C6) returns 127 hours. =SUMPRODUCT(C2:C6) gives the same answer but tells the reader less.
  • The file stays in Microsoft 365, Excel 2021 or Excel 2024. =SUM(C2:C6*D2:D6) reads naturally: "sum of hours times rate".
  • You're combining array maths with other functions, such as =SUM(C2:C6*D2:D6)/SUM(C2:C6), which gives the average rate weighted by hours: 89.09.

If SUM is still new to you, the SUM lesson is the place to start.

When to use SUMPRODUCT#

Use SUMPRODUCT when the formula must behave the same in every version.

  • The file goes to colleagues or clients on Excel 2019 or older. SUMPRODUCT needs no special keystroke there.
  • A job test runs on an unknown version. SUMPRODUCT can't be broken by forgetting Ctrl+Shift+Enter.
  • The data may contain words like "n/a" or "TBC" and you want them skipped rather than an error (use the comma form, and know that number-like text is skipped too).
  • Weighted averages and scores. =SUMPRODUCT(C2:C6,D2:D6)/SUM(C2:C6) is the standard pattern; see how to calculate a weighted average.

For conditional totals, SUMIFS is often shorter still. Our comparisons of SUMPRODUCT vs SUMIFS and COUNTIFS vs SUMPRODUCT explain where each wins, and the full SUMPRODUCT guide covers its other uses.

How to decide: a quick checklist#

  1. Are you only adding numbers, with no multiplying? Yes → SUM.
  2. Will anyone open the file in Excel 2019 or older? Yes → SUMPRODUCT (or a helper column).
  3. Should text in the rate or quantity column be skipped rather than flagged? Yes → SUMPRODUCT with commas. If it should be flagged → SUM or the * form.
  4. Do you need to show each line's result to a reviewer? Yes → helper column plus SUM.
  5. Is everyone on Microsoft 365, Excel 2021 or Excel 2024, and do you like formulas that read like maths? Yes → =SUM(range*range).

What a job test usually checks#

A common test task is "calculate total revenue from quantity and price without adding a column". Examiners mostly check that the result is correct and that it is one formula. SUMPRODUCT is the safest answer when you don't know the Excel version, because it works with plain Enter everywhere. If the test is clearly on Microsoft 365, =SUM(range*range) is just as correct. Either way, start the ranges below the header row.

Common mistakes#

  1. Including the header row with *. =SUM(C1:C6*D1:D6) returns #VALUE!, because "Hours" × "Rate" is text times text.
  2. Forgetting -- with commas. =SUMPRODUCT((B2:B6="Audit"),C2:C6,D2:D6) returns 0.
  3. Pressing Enter on =SUM(range*range) in Excel 2019. You get #VALUE! or a one-row answer.
  4. Using SUMPRODUCT for plain totals. =SUM(C2:C6) is clearer.
  5. Trusting a comma-form total after an import. Numbers stored as text are silently counted as 0.

Our recommendation#

Learn both, and default to SUMPRODUCT for "multiply and add" in shared files and tests, because it works the same in every version. In your own Microsoft 365, Excel 2021 or Excel 2024 workbooks, =SUM(range*range) is a perfectly good replacement and often easier to read. For plain addition, always use SUM. SUMPRODUCT is no longer essential, but it remains the most portable choice; dynamic arrays explained simply shows why the SUM version now works.

Practise it#

Try the exercise on this page: it is the Audit billing total from the worked example. Then practise totals in the SUM lesson and array maths in the modern Excel functions lesson.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

The consulting team bills hours × rate. In F2, use SUMPRODUCT to return the billing for the Audit team only: multiply the test (B2:B6="Audit") by the hours and the rates.

fx
ABCDEFG
1
Consultant
Team
Hours
Rate
Audit billing
2
Maya
Audit
32
85
3
Jon
Tax
18
110
4
Rita
Audit
25
95
5
Sam
Tax
40
70
6
Lee
Audit
12
120
7
8
9

Tip: The test gives 1 for Audit rows and 0 for the rest, so multiplying it by hours and rates keeps only Audit billing.

Practise this in a lesson

LessonSUM and AutoSumAdd up a column of numbers with SUM, then let AutoSum write the formula for you.LessonModern Excel: XMATCH, SORTBY, TEXTSPLIT and spill references (A2#)Split names with TEXTSPLIT, find positions with XMATCH, sort by another column with SORTBY, and refer to a whole spilled result with A2#.Function guideSUMAdd up columns, rows and separate ranges with Excel's SUM function. Clear examples, common mistakes and a live practice exercise.

Frequently asked questions

Is SUMPRODUCT the same as SUM?

+

Not quite. SUM adds numbers; SUMPRODUCT multiplies matching items in two or more ranges and then adds the products. With a single range, SUMPRODUCT gives the same result as SUM.

Can SUM replace SUMPRODUCT?

+

In Microsoft 365, Excel 2021 and Excel 2024, yes for most uses: =SUM(C2:C6*D2:D6) returns the same total with plain Enter. In Excel 2019 and older it needs Ctrl+Shift+Enter, so SUMPRODUCT is the safer choice for shared files.

Why does SUMPRODUCT return #VALUE!?

+

Usually the ranges are different sizes, or you multiplied with * and one cell contains text such as a header or "TBC". Use ranges of the same size, start below the headers, or separate the ranges with commas.

Do I need Ctrl+Shift+Enter for SUMPRODUCT?

+

No. SUMPRODUCT works on arrays with plain Enter in every Excel version, which is the main reason it became popular.

Is SUMPRODUCT slower than SUM?

+

On normal-sized ranges you won't notice a difference. Avoid whole-column references like A:A in either one, because Microsoft notes SUMPRODUCT then calculates all 1,048,576 rows.

Sources

  • SUMPRODUCT function - Microsoft Support
  • SUM function - Microsoft Support
  • Guidelines and examples of array formulas - Microsoft Support

Written and checked by the ExcelReady Team. First published December 1, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. SUMPRODUCT vs SUM at a glance
  2. The same billing data, three ways
  3. Edge cases: text, blanks and mismatched ranges
  4. When to use SUM
  5. When to use SUMPRODUCT
  6. How to decide: a quick checklist
  7. What a job test usually checks
  8. Common mistakes
  9. Our recommendation
  10. Practise it

Keep reading

Math· 6 min read

SUMPRODUCT in Excel: Multiply and Add in One Step

SUMPRODUCT multiplies matching items in two or more ranges and adds up the results. =SUMPRODUCT(C2:C7,D2:D7) multiplies each quantity by its price and returns the total, with no helper column. It also handles conditions, such as =SUMPRODUCT((B2:B7="North")*C2:C7*D2:D7), and works in every version of Excel.

Comparisons· 7 min read

SUMPRODUCT vs SUMIFS: Which Should You Use?

Use SUMIFS for everyday conditional totals, such as sales for one region: it is easier to read, ignores text and is fast on big data. Use SUMPRODUCT when you must multiply columns before adding (units times price), apply a function to the range (such as MONTH), or combine OR conditions in one formula.

Comparisons· 8 min read

COUNTIFS vs SUMPRODUCT for Counting With Conditions

Use COUNTIFS for most conditional counts: it is fast, easy to read and handles several AND conditions and wildcards. Use SUMPRODUCT when COUNTIFS can't express the test, such as OR logic in one formula, comparing two columns row by row, or applying a function like MONTH or LEFT to a column before checking it.

More on comparisons

  • SWITCH vs IFS in Excel: Which to Use
  • TEXT Function vs Number Format in Excel: Which to Use
  • Text to Columns vs TEXTSPLIT in Excel
  • TEXT vs VALUE in Excel: Numbers to Text and Back
  • TODAY vs Ctrl+; in Excel: Live Date or Fixed Date?
  • TODAY vs NOW in Excel
All comparisons articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free