Using formulas in date fields which reference another field
I'm trying to enter a formula in a date field which is 10 days earlier than the date in another field. I read that I can perform calculations on date fields (https://help.smartsheet.com/articles/2477601-use-formulas-perform-calculations-dates) and reference another cell in the formula (https://help.smartsheet.com/articles/2476816-create-cell-column-reference-formula).
My formula is
=[Start Date]42-10
because I want the date that is 10 days earlier than the cell in row 42 of the "Start Date" column.
However, when I enter this formula in the cell and hit Enter, all I see is the formula itself. See attached screenshot. What am I doing wrong?
Comments
-
If the date column is assigned to either the start or end date columns and you have dependencies enabled in your project settings you cannot have a formula on it. These fields are calculated my SmartSheet based on the dependencies.
The project settings are accessible in the Gantt View via the cog (settings) icon under the Share button.
✅Did my post help answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
-
Frank is correct. It seems as if you have your dependencies enabled and are using that column as one of your project columns. You have a few options...
1. Disable dependencies in the Project Settings.
2. Create another column for the calculated dates.
3. Select a different column in your Project Settings.
4. Add lag/lead time if establishing predecessors.
-
Thank you, Frank and Paul!
-
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!