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
- Smartsheet Customer Resources
- 62.5K Get Help
- 367 Global Discussions
- 202 Industry Talk
- 432 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 447 Show & Tell
- 29 Member Spotlight
- 1 SmartStories
- 285 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!