Hello, trying to figure out the number of months in a date interval, but only for the year in which I am interested.
Say the interval is 9/1/2012 thru 10/31/2014
Now I have four cell values I want to return, how many months are in the years 2011, 2012, 2013, and 2014? The answer would be:
2011 - 0
2012 - 4
2013 - 12
2014 -10
Any thoughts on how to turn that into a formula?
I'm not hung up on the day of the month. All entries can be normalized to the first day of month for simplicity.
Thanks!
Say the interval is 9/1/2012 thru 10/31/2014
Now I have four cell values I want to return, how many months are in the years 2011, 2012, 2013, and 2014? The answer would be:
2011 - 0
2012 - 4
2013 - 12
2014 -10
Any thoughts on how to turn that into a formula?
I'm not hung up on the day of the month. All entries can be normalized to the first day of month for simplicity.
Thanks!