Skip to main content
Question

Need to Add a condition to this formula

  • October 2, 2023
  • 0 replies
  • 27 views

ReneeHansen1
Forum|alt.badge.img+6

Hi,
I have my formula, but i need to add a condition to it

LastDayOfMonth(AdjustMonth([Start Date], ToNumber([Months Needed])))

If Employment Status is FTE add 5 years to the start date (and use the last day of the month), otherwise use the formula above.

How do I add that condition?

Thank You!



------------------------------
Renee Hansen
------------------------------
This topic has been closed for replies.

MarkShnierYou
Forum|alt.badge.img+22
  • Quickbase Alumni
  • October 2, 2023

Here is  is one solution.

var date AdjustedStartDate = IF([Employment Status]="FTE", AdjustYear([Start date],5), [Start Date]);

LastDayOfMonth(AdjustMonth($AdjustedStartDate, ToNumber([Months Needed])))



------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------