+ Reply to Thread
Results 1 to 5 of 5

Divide Time Period across different Time Frames (Calculating Interest)

  1. #1
    Registered User
    Join Date
    02-01-2013
    Location
    Greece
    MS-Off Ver
    Excel 2010
    Posts
    28

    Divide Time Period across different Time Frames (Calculating Interest)

    Hi all,
    In the attached excel file:

    Interest.xlsx

    I've got a time period "C3:D3" (time periods can be altered by user) and a sum of money for which i need to calculate interest across different time periods with different interest rates.
    You can check out my formula in "E6:E" but somehow I'm not postive it's correct.
    I want the formula to divide days of the above period of time across the different int. rates time frames (return "0" when int.rates times frames are before or after my time period).

    Also, I'm not certain how to handle the last int. rate time frame (ie the last time int. rate was changed so it's not a closed time frame B50:C50). I have the last date int. rate was changed in B50 and C50 equals above mentioned D3. Does it make any sense?

    Thanks for any help!

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Divide Time Period across different Time Frames (Calculating Interest)

    Where you have Days in Column E, change the formula to:

    =MAX(0,MIN($D$3,C6)-MAX($C$3,B6)+1)

    and then copy down.


    This is the sum of days between the 4 dates that overlap.

    Then you're just left with the Interest accrued on dates that overlap your range. I came out with 58 days @ 8.5%, 62 days @ 8.75%, and 6 days @ 7.5% = 2.96 English monies.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Registered User
    Join Date
    02-01-2013
    Location
    Greece
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Divide Time Period across different Time Frames (Calculating Interest)

    Quote Originally Posted by daffodil11 View Post
    Where you have Days in Column E, change the formula to:

    =MAX(0,MIN($D$3,C6)-MAX($C$3,B6)+1)

    and then copy down.


    This is the sum of days between the 4 dates that overlap.

    Then you're just left with the Interest accrued on dates that overlap your range. I came out with 58 days @ 8.5%, 62 days @ 8.75%, and 6 days @ 7.5% = 2.96 English monies.
    Could you clarify why the "+1"? In that way days add up to 58+62+6=126 but D3-C3 gives 123 days. So???
    Thanks in advance!

  4. #4
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Divide Time Period across different Time Frames (Calculating Interest)

    Oops. It was left over from my previous calculation attempt.

    Just omit the +1.

  5. #5
    Registered User
    Join Date
    02-01-2013
    Location
    Greece
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Divide Time Period across different Time Frames (Calculating Interest)

    Thank you very much for your time!

+ 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. Calculating number of certain hours within a specified time period
    By cdf27 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-30-2013, 07:19 PM
  2. Calculating data within a time period
    By jmorton in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2012, 10:31 AM
  3. Replies: 0
    Last Post: 08-08-2011, 09:13 PM
  4. Calculating Difference Betwen Time Frames
    By Vladmir1111 in forum Excel General
    Replies: 2
    Last Post: 01-16-2009, 11:48 PM
  5. Calculating Time across a 24 hour period
    By jmag in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-19-2007, 12:27 PM

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