Forum Discussion
MatthewDiMarco
7 years agoQrew Trainee
I made a field for November. The formula seems to result in "1" no matter of the start date. Can you review the formula below and let me know what I'm missing? Also, what number do I adjust to be the next month's field? Does it reset in Jan?
var date ActiveMonthStart = FirstDayOfMonth(AdjustMonth(Today(),2));
var date ActiveMonthEnd = FirstDayOfMonth(AdjustMonth(Today(),2));
If(
[Est Installation Start Date]<= $ActiveMonthEnd
and
[Est Completion Date] >= $ActiveMonthStart,1,0)
var date ActiveMonthStart = FirstDayOfMonth(AdjustMonth(Today(),2));
var date ActiveMonthEnd = FirstDayOfMonth(AdjustMonth(Today(),2));
If(
[Est Installation Start Date]<= $ActiveMonthEnd
and
[Est Completion Date] >= $ActiveMonthStart,1,0)