I'm trying to set up a formula that will tell me when the next date is based on a specific increment of time from an "origin" date.
For example, let's say I have a contract start date of 1/1/2020 and the contract renews on 6-month increments, I would want the result shown right now to be 1/1/2023. However if today were April 3, 2022, I would want the result shown to be 7/1/2022.
I also would ideally have a way to modify it for 6, 12, and 1 month intervals. So I have this formula right now that works as desired for 12 month intervals:
if(I3="12-Month Auto",edate(F3,(datedif(F3,today(),"y")+1)*12)
But i cannot for the life of me figure out how to modify it for these alternative intervals. I've dissected how the edate & datedif formulas work, but the best I can do is understand why changing the 12 in the formula above to a 6 doesn't work. I cannot figure out how to modify it, or what alternative formula I need to get the 6-month (or 3-month, 9-month, 1-month) intervals to work.
Any thoughts on how to make this work? TY!
For example, let's say I have a contract start date of 1/1/2020 and the contract renews on 6-month increments, I would want the result shown right now to be 1/1/2023. However if today were April 3, 2022, I would want the result shown to be 7/1/2022.
I also would ideally have a way to modify it for 6, 12, and 1 month intervals. So I have this formula right now that works as desired for 12 month intervals:
if(I3="12-Month Auto",edate(F3,(datedif(F3,today(),"y")+1)*12)
But i cannot for the life of me figure out how to modify it for these alternative intervals. I've dissected how the edate & datedif formulas work, but the best I can do is understand why changing the 12 in the formula above to a 6 doesn't work. I cannot figure out how to modify it, or what alternative formula I need to get the 6-month (or 3-month, 9-month, 1-month) intervals to work.
Any thoughts on how to make this work? TY!