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!
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!