SONJOE JOSEPH
Member
Dear All,
I'm not a vba expert so just looking for your help to find the daily returns of a particular asset class using vba code. The formula for calculating the daily returns is as follows:-
DR = (Today Closing Price - Yesterdays Closing Price ) / Yesterdays Closing Price
The idea is everyday i will be adding the date and closing price manually and automatically DR (Daily Return) calculation has to come automatically.
Can anybody help me out.
Thanking You,
With Regards,
Sonjoe Joseph
A sample file is attached without codes.
I'm not a vba expert so just looking for your help to find the daily returns of a particular asset class using vba code. The formula for calculating the daily returns is as follows:-
DR = (Today Closing Price - Yesterdays Closing Price ) / Yesterdays Closing Price
The idea is everyday i will be adding the date and closing price manually and automatically DR (Daily Return) calculation has to come automatically.
Can anybody help me out.
Thanking You,
With Regards,
Sonjoe Joseph
A sample file is attached without codes.
Attachments
Last edited by a moderator: