Greetings, everyone. Saviour-V from Malaysia, here.
Sorry if this has been asked before, but I'm not sure about how to create a suitable formula for my stock transaction tracking sheet that I've made in Excel.
The stumbling block is the stamp duty; it's meant to be RM 1.00 (my local currency) for every RM 1,000.00 worth of the contract value or the value of the shares transacted, rounded up to the nearest RM, up to a maximum value of RM 200.00.
http://1-million-dollar-blog.com/how-to-calculate-profit-loss-and-brokerage-fees-in-stock-market-trading/ <- Step 4 of this is where I'm having trouble.
My calculations up to this point are:
1. <B>Total price of shares (E3):</B> = number of shares (C3) * price per share (D3)
2. <B>Brokerage fee (F3):</B>
I know that ROUNDUP() is in there somewhere (from experimenting a little), but how do I set the limits in such a way that I can correctly obtain RM 1.00 and RM 200.00 as minimum and maximum values for the formula?
Also, is there a non-nested-IF solution for this? I'm trying to make it look a bit tidy.
If this has been asked in some way, just point me to the nearest section of relevant info, and I'll search there. Sorry for the inconvenience, and thanks for your help, guys!![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Sorry if this has been asked before, but I'm not sure about how to create a suitable formula for my stock transaction tracking sheet that I've made in Excel.
The stumbling block is the stamp duty; it's meant to be RM 1.00 (my local currency) for every RM 1,000.00 worth of the contract value or the value of the shares transacted, rounded up to the nearest RM, up to a maximum value of RM 200.00.
http://1-million-dollar-blog.com/how-to-calculate-profit-loss-and-brokerage-fees-in-stock-market-trading/ <- Step 4 of this is where I'm having trouble.
My calculations up to this point are:
1. <B>Total price of shares (E3):</B> = number of shares (C3) * price per share (D3)
2. <B>Brokerage fee (F3):</B>
Code:
=IF(E3*0.0042 > 12,E3*0.0042, 12)
3. <B>Clearing fee (G3):</B> =ROUNDUP(E3*0.0003,2)
I know that ROUNDUP() is in there somewhere (from experimenting a little), but how do I set the limits in such a way that I can correctly obtain RM 1.00 and RM 200.00 as minimum and maximum values for the formula?
Also, is there a non-nested-IF solution for this? I'm trying to make it look a bit tidy.
If this has been asked in some way, just point me to the nearest section of relevant info, and I'll search there. Sorry for the inconvenience, and thanks for your help, guys!