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
- Customer Resources
- 64.6K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!