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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!