How to Setup A Date Formula Based on a Conditional Statement
I have a date column for noting when someone's contracted employment will end. I'd like to create a formula to reference that date, subtract 180 days from it if their appointment term is "Limited" else the reminder date will be 90 days before the end date. I plan to use this reminder date for a workflow to alert someone.
In my mind, the formula would look something like =IF([Appointment Term]@row = "Limited", [End Date]@row - 180, [End Date]@row - 90), but it's saying this will not produce a date. How can I write this correctly so that it shows up as a date?
Best Answer
-
Never mind. This was the correct way to write this. I just had to enter an end date and then convert the formula to a column formula for it to stop telling me I was wrong.
Answers
-
Never mind. This was the correct way to write this. I just had to enter an end date and then convert the formula to a column formula for it to stop telling me I was wrong.
-
Hi @Hayden Helms I'm glad you got it to work!
Help Article Resources
Categories
Check out the Formula Handbook template!