Defining an Array Within a Formula

Nick6425

New Member
Joined
Mar 19, 2012
Messages
31
Greetings all,

I'm looking to multiply the values returned by these 5 rounded sumproducts by the array created by "Volume!Y$24:Y$28/Volume!Y$63", but I don't know how to get the formula to recognize those 5 returned values as an array. Thank you for our help in advance!

=IFERROR(SUMPRODUCT(ROUNDDOWN(SUMPRODUCT((HPU!$B$6:$B$58=$B6)*(HPU!$D$5:$J$5=YEAR(Y$3))*HPU!$D$6:$J$58),1),ROUNDDOWN(SUMPRODUCT((HPU!$B$6:$B$58=$B6)*(HPU!$M$5:$S$5=YEAR(Y$3))*HPU!$M$6:$S$58),1),ROUNDDOWN(SUMPRODUCT((HPU!$B$6:$B$58=$B6)*(HPU!$V$5:$AB$5=YEAR(Y$3))*HPU!$V$6:$AB$58),1),ROUNDDOWN(SUMPRODUCT((HPU!$B$6:$B$58=$B6)*(HPU!$AE$5:$AK$5=YEAR(Y$3))*HPU!$AE$6:$AK$58),1),ROUNDDOWN(SUMPRODUCT((HPU!$B$6:$B$58=$B6)*(HPU!$AN$5:$AT$5=YEAR(Y$3))*HPU!$AN$6:$AT$58),1),Volume!Y$24:Y$28/Volume!Y$63),0)*Volume!Y$64
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
To create a vertical array with 5 single results you can try something like

CHOOSE({1;2;3;4;5},result1,result2,result3,result4,result5)

M.
 
Upvote 0

Forum statistics

Threads
1,225,741
Messages
6,186,761
Members
453,370
Latest member
juliewar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top