Excel forex formula help needed

killerstein

New Member
Joined
Jan 13, 2021
Messages
4
Office Version
  1. 2019
Platform
  1. Windows
Soo, I have this worksheet as seen in the attached picture. Basically, I have this table with live exchange rates that refresh every minute. The exchange rate data is sourced from a website. The only relevant exchange rate from the table is the EUR/USD. On the left-hand side We have the current rate as well as the previous rates (although the last/most recent previous rate is the relevant one, which is the cell coloured in blue). On the bottom right, I have specified the rules that I want to have in my forex formula. I tried some things but because I am not very experienced with complex formulas, I couldn't manage to end up with a success. The initial transaction rate (left blank for now) is not very important. You can assume it as 1.215. In this case, we assume the role of an investor who has 1000 euros and (based on our assumed initial rate) he converts this into dollars at the 1.215 rate. This figure (1.215) is also our first Last Transaction Rate. Last Transaction Rate is the rate at which we last made a currency exchange. So, we have 1215 dollars in the beginning (or whatever dollars we have depending upon the initial rate we decide upon). Once the current, previous and last transaction rates fit the formula, we sell the dollars (at whatever the rate at the time) and our dollar account becomes 0 and our euro account now has the money. And then when we do the same thing with the euros (so when the rates are satisfactory and we sell the euros), the euro account will be emptied and now the dollar account will have the money. And during these transactions, the Last Transaction Rate will also be updated accordingly. Based on this information, what formulas do I need to enter in the cells under Account Balance (EUR), Account Balance (USD) and Last Transaction Rate (EUR/USD)?
forexx.jpg
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,223,243
Messages
6,170,967
Members
452,371
Latest member
Frana

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