how to convert a text date to a date
I have a column that brings in a date and time
ex 08/22/2024 05:30:22 PM
I want to extract the date portion into a date column, but I keep getting a #invalid Operations.
DATEONLY will not work because this is not a system generated date, it is coming in from another system.
ex
=LEFT([Inquiry Date]@row, 10)
does not work
Help
Answers
-
Hi @MarkCep
Your situation is probably different than the test I just set up but…if the column that's being populated from another system is Text/Number and the column that needs the date is a date column, the LEFT formula you posted worked for me in the date column.
Given your star ranking, I figure something else is going on but just wanted to pass on my test results.
Matt
-
Thanks Matt, I was having a brain block but figured it out.
Working formula:
=DATE(VALUE(MID([Inquiry Date]@row, 7, 4)), VALUE(MID([Inquiry Date]@row, 1, 2)), VALUE(MID([Inquiry Date]@row, 4, 2)))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!