Multi-Currency with Sumproduct and INDEX/MATCH

Davidator

New Member
Joined
Sep 12, 2016
Messages
9
This is driving me crazy since more than a week: I have a long table with item prices belonging to different projects (A, B, C...) Each price may be in a different currency.

I'm trying to make a formula that would sum all the values into a single price in USD, as shown in cell G1:
28svgvr.png


The formula in G1 is: G1=B2*L3+B4*L7+B5*L4. This means that the total value of "Program A" products is $ 128.0179 (USD)

Since it is a very large list and I do not know the currency that will be written in column D, I am trying to do it automatically.
I have tried with sumproduct, but I've only gotten as far as to sum the prices for a determinate program, but without adding the Fx-rate multiplicator. Cell G3 has my failed attempt:
G3=SUMPRODUCT(--(A2:A6=E3);B2:B6;INDEX(L3:L8;MATCH(C2:C6;K3:K8;0)))

Adding an additional column that directly calculates the USD value and then summing it is -unfortunately- not an option for me.

Can someone help me?

(I'd upload the example file, but I haven't seen the option for it)

Thanks,
Dave
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Not entirely certain about this, but would this work if you made it an array formula? i.e ctrl-Shift_Enter to surround the formula with {}
 
Upvote 0
I'm grad everything worked out for you but would be great if this was helpful for others too... Unfortunately I cannot tell what info you have in all the cells mentioned in your formula so I can adapt it to my problem :(
 
Upvote 0

Forum statistics

Threads
1,215,059
Messages
6,122,917
Members
449,093
Latest member
dbomb1414

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