How to change a value based on cumulative total of another column (using Excel formula)

shonal

New Member
Joined
Aug 4, 2014
Messages
4
We provide funds in smaller tranches and need to record expense against that.
In the image below, rows 5 and 6 show income in AUD and USD and their respective FX rates.

These are then spent in USD from Row 13 down. In column I, I want the first FX rate (I5) to be used to calculate AUD up to USD50,000 (cell H5) and then exchange rate to change to I6 from cell H32 down. The first FX rate doesn't need to stop at exactly USD50,000 but can stop where it crosses the USD50,000 mark

mrexcel image.JPG


Will appreciate your assistance on this. Thanks
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
We provide funds in smaller tranches and need to record expense against that.
In the image below, rows 5 and 6 show income in AUD and USD and their respective FX rates.

These are then spent in USD from Row 13 down. In column I, I want the first FX rate (I5) to be used to calculate AUD up to USD50,000 (cell H5) and then exchange rate to change to I6 from cell H32 down. The first FX rate doesn't need to stop at exactly USD50,000 but can stop where it crosses the USD50,000 mark

View attachment 70027

Will appreciate your assistance on this. Thanks
Try this in Cell J13 and fill it down to test if it is working the way you want it to -

Excel Formula:
=IF(SUMIFS($H$13:$H$300,$A$13:$A$300,A13)>50000,SUMIFS($H$13:$H$300,$A$13:$A$300,A13)*$1$6,SUMIFS($H$13:$H$300,$A$13:$A$300,A13)*$1$5)

Further may I suggest to update your Excel Version and platform in Profile - Solution can vary depending upon the version.
 
Upvote 0

Forum statistics

Threads
1,215,480
Messages
6,125,048
Members
449,206
Latest member
Healthydogs

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