Machine-translated by Google. Questions are authored in English.
Top

Discussion

In MS Excel, what does the SUMPRODUCT function do?

  • A.Multiplies corresponding items in the given arrays and adds the products
  • B.Multiplies every value in a range by a constant
  • C.Adds two ranges together
  • D.Finds the product of all values in a range

Answer: A

Correct answer: Multiplies corresponding items in the given arrays and adds the products

SUMPRODUCT multiplies corresponding elements of two or more ranges and adds the results. =SUMPRODUCT(A1:A10,B1:B10) is the standard way to total quantity times price without a helper column. Its wider usefulness comes from a second property: it handles arrays without needing Ctrl + Shift + Enter. Because a logical test returns TRUE or FALSE, which behave as 1 and 0 in arithmetic, conditions can be embedded directly. =SUMPRODUCT((A1:A10="Delhi")*(B1:B10>100)) counts rows meeting both conditions, and multiplying by a third range totals them. That made it the standard multi-condition tool before COUNTIFS and SUMIFS existed, and it remains more flexible than either, since its conditions can be any expression rather than a criteria string. All ranges must be the same size, or it returns #VALUE!. Text is treated as zero, which is why an unexpected zero usually means a column of numbers stored as text.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.