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
- 67.2K Get Help
- 451 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!