Multiply & sum of numbers and the equivalents of datas (Array sum in array)

McExcel

New Member
Joined
Sep 9, 2014
Messages
14
Hi everyone! First post ! Sorry for the title :D My English is not excellent so I show my problem on an example:


A3,13equivalents
C2,62A1
C4,12B2
F10,13C3
D83,2D4
E5
F6
Question: How can multiply Equivalents of A,B,C... in one step?
A*3,13 + C*2,62 + C*4,12 + F*10,13 + D*83,2

<tbody>
</tbody>

The answer should be:120,2 sorry 416,93


I've tried vlookup and with array formulas using (control+shift+enter). But I couldn't solve.

For example:

={SUM(VLOOKUP(A1:A5,equivalents,2,false),B1:B5)} .... not working
 
Last edited by a moderator:
This one is better than previous....but still exotic :LOL:

=SUM(IF($C$1:$C$5="available",INDEX($E$2:$E$7,N(CHOOSE(1,MATCH($A$1:$A$5,$D$2:$D$7,0)))),0)*$B$1:$B$5)
 
Upvote 0

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
My approach:

=SUM((A1:B5=TRANSPOSE(D2:D7)) * TRANSPOSE(E2:E7) * B1:B5)

(Array-enter the above formula)
 
Upvote 0

Forum statistics

Threads
1,216,728
Messages
6,132,360
Members
449,720
Latest member
NJOO7

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