Month / Year out of a date
I'm trying to create a formula to extract Month-Year from a date column.
=IF(MONTH([Date Updated]@ROW) = 1, "Jan-" + RIGHT(YEAR([Date Updated]@ROW), 2), IF(MONTH([Date Updated]@ROW) = 2, "Feb-" + RIGHT(YEAR([Date Updated]@ROW), 2), IF(MONTH([Date Updated]@ROW) = 3, "Mar-" + RIGHT(YEAR([Date Updated]@ROW), 2), IF(MONTH([Date Updated]@ROW) = 4, "Apr-" + RIGHT(YEAR([Date Updated]@ROW), 2), IF(MONTH([Date Updated]@ROW) = 5, "May-" + RIGHT(YEAR([Date Updated]@ROW), 2), IF(MONTH([Date Updated]@ROW) = 6, "Jun-" + RIGHT(YEAR([Date Updated]@ROW), 2), IF(MONTH([Date Updated]@ROW) = 7, "Jul-" + RIGHT(YEAR([Date Updated]@ROW), 2), IF(MONTH([Date Updated]@ROW) = 8, "Aug-" + RIGHT(YEAR([Date Updated]@ROW), 2), IF(MONTH([Date Updated]@ROW) = 9, "Sep-" + RIGHT(YEAR([Date Updated]@ROW), 2), IF(MONTH([Date Updated]@ROW) = 10, "Oct-" + RIGHT(YEAR([Date Updated]@ROW), 2), IF(MONTH([Date Updated]@ROW) = 11, "Nov-" + RIGHT(YEAR([Date Updated]@ROW), 2), IF(MONTH([Date Updated]@ROW) = 12, "Dec-" + RIGHT(YEAR([Date Updated]@ROW), 2), ""))))))))))))
This formula is working in some sheets, but not on the sheet I'm trying today.
Thank you for any help!
Best Answer
-
Hi Paula
Have a look at the formula in the answer for this post
hope it helps
Shawn
Answers
-
Hi Paula
Have a look at the formula in the answer for this post
hope it helps
Shawn
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!