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.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!