Why is an error message invalid data type generated for this formula (Please provide proper syntax)
Why is an error message invalid data type generated for this formula (Please provide proper syntax)?
=IF(AND([Start Date]@row <= TODAY(), Status@row = "Not Started", "Red"), IF(AND([End Date]@row <= TODAY(), Status@row = "Complete"), "Red", "Green"))
Answers
-
Proper syntax would be:
=IF(AND([Start Date]@row <= TODAY(), Status@row = "Not Started"), "Red", IF(AND([End Date]@row <= TODAY(), Status@row = "Complete"), "Red", "Green"))
However, that particular error message leads me to believe that either one or both of the date columns is not an actual date type column or the data within one or both of those columns is not a date value.
-
Is this a problem if I am using predecessors as both date columns have value dates and are date fields (e.g., Date/Time)?
-
What do you mean by "Date/Time"? Are you able to provide a screenshot of your sheet to include the column headers?
-
The Date/Time is the column property
-
Are you a part of the Early Adopter Program? If so, I don't believe that column type has been rolled out publicly yet. You may need to delete this thread and reach out to the EAP support.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.4K Get Help
- 364 Global Discussions
- 202 Industry Talk
- 430 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!