I am trying to calculate the 'next due' date for a set of recurring tasks (quarterly, semiannual, annual) based on the 'last done' date. The difficulty is that the task must remain on a set schedule. For example, if a quarterly task is designated to be performed in March, June, September and December (3,6,9,12) and if it done a month late or early, the 'next due' date needs to remain in the original frequency. I have worked with EDATE and CEILING but cannot figure out how to force the desired fixed schedule. Please see the sample data and formula so far below. Any help is greatly appreciated.
[TABLE="class: grid, ******* 200, align: center"]
<tbody>[TR]
[TD]last done[/TD]
[TD]frequency[/TD]
[TD]fixed month[/TD]
[TD]next due[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9/1/15[/TD]
[TD]12[/TD]
[TD]9[/TD]
[TD]=EDATE(A2,CEILING(DATEDIF(A2,TODAY(),"m")+1,B2))[/TD]
[TD]annual[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6/22/16[/TD]
[TD]3[/TD]
[TD]9[/TD]
[TD]=EDATE(A2,CEILING(DATEDIF(A2,TODAY(),"m")+1,B2))[/TD]
[TD]quarterly[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, ******* 200, align: center"]
<tbody>[TR]
[TD]last done[/TD]
[TD]frequency[/TD]
[TD]fixed month[/TD]
[TD]next due[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9/1/15[/TD]
[TD]12[/TD]
[TD]9[/TD]
[TD]=EDATE(A2,CEILING(DATEDIF(A2,TODAY(),"m")+1,B2))[/TD]
[TD]annual[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6/22/16[/TD]
[TD]3[/TD]
[TD]9[/TD]
[TD]=EDATE(A2,CEILING(DATEDIF(A2,TODAY(),"m")+1,B2))[/TD]
[TD]quarterly[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]