Excel: Scalar product of two ranges

calendar_today Asked Mar 28, 2014
thumb_up 17 upvotes
history Updated April 16, 2026

Question posted 2014 · +11 upvotes

I am trying to find a proper way to calculate the scalar product of two ranges. For instance, the product of A1:A3 and B1:B3 would be A1*B1 + A2*B2 + A3*B3. Is there a good way to do this? Hardcoding this calculation is quite a tedious thing to do with large ranges.

Accepted answer +17 upvotes

Use this one

=SUMPRODUCT(A1:A3,B1:B3)

Top excel Q&A (6)

+17 upvotes ranks this answer #35 out of 167 excel solutions on this site — top 21%.