Unequal Product Sum

A

Aitchy

I wish to multiply then add arrays of numbers of different size.

eg
array 1: A1:C1
array 2: A5:A8

where the answer equals
(A1*A5)+(A1*A6)+(A1*A7)+(A1*A7)+(A1+A8)+(B1*A5)+(B1*A6)+......(C1*A8)

Is there a simple way to do this?

Cheers Aitchy
 
M

Max

I'd just make the 2 ranges equal sized, ie A1:D1 and A5:A8
then just put a zero in D1, then array-enter (press CTRL+SHIFT+ENTER):
=MMULT(A1:D1,A5:A8)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top