SUM 2 columns Row * Row

Viewed 52

I have 2 columns that, starting from row 3, have values I need to sum row * row.

What I mean is something like:

SUM(M3*I3, M4*I4, M5*I5, ecc..)

I found ArrayFormula, but I am not sure its what I need.

2 Answers

try:

=ARRAYFORMULA(SUM(M3:M*I3:I))

There's the function SUMPRODUCT() specifically designed for this:

=SumProduct(M3:M,I3:I)
Related