Date Helper Not Helping
I created a driver check in and the shipper wonder if there was a way that they could see when a line last pick up. So I used the a date helper and a time helper to separate the information and I used a separate sheet to pull the information. The date helper formula i am using is:
=DATEONLY(Created@row) + IF(AND(VALUE(LEFT([Time Created]@row, FIND(":", [Time Created]@row) - 1)) <> 12, VALUE(LEFT([Time Created]@row, FIND(":", [Time Created]@row) - 1)) >= 5, FIND("P", [Time Created]@row) > 0), 1)
But you can see in the picture it not working that well. Any check in it puts the date two days ahead then after midnight it goes back to that date. What am I doing wrong?
Best Answer
-
My apologies.
=DATE(VALUE("20" + MID(Created@row, 7, 2)), VALUE(LEFT(Created@row, 2)), VALUE(MID(Created@row, 4, 2)))
Answers
-
Try this...
=DATE(VALUE("20" + MID(Created@row, 7, 2)), VALUE(RIGHT(Created@row, 2)), VALUE(MID(Created@row, 4, 2)))
-
@Paul Newcome it comes up as #INVALID VALUE
-
My apologies.
=DATE(VALUE("20" + MID(Created@row, 7, 2)), VALUE(LEFT(Created@row, 2)), VALUE(MID(Created@row, 4, 2)))
-
@Paul Newcome That worked!! Thank you!
-
Happy to help. 👍️
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
- 143 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!