+ Reply to Thread
Results 1 to 3 of 3

Cash Flow Present Value Calculation

Hybrid View

forexcellence13 Cash Flow Present Value... 07-06-2013, 05:03 AM
martindwilson Re: Cash Flow Present Value... 07-06-2013, 06:39 AM
forexcellence13 Re: Cash Flow Present Value... 07-06-2013, 06:43 AM
  1. #1
    Registered User
    Join Date
    01-22-2013
    Location
    Palmerston North, New Zealand
    MS-Off Ver
    Excel 2003
    Posts
    28

    Cash Flow Present Value Calculation

    Hello there,

    Please help me create a macro that calculates the present value of cash flows.

    Please see my spreadsheet to understand .

    For example Ins_1, only the first cash flow's present value should be calculated using the interest rate for Ins_1 and the difference in time between the Cash Flow Pay Date and the Maturity Date for Ins_1 (I have illustrated this in the spreadsheet).

    For Ins_2 the first two cash flows need to be taken into account with the first cash flow's present value should be calculated using the interest rate for Ins_2 and the difference in time between the First Cash Flow Pay Date and the Maturity Date for Ins_2. For the second Cash flow, the present value should be calculated using the interest rate for Ins_2 and the difference in time between the Second Cash Flow Pay Date and the Maturity Date for Ins_2.

    What I need this macro to do is to calculate the present value of cash flows in cells B2:B6 based on the dates in Cells A2:A6 e.g. For Ins_3 the cash flows that are taken into account for the calculation are those that are before the Maturity Date for Ins_3.

    Thank you in advance.
    Last edited by forexcellence13; 07-06-2013 at 06:47 AM. Reason: I have made an error in my spreadsheet. I will repost it later on. Thank you for your patience.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Cash Flow Present Value Calculation

    what have you got so far?
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    01-22-2013
    Location
    Palmerston North, New Zealand
    MS-Off Ver
    Excel 2003
    Posts
    28

    Re: Cash Flow Present Value Calculation

    Oops there is an error in my spreadsheet will repost later on.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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