Formula that will allow a date in text format to be captured in a date format
I have a Date getting imported as 08JUN2021 (2charDay+3charMonth+4charYear) and I need to switch it to a Date format that will allow integration in other formulas and logic flows.
So far I have tried these 2 formulas without success:
=DATE(VALUE(RIGHT([WES Evaluable Report Date]@row, 4)), VALUE(VLOOKUP(MID([WES Evaluable Report Date]@row, FIND("", [WES Evaluable Report Date]@row) + 2), [Column56]1:[Column57]12, 2, false)), VALUE(MID([WES Evaluable Report Date]@row, FIND("", [WES Evaluable Report Date]@row), 3)))
(Incorrect Argument)
=DATE(VALUE(RIGHT(LEFT([WES Evaluable Report Date]@row, 9), 4)), INDEX([Column56]1:[Column57]12, MATCH(MID([WES Evaluable Report Date]@row, 3, 3), [Column56]1:[Column57]12)), VALUE(LEFT(LEFT([WES Evaluable Report Date]@row, 9), 2)))
(Invalid Data Type)
Any help is really appreciated it!!
Best Answers

Problem solved!
=IFERROR(DATE(VALUE(RIGHT([WES Evaluable Report Date]@row, 4)), VALUE(INDEX([Month #]$1:[Month #]$12, MATCH(MID([WES Evaluable Report Date]@row, 3, 3), [Month Text]$1:[Month Text]$12, 0))), VALUE(LEFT([WES Evaluable Report Date]@row, 2))), "")
This still does not allow for column formula but it works.

I'm glad you figured it out! Thanks for posting your solution.
If you wanted to turn this into a Column Formula, you could make a second sheet with just two columns: the Month Name as Text and the corresponding Month Number. Then you could change the INDEX(MATCH portion of your formula to look across sheets into this other sheet.
This would give you {cross sheet references} instead of a specific table reference with row numbers so you could turn it into a Column Formula.
Cheers,
Genevieve
Join us at Smartsheet ENGAGE 2024 🎉
October 8  10, Seattle, WA  Register now
Answers

Problem solved!
=IFERROR(DATE(VALUE(RIGHT([WES Evaluable Report Date]@row, 4)), VALUE(INDEX([Month #]$1:[Month #]$12, MATCH(MID([WES Evaluable Report Date]@row, 3, 3), [Month Text]$1:[Month Text]$12, 0))), VALUE(LEFT([WES Evaluable Report Date]@row, 2))), "")
This still does not allow for column formula but it works.

I'm glad you figured it out! Thanks for posting your solution.
If you wanted to turn this into a Column Formula, you could make a second sheet with just two columns: the Month Name as Text and the corresponding Month Number. Then you could change the INDEX(MATCH portion of your formula to look across sheets into this other sheet.
This would give you {cross sheet references} instead of a specific table reference with row numbers so you could turn it into a Column Formula.
Cheers,
Genevieve
Join us at Smartsheet ENGAGE 2024 🎉
October 8  10, Seattle, WA  Register now
Help Article Resources
Categories
 All Categories
 14 Welcome to the Community
 Smartsheet Customer Resources
 61.3K Get Help
 321 Global Discussions
 197 Industry Talk
 418 Announcements
 4.2K Ideas & Feature Requests
 126 Brandfolder
 153 Just for fun
 124 Community Job Board
 441 Show & Tell
 26 Member Spotlight
 1 SmartStories
 278 Events
 34 Webinars
 7.3K Forum Archives
Check out the Formula Handbook template!