Converting A System Generated Date to Month Year
I wanted to find out how to convert the date 05/18/21 4:54 PM to May-21
Your assistance is greatly appreciated
Best Answer
-
The most straight forward solution would be to use a nested IF to generate the month and then a RIGHT function to pull the year.
=IF(MONTH([Column Name]@row) = 1, "Jan", IF(MONTH([Column Name]@row) = 2, "Feb", IF(MONTH([Column Name]@row) = 3, "Mar", .............................)))))))))))) + "-" + RIGHT(YEAR([Column name]@row), 2)
Answers
-
The most straight forward solution would be to use a nested IF to generate the month and then a RIGHT function to pull the year.
=IF(MONTH([Column Name]@row) = 1, "Jan", IF(MONTH([Column Name]@row) = 2, "Feb", IF(MONTH([Column Name]@row) = 3, "Mar", .............................)))))))))))) + "-" + RIGHT(YEAR([Column name]@row), 2)
-
Thank you for the quick response and it freaking worked as expected!!!!!!!!
Awesome,
Mahalo!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 205 Use Cases
- 516 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 82 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!