Calculate Year/Month

eyemgod

Board Regular
Joined
May 29, 2003
Messages
60
Hello everyone,

I dont have something too complicated here I think. But i am not able to figure it out.

I have date in two columns and need to calculate so the result is how many year and month in between the two dates.

example:
Column A - 23 Aug 2004
Column B - 23 Oct 2006
Column C (result) - 2 years 2 month

Thanks,

Andre
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Well, a really simple implementation would be:
Code:
=YEAR(B1)-YEAR(A1) & " years, " & MONTH(B1)-MONTH(A1) & " months"

That might not always work for you though. For example, 1-DEC-06 & 1-JAN-07.

-Tim
 
Upvote 0

Forum statistics

Threads
1,215,737
Messages
6,126,576
Members
449,318
Latest member
Son Raphon

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top