Counting months between dates across multi-years
How can I calculate out how many months between 2 dates when the dates are in 2 different years?
Best Answer
-
I see you marked Dale's comment as not resolving your question.
Another way to do this is to find how many days there are between the two dates, divide this by 365 (years) then multiply by 12 to find the Months.
=ROUND((NETDAYS([Start Date]@row, [End Date]@row) / 365 * 12))
Cheers,
Genevieve
Join us at Smartsheet ENGAGE 2024 🎉
October 8 - 10, Seattle, WA | Register now
Answers
-
@Jessica Abbey Not to over-simplify, but you have to count years and months!
=(YEAR([Date 2]@row) - YEAR([Date 1]@row)) * 12 + (MONTH([Date 2]@row) - MONTH([Date 1]@row))
should be pretty close.
dm
-
I see you marked Dale's comment as not resolving your question.
Another way to do this is to find how many days there are between the two dates, divide this by 365 (years) then multiply by 12 to find the Months.
=ROUND((NETDAYS([Start Date]@row, [End Date]@row) / 365 * 12))
Cheers,
Genevieve
Join us at Smartsheet ENGAGE 2024 🎉
October 8 - 10, Seattle, WA | Register now
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.3K Get Help
- 364 Global Discussions
- 199 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 445 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives