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
- All Categories
- 14 Welcome to the Community
- 10.7K Get Help
- 63 Global Discussions
- 69 Industry Talk
- 385 Announcements
- 3.5K Ideas & Feature Requests
- 55 Brandfolder
- 125 Just for fun
- 50 Community Job Board
- 464 Show & Tell
- 40 Member Spotlight
- 44 Power Your Process
- 28 Sponsor X
- 234 Events
- 7.3K Forum Archives
Check out the Formula Handbook template!