+ Reply to Thread
Results 1 to 4 of 4

Calculating the Daily Returns of an asset class using VBA code

  1. #1
    Registered User
    Join Date
    04-20-2016
    Location
    Kochi
    MS-Off Ver
    2007
    Posts
    2

    Question Calculating the Daily Returns of an asset class using VBA code

    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
    Mob.No.94972-82865

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Calculating the Daily Returns of an asset class using VBA code

    DO you need VBA?

    Assuming today in column A, yesterday in B and the answer you want in C

    in C1
    Please Login or Register  to view this content.
    Or am I missing something fundamental?
    If someone has helped you then please add to their Reputation

  3. #3
    Registered User
    Join Date
    04-20-2016
    Location
    Kochi
    MS-Off Ver
    2007
    Posts
    2

    Re: Calculating the Daily Returns of an asset class using VBA code

    Yes i need a VBA to do that since i will be adding some more mathematical calculations later.

  4. #4
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Calculating the Daily Returns of an asset class using VBA code

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. how to calculate weekly and monthly percentage returns from daily figures
    By bensittingdown in forum Excel Formulas & Functions
    Replies: 32
    Last Post: 10-15-2014, 05:02 PM
  2. Getting weekly data (returns) from daily data (returns
    By alefein in forum Excel General
    Replies: 3
    Last Post: 08-01-2014, 08:39 PM
  3. Calculating daily overtime over 8 hrs each day
    By lesha1203 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 03-04-2014, 05:24 PM
  4. calculating annualised returns + Standard deviation of returns
    By Jaspal in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-01-2013, 09:22 AM
  5. Calculating positions in class
    By [email protected] in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 11-10-2012, 05:39 PM
  6. Calculating Average Annual Returns from a Series of Annual Returns
    By Bruinsfan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-03-2012, 09:50 PM
  7. Calculating Daily Quantities
    By Bob@Sun in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-22-2009, 04:47 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1