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
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
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
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 412 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 140 Just for fun
- 57 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives