+ Reply to Thread
Results 1 to 6 of 6

Formula to calculate interest for partial year

  1. #1
    Registered User
    Join Date
    06-13-2013
    Location
    Charleston, SC
    MS-Off Ver
    Excel 2010
    Posts
    75

    Formula to calculate interest for partial year

    Good morning,

    I have developed a financial calculator that asks the user for the "input date" which is used to record balances as of the input date. My interest calculation for the first year is based on the current date compared to the input date. For example, if the user is keying in a current balance of 10,000 @ 10% interest, and the "statement date" or "input date" is 12/30/2013, and the current date is today, 2/4/2014, then it should calculate interest for the entire year of 2014. It is not doing that. It calculates $3 interest. But if input date is 6/30/2013 with current date of 2/4/2014, it seems to work OK. It calculates interest of $504 in that case. It appears to get messed up with the year transition between current date and input date. The formulas I have listed below appear to work fine except when the input date is 2013 for the year and the current date is 2014. The formula does not "see" that input date was last year. There must be a minor tweak to formula I am overlooking.

    Cell C2 = Today's Date =TODAY()
    Cell E2 = Input day of year =DATE(YEAR(C3),12,31)-C3
    Cell E3 = Investment Rate
    Cell G2 = yr 1 interest rate adjusted =(E3/1)*($E$2/365)
    Cell C21 = Current Balance
    Cell D21 = Interest Yr1 = C21*G2

    Please help. I need the interest calculation to account for partial year accrual. Thanks

    HR
    Last edited by hmr2662; 02-04-2014 at 03:48 PM. Reason: solved

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,925

    Re: Formula to calculate interest for partial year

    Use this in E2. You are subtracting 12/31/2013 - 12/30/2013 and getting 1 day. You need to subtract the input day minus 1/1 of that year. The DAYS function is a way to that without explicitly using a subtraction.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    By the way, the formula in G2 includes division by 1, which doesn't do anything. That formula is equivalent to

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Also, your formulas D21 are strictly for simple interest. If you need to use compounded interest, which is what most loans and investments use, you need different formulas.
    Last edited by 6StringJazzer; 02-04-2014 at 01:41 PM.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    06-13-2013
    Location
    Charleston, SC
    MS-Off Ver
    Excel 2010
    Posts
    75

    Re: Formula to calculate interest for partial year

    Jeff,

    Thanks for the suggestions. I fixed the formulas as you mentioned and when I changed to the =DAYS(....) I get a #NAME? error. Also, on my spreadsheet, I account for each year so in year 2, the current balance is the ending balance from previous year so compounding is factored in. I am not sure how to troubleshoot from here.

    Thanks
    HR

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,925

    Re: Formula to calculate interest for partial year

    Maybe DAYS is not available in your version. It's simple enough to do it with subtraction.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    (What you have described is annual compounding, which is fine if that's the way it's supposed to be calculated. I mentioned it only because continuous compounding is pretty common.)

  5. #5
    Registered User
    Join Date
    06-13-2013
    Location
    Charleston, SC
    MS-Off Ver
    Excel 2010
    Posts
    75

    Re: Formula to calculate interest for partial year

    Thanks 6StringJazzer, that did it! Much appreciated.

    HR

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,925

    Re: Formula to calculate interest for partial year

    You're welcome! Thanks for the rep, and thanks for marking your thread Solved!

+ 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. Replies: 0
    Last Post: 10-07-2013, 05:59 PM
  2. Replies: 3
    Last Post: 03-12-2009, 09:54 AM
  3. formula - calculate the yearly cost each year of the 10 year contract
    By Ineedxhelp in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-14-2008, 11:23 PM
  4. [SOLVED] How do I calc interest using 2 interest rates in 1 calendar year
    By MrTaxGuy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-19-2005, 10:05 AM
  5. Need formula to figure compound interest of a deposit for a year
    By Usedtobesmart in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM

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