Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

ArrayFormula for SUMPRODUCT of mismatched arrays

I have a grid of hours and an array of rates.
I’d like the array E2:E10 to be the sumproduct of the hours and the transposed RATES array.

Can someone help with the ArrayFormula?

I can easily do =SUMPRODUCT(TRANSPOSE(A2:D2),$I$2:$I$5) for E2 but it’d be more elegant to do an ArrayFormula that does the whole column if possible.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

ScreenShot

>Solution :

Using BYROW and LAMBDA there is no need for ArrayFormula():

=BYROW(A2:D10,LAMBDA(a,SUMPRODUCT(a,TRANSPOSE($I$2:$I$5))))

enter image description here

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading