Extracting Month and Year from a date range

Hello, Smartsheet community,
I am trying to create a Month and year (MM/YYYY format) from a date range, for example, 02/09/2025-02/15/2025, where based on the last date of the range, it will be me 02/2025 format. I tried using the RIGHT function to get the year and month, but I can't seem to figure it out. Any suggestion would be greatly appreciated!
Best Answer
-
Give this a try:
=MID([Column Name]@row, 12, 2) + "/" + RIGHT([Column Name]@row, 4)
Answers
-
Is it possible you would have two different months in there? If so, how would you want to manage that?
-
Yes, if the date range was 01/26/2025-02/01/2025 with two different months, I would always want to use the ending date in the range, so in this case, it would be 02/2025.
-
Give this a try:
=MID([Column Name]@row, 12, 2) + "/" + RIGHT([Column Name]@row, 4)
-
That worked beautifully! Thank you so much!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.2K Get Help
- 452 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 81 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!