+ Reply to Thread
Results 1 to 3 of 3

compound interest and NPV formula in a VBA script

  1. #1
    Registered User
    Join Date
    01-05-2015
    Location
    Amsterdam
    MS-Off Ver
    2010
    Posts
    1

    compound interest and NPV formula in a VBA script

    Question I have:
    In order to do an impairment test for around 1000 business activities I do have to calculate the following:
    Total amount of revenues per year over a period, e.g. 10 years, with fixed assumed increase of revenue per year, e.g 2%
    Total amount of cost per year over a period, e.g. 10 years, with a fixed assumed increase of costs per year, e.g. 3% per year
    Calculate with NPV over net result per year, e.g. 10 values, 5% discount interest rate
    Let us asume revenues first year =10,000 with anual increase of 2% for 10 years
    Let us asume costs first year =5,000 with anual increase of 3% for 10 years
    Then what is the DCF of this values with an assumed interest rate of 5%
    The NPV = 41,941 (which is the NPV for the values by year @ 5% interest rate). See the sample below and in attachment.
    Now this works if plotted in an Excel sheet. Compound interest formula for the revenues and the costs and a NPV formula for the anual result.
    However is there a way to do with help of VBA w/o plotting this in excel.
    This will save me a lot of time (setting up around a 1000 sheets!)
    Tnx in advance.

    Year 2% 2% 5%
    1 10.000 5.000 5.000
    2 10.200 5.100 5.100
    3 10.404 5.202 5.202
    4 10.612 5.306 5.306
    5 10.824 5.412 5.412
    6 11.041 5.520 5.520
    7 11.262 5.631 5.631
    8 11.487 5.743 5.743
    9 11.717 5.858 5.858
    10 11.951 5.975 5.975

    NPV= 41.940,53
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: compound interest and NPV formula in a VBA script

    Crossposted to http://www.mrexcel.com/forum/excel-questions/826130-compound-interest-dcf-formula-visual-basic-applications.html.

    See especially my comments #10 and #11 in that thread. Does that solve your problem?

    Note: I think it would be better if you responded in the mrexcel.com/forum thread, since that is where my detailed response is.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: compound interest and NPV formula in a VBA script

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. Compound interest formula
    By Helencool in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-25-2014, 07:20 PM
  2. compound interest calculating formula
    By johncena in forum Excel General
    Replies: 1
    Last Post: 10-05-2013, 04:07 AM
  3. Compound interest formula
    By Meechy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-04-2012, 08:00 PM
  4. Mtge calculation (Dly compound interest and multiple interest rate
    By Spudson in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-02-2005, 06:17 PM
  5. compound interest formula
    By Ciara in forum Excel General
    Replies: 3
    Last Post: 06-08-2005, 11:05 AM

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