Currency Conversion in Single Formula

DefiantEgg90

New Member
Joined
Apr 7, 2022
Messages
4
Office Version
  1. 2016
Platform
  1. Windows
Hello,

I have a table of transactions in different currencies, and am trying to convert and sum all these transactions into USD in a single formula in the row titled Total (USD). I think I'm looking to use a SUMPRODUCT with a lookup as one of the arrays, but not sure how to accomplish this. Any ideas? Sample dataset on the left, conversion table on the right (all conversions are multiplicative):

TransactionCurrencyAmount Local)CurrencyRate
Transaction 1ILS
8850​
ILS
0.26857​
Transaction 2ILS
9676​
EUR
1.093225​
Transaction 3ILS
19173​
USD
1​
Transaction 4EUR
4892​
Transaction 5EUR
4755​
Transaction 6EUR
2946​
Transaction 7USD
500​
Transaction 8USD
200​
Transaction 9USD
100​
Total (USD)
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Why not just use a VLOOKUP formula, where you look up the corresponding conversion factor from your table and multiply by that?
See: VLOOKUP Function
 
Upvote 0
To wit:

$scratch.xlsm
ABCDEFG
1TransactionCurrencyAmount (Local)Amount USDCurrencyRate
2Transaction 1ILS88502376.8445ILS0.26857
3Transaction 2ILS96762598.68332EUR1.09323
4Transaction 3ILS191735149.29261USD1
5Transaction 4EUR48925348.0567
6Transaction 5EUR47555198.284875
7Transaction 6EUR29463220.64085
8Transaction 7USD500500
9Transaction 8USD200200
10Transaction 9USD100100
11Total (USD)
Sheet5
Cell Formulas
RangeFormula
D2:D10D2=$C2*VLOOKUP($B2,$F:$G,2,FALSE)
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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