Change text format to date
The format that I have is :21/Jan/2020
This formula does not help: DATE(VALUE(RIGHT(text,4)), VALUE(MID(text,4,3)),VALUE(LEFT(text,2)))
Does anybody have a suggestion?
Best Answers
-
You would need to convert the "Jan" to a number.
IF(MID(text,4,3) = "Jan", 1, IF(MID(text,4,3) = "Feb", 2, IF(MID(text,4,3) = "Mar", 3, ..............................................................., 12)))))))))))
Then drop that into the VALUE function within the month section.
DATE(VALUE(RIGHT(text,4)), VALUE(IF(MID(text,4,3) = "Jan", 1, IF(MID(text,4,3) = "Feb", 2, IF(MID(text,4,3) = "Mar", 3, ..............................................................., 12)))))))))))),VALUE(LEFT(text,2)))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Thank you Paul.
-
Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Answers
-
You would need to convert the "Jan" to a number.
IF(MID(text,4,3) = "Jan", 1, IF(MID(text,4,3) = "Feb", 2, IF(MID(text,4,3) = "Mar", 3, ..............................................................., 12)))))))))))
Then drop that into the VALUE function within the month section.
DATE(VALUE(RIGHT(text,4)), VALUE(IF(MID(text,4,3) = "Jan", 1, IF(MID(text,4,3) = "Feb", 2, IF(MID(text,4,3) = "Mar", 3, ..............................................................., 12)))))))))))),VALUE(LEFT(text,2)))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Thank you Paul.
-
Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.9K Get Help
- 379 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 302 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!