+ Reply to Thread
Results 1 to 4 of 4

Payment calculator adjustment help

  1. #1
    Forum Contributor
    Join Date
    01-09-2016
    Location
    USA,USA
    MS-Off Ver
    2016
    Posts
    1,192

    Payment calculator adjustment help

    I have a payment calculator that helps determine if payments are within their due dates. Payments have a twenty day grace period. You can pay twenty days before or twenty days after. My calculator makes it easier to find out what monthly due date would work for all the payments. You are permitted to miss ONE month.

    Attached is my calculator. You can see on the "Classic" tab the calculator I started with versus what I have created thus far. Password is QA.

    My two roadblocks are as you can see in my example workbook, if you make payments on the 15th of every month, January through June, miss a July payment, then pay on the 27th from August to December. We would first try to pick a due date that would cause you NOT to skip a month. However, in this example, there isn't a due date that would work. So you would have to just skip July's payment. Hope that makes sense. Just in case, i'll try again, if it did, skip the next paragraph lol

    Do not think in terms of due dates. You make 9 payments. You want those payments to apply, without missing a month and therefore extending your time. So you need to then, based on your payment dates, pick a due date that will get your 9 payments in 9 straight months. Otherwise, you are allowed to skip ONE month.

    A January 3rd payment could count as your December payment.

    I have my calculator setup to roll all the payments back or forward a month, but if an actual skip month is required, I do not have a way to do that without the user actually identifying it. Basically if column E is over 20 regardless of the due date, then it would be a skip month. So if I had a button that would look through "E" and say when E7= >20, then it would change the formula in B7 to be =EDATE(B6,2),"")) instead of EDATE(B6,1),"")). Which would cause it to skip a month.


    My other roadblock is right now you have to manually guess the due dates to try and find one that works. Perfect world, macro would see if a due date of the 1st would work for all, otherwise then move to due date of the 2nd.
    Incorrect formula, but B19="1", See if E4 is +/- 20, then see if E5 is +/- 20........or........if but B19="1", See if E4 is +/- 20, if not then, B19="2", See if E4 is +/- 20


    I don't doubt this to be an extremely difficult task, one that may not generate any response or solutions, but if anyone can help me bridge the gap..
    Attached Files Attached Files
    Last edited by taylorsm; 05-19-2017 at 10:15 AM.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Payment calculator adjustment help

    Not sure I follow everything, but is what I could decipher from your description.

    Quote Originally Posted by taylorsm View Post
    I have my calculator setup to roll all the payments back or forward a month, but if an actual skip month is required, I do not have a way to do that without the user actually identifying it. Basically if column E is over 20 regardless of the due date, then it would be a skip month. So if I had a button that would look through "E" and say when E7= >20, then it would change the formula in B7 to be =EDATE(B6,2),"")) instead of EDATE(B6,1),"")). Which would cause it to skip a month.

    The first problem with changing B7 based on the value in E7 is that E7 is calculated based on the value in B7. This would create a circular reference. The B7 formula should calculate the next due date based on the previous month and compare that to the payment date in column C. Then if the day difference is >20 skip a month.

    Try this in cell B5 and copy down column B

    =IF(ISBLANK($C$4),"",EDATE(B4,1+(C5-EDATE(D4,1)>20)))



    My other roadblock is right now you have to manually guess the due dates to try and find one that works. Perfect world, macro would see if a due date of the 1st would work for all, otherwise then move to due date of the 2nd.
    Incorrect formula, but B19="1", See if E4 is +/- 20, then see if E5 is +/- 20........or........if but B19="1", See if E4 is +/- 20, if not then, B19="2", See if E4 is +/- 20.
    Put this in E4 and copy down. It returns the absolute value of the day difference.
    =IF(ISBLANK(C4),"",ABS(C4-D4))

    This macro will loop through days 1 to 30 until it finds a date where no cells in E3:E15 are >20

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Forum Contributor
    Join Date
    01-09-2016
    Location
    USA,USA
    MS-Off Ver
    2016
    Posts
    1,192

    Re: Payment calculator adjustment help

    Damn dude. I love it, then hate it lol. I thought I was doing well then slam. Put in my place!

    Couple things to tune. There can only be one month that is skipped. Two missed months = broken. So If you do the 1st over every month. Jan-September but miss February and then July, then the payment plan cannot be saved. Does that make sense? and then you can see in the attached book, I have made your alterations, in the Payment Month column, the month of MAY is absent, because it was skipped. Can we put that back in, but just have an empty cell next to it. That way it stands out to anyone that looks at it that a month was skipped?

    Also.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Payment calculator adjustment help

    No, I don't follow what you want. If you put in a blank month, the other formulas in columns D and E are messed up.

    Perhaps you could copy the sheet a couple of times and put different scenarios in and manually calc the payment months to illustrate your meaning? If you do, please do me a favor; Unprotect the sheets and remove the IFERROR part of the formulas. I have an older version of excel that doesn't have IFERROR.

+ 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. Variable Payment Calculator
    By Openjim in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-08-2021, 05:45 AM
  2. [SOLVED] Amount based on Shortage or Payment or Adjustment
    By suhabthan in forum Excel General
    Replies: 8
    Last Post: 04-24-2012, 02:05 PM
  3. Payment Calculator
    By jliaci in forum Excel General
    Replies: 3
    Last Post: 11-03-2010, 01:29 AM
  4. Night payment calculator
    By dangerchef in forum Excel General
    Replies: 9
    Last Post: 02-09-2010, 06:24 AM
  5. payment calculator
    By BOC in forum Excel General
    Replies: 4
    Last Post: 09-23-2008, 09:41 AM
  6. [SOLVED] monthly mortgage payment calculator
    By Raza in forum Excel General
    Replies: 2
    Last Post: 10-17-2005, 09:05 AM
  7. Payment Calculator not working correctly
    By SwimBob in forum Excel General
    Replies: 2
    Last Post: 06-17-2005, 02:05 PM
  8. [SOLVED] I need a loan calculator that you can plug in the payment amount
    By payment amount loan calculator in forum Excel General
    Replies: 5
    Last Post: 05-30-2005, 05: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