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
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 58 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!