JenniferMiller
5 years agoQrew Member
Future Date Formula
I am working on developing an automatic job scheduler for our operations team. In my app, I have two fields:
[Most Recent Production Run Date] and [Recurrence]
From these two fields, I need to be able to calculate the [Next Scheduled Production Run Date].
I have been able to figure out for monthly, weekly, annual jobs, but where I am struggling is on jobs that we run, for example, twice monthly... in these cases, for example, [Recurrence]="Mid-Month: 16th and 23rd". So, if the [Most Recent Production Run Date]=1/16/2021, then I would need the [Next Scheduled Production Run Date] to be 1/23/2021. If the [Most Recent Production Run Date]=1/23/2021, then I would need the [Next Scheduled Production Run Date] to be 2/16/2021.
Any advice on how to build a formula to achieve this result?
Thanks, Jen
------------------------------
Jennifer Miller
------------------------------
[Most Recent Production Run Date] and [Recurrence]
From these two fields, I need to be able to calculate the [Next Scheduled Production Run Date].
I have been able to figure out for monthly, weekly, annual jobs, but where I am struggling is on jobs that we run, for example, twice monthly... in these cases, for example, [Recurrence]="Mid-Month: 16th and 23rd". So, if the [Most Recent Production Run Date]=1/16/2021, then I would need the [Next Scheduled Production Run Date] to be 1/23/2021. If the [Most Recent Production Run Date]=1/23/2021, then I would need the [Next Scheduled Production Run Date] to be 2/16/2021.
Any advice on how to build a formula to achieve this result?
Thanks, Jen
------------------------------
Jennifer Miller
------------------------------