MMULT Array Function

millhouse123

Active Member
Joined
Aug 22, 2006
Messages
335
I am not getting the expect result when I multiply two arrays

Array1
1 5 2 4
1/5 1 1/2 1/2
1/2 2 1 2
1/4 2 1/2 1


Array2
0.5115
0.0986
0.2433
0.1466


Expected Result
2.0774
0.3958
0.9894
0.5933

My result
2.0774
2.0774
2.0774
2.0774


I am sure I am entering them as array formulas but I am not getting the right answer. I am sure this is something simple. Thanks for your help.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Select H1:H4 (or whatever the desired destination is), type the formula =MMULT(A1:D4,F1:F4) adjusting the ranges to suit, and press CTRL+SHIFT+ENTER to enter it as an array formula.
 
Upvote 0
Assuming that Array 1 is in A1:D4 and Array 2 in F1:F4...

In H1 enter & copy down:

=INDEX(MMULT($A$1:$D$4,$F$1:$F$4),ROWS(H$1:H1))
 
Upvote 0

Forum statistics

Threads
1,215,819
Messages
6,127,049
Members
449,356
Latest member
tstapleton67

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