Help with a date formula.
I would like to enter in a date into the end date column (its currently enabled as a date column) however the formula listed below returns an error of #DATE EXPECTED. The false value "-" shows up but the date does not. Any help on this would be greatly appreciated.
Here is my logic written out.
if rotation # column = 1 then enter the date 05/08/2021 into end date column. Im missing something but I cannot see it.
=IF([Rotation #]@row = "1", [End Date]@row = DATE(2022, 5, 8), "-")
Best Answer
-
Oh wait, I didn't even notice the row reference-you wouldn't need the [End Date]@row reference- it would only be the date as the true statement.
=IF([Rotation #]@row = 1, DATE(2022, 5, 8), "-")
Answers
-
Hey @Michael Lasonde
Your [Rotation #] appears to be a number but the quotes around the "1" is forcing it to behave as text. Remove the quote marks from 1
cheers
Kelly
-
Hi KDM, I appreciate the reply however after removing the "" I still have the same results.
-
Oh wait, I didn't even notice the row reference-you wouldn't need the [End Date]@row reference- it would only be the date as the true statement.
=IF([Rotation #]@row = 1, DATE(2022, 5, 8), "-")
-
Thats it right their, Thank you KDM
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.4K Get Help
- 394 Global Discussions
- 213 Industry Talk
- 449 Announcements
- 4.6K Ideas & Feature Requests
- 141 Brandfolder
- 132 Just for fun
- 131 Community Job Board
- 453 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 293 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!