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!