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!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 205 Use Cases
- 516 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 82 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!