I am wondering how to calculate the next payment date a client has. We know when their payment date starts, what the frequency of their payments is, and of course today's date. However, I cannot seem to figure out how to calculate when their next payment is when we know what their frequency of payment and payment start date is.

For example. If they started paying on 1 Jan 2019, and they pay weekly, I want the output (knowing today is 15 Jan 2019), to be 22 Jan 2019.

The formula I currently have is:

=IF(L4="Weekly",M4+7, if(L4="Bi-Weekly", M4+14, If(L4="Monthly", EDATE(M4,1), if(L4="Semi-Monthly", "Manual", "Error"))))

L4 being the frequency based upon a drop-down list, and M4 is the start date.

However, it of course only returns the payment date immediately following the start date.

Any help would be greatly appreciated!

spreadsheet here

  • Unfortunately, I cannot as it contains client info. I will copy and paste into a new sheet and attach asap.
    – Tempest
    Jan 15, 2019 at 16:10
  • I have added the shared link. Thanks!
    – Tempest
    Jan 15, 2019 at 16:15

2 Answers 2


=IF(L9="Weekly", (IF(WEEKNUM(M9) = WEEKNUM(TODAY()), M9+7,
                  IF(M9+7 * (WEEKNUM(TODAY())-1) = TODAY(), M9+7 * (WEEKNUM(TODAY()+1)),
                  IF(M9+7 * (WEEKNUM(TODAY())-1) < TODAY(), TODAY()+6-WEEKDAY(M9),
                  IF(M9> TODAY(), M9+7, M9+7 * (WEEKNUM(TODAY())-1)))))), 
 IF(L9="Bi-Weekly", M9+14,
 IF(L9="Monthly", EDATE(M9,1),
 IF(L9="Semi-Monthly", "Manual", "Error"))))


  • Thank you so much! I was able to take this and modify it to suit bi-weekly payments as well. The only issue I have found is that if I Set the date to 1/2/2019 the calculator is pushing out a date as 1/2/2019 despite the fact that tmr is the next payment. I assume it has something to do with the way today() is calculated?
    – Tempest
    Jan 15, 2019 at 16:52
  • The current version is *apologies for formatting - not sure how to properly format! =IF(L4="Weekly", (IF(WEEKNUM(M4)=WEEKNUM(TODAY()), M4+7, M4+7*(WEEKNUM(TODAY()+1)))), IF(N8="Bi-Weekly", (IF(WEEKNUM(O8)=WEEKNUM(TODAY()), O8+14, O8+14*(WEEKNUM(TODAY()+1)))), IF(L4="Monthly", if(month(today())<>month(M4), DATE(year(today()), month(today()),day(M4)), DATE(year(today()), month(today())+1,day(M4))), IF(L4="Semi-Monthly", "Manual", "Error"))))
    – Tempest
    Jan 15, 2019 at 17:05
  • Bi-weekly is a payment every 2 weeks or every 14 days.
    – Tempest
    Jan 15, 2019 at 17:23
  • The first frequency result should be 16 Jan 2019 if weekly. If they pay weekly, starting on the 2nd the payments would be 2nd, 9th, and then 16th (which is after the 15th, today). But it displays 23rd.
    – Tempest
    Jan 15, 2019 at 17:54
  • @Tempest answer updated
    – user0
    Jan 15, 2019 at 19:11

I was able to solve my entire solution with:

=IF(L4="Weekly", if(today()<M4, M4+7, (M4+(roundup(((today()-M4)/7))*7))), 
 IF(L4="Bi-Weekly", if(today()<M4, M4+14, (M4+(roundup(((today()-M4)/14))*14))),
 IF(L4="Monthly",if(day(today())>day(M4), DATE(year(today()), month(today())+1, day(M4)), DATE(year(today()), month(today()), day(M4)))    
,IF(L4="Semi-Monthly", "Manual", "="))))

Based on the answer of "Mark My Answer".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.