Calculate D in G when F is changed ?

xeven_

Active Member
Joined
Jan 20, 2012
Messages
302
The value in column F is 1000. The value in column D is 21.14. Each time I increase the value in F by 1000 the value in D should also double, E.G. – F = 2000 then D = 42.28 and so on. Is there a formula I can place in column G that will calculate the base amount in column D each time I change or increase the value in F by 1000? That is, when I put 2000 in F, I want the doubled or tripled value of D to appear in G.

[TABLE="width: 617"]
<tbody>[TR]
[TD]MARKET
[/TD]
[TD]PIP VALUE
[/TD]
[TD]BID RATE
[/TD]
[TD]REQUIRED MARGIN
[/TD]
[TD]LEVERAGE
[/TD]
[TD] CONTRACT SIZE
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]AUD/USD
[/TD]
[TD] 0.1
[/TD]
[TD]0.7047
[/TD]
[TD]21.14
[/TD]
[TD]33.33:1
[/TD]
[TD]1000

[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]
[/TD]
[/TR]
</tbody>[/TABLE]
 

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.
Try:

=MAX(1,INT(F2/1000))*D2

This will give a minimum value of 21.14 no matter what's in F. It also only calculates at the 1000 boundaries, you can remove the INT() function if you want a continuous function.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,226,114
Messages
6,189,052
Members
453,522
Latest member
Seeker2025

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