How to reverse text?
Hello,
I need to reverse the format of a date stored as text. I used the =(life end date) + "" formula, hoping it would convert exactly as the date column format (YYYY_MM_DD), but nope... it populates as MM-DD-YY.
How can I reverse the order? I'm fine with two-digit year, I just really need it to show as year/month/day. Thank you in advance!
Best Answer
-
Try this formula:
=RIGHT([Life End Date]@row, 2) + "-" + LEFT([Life End Date]@row, 2) + "-" + MID([Life End Date]@row, 4, 2)
Does it work?
Answers
-
This article might be of assistance.
-
@Mike Wilday Thank you, but this option doesn't work in the text column :(
-
Try this formula:
=RIGHT([Life End Date]@row, 2) + "-" + LEFT([Life End Date]@row, 2) + "-" + MID([Life End Date]@row, 4, 2)
Does it work?
-
@Mike Wilday YES!!!! Thank you!!! I tried to work the formula, but I was missing the '+ "-" +' part.
-
Awesome. Please accept my answer! :D
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!