IF, THEN formula that references a checkbox field and a date field
I'm trying to write an IF, THEN formula that references a checkbox field and a date field, but I keep getting errors. Here's the logic: If the 'EMDS' column is checked, then calculate the 'Date Needed' column minus five days. If seems simple, but it may actually be too complicated for the system since it essentially involves nesting formulas. Here's what I have so far, which is returning an #INVALID COLUMN error: =IF(EMDS@row = 1, [Date Needed]@row - 5,). Any advice is appreciated.
Best Answer
-
=IF([EMDS]@row, [Date Needed]@row - 5)
The column that contains the formula must be a "Date" column.
Answers
-
=IF([EMDS]@row, [Date Needed]@row - 5)
The column that contains the formula must be a "Date" column.
-
Fantastic. It originally was a Date column, but I kept getting the 'Date Expected' error message so I changed it to a Text column. I changed it back to a Date column and now it works exactly as intended. Thanks!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 448 Global Discussions
- 154 Industry Talk
- 504 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 512 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!