Extracting a date from a text field
Answers
-
Since the number of characters will remain fixed, we can use the character count directly. To convert text to date, you must use the DATE function, which has the format of DATE(YYYY, MM, DD). We will gather this information using the LEFT and MID functions. To make sure the result is recognized as a number and not text, we'll force it to a number using the VALUE function
=DATE(VALUE(LEFT([your text column]@row, 4)), VALUE(MID([your text column]@row, 6, 2)), VALUE(MID([your text column]@row, 9, 2)))
Be sure to insert your actual column name into the formula.
Did this work for you?
Kelly
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 141 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!