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
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!