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
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
Categories
- All Categories
- 14 Welcome to the Community
- 10.8K Get Help
- 65 Global Discussions
- 69 Industry Talk
- 385 Announcements
- 3.5K Ideas & Feature Requests
- 55 Brandfolder
- 125 Just for fun
- 50 Community Job Board
- 464 Show & Tell
- 40 Member Spotlight
- 44 Power Your Process
- 28 Sponsor X
- 234 Events
- 7.3K Forum Archives