Formula to convert days into months

FAUK05

New Member
Joined
Aug 1, 2018
Messages
5
Hi,

I want to convert total days into months with a formula.
More specifically 10 oct 1982 - 1 nov 1982 = 22 days ; How many months is this? And what is the formula?

I researched many formula's but they round up the months into 30 days or 360days.

Thank you in advance for your help.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
You must assume a month is a fixed number of days.

If you want maximum precision:
- Every 400 years there are exactly 4,800 months.
- Every 400 years there are exactly 146,097 days.

Therefore a month contains 146,097 ÷ 4,800 = 30.436875 days.

So, in the example you gave, 22 days = 22 ÷ 30.436875 = 0.722807449844966 months.
 
Upvote 0
Datedif returns integers rounded down:


Excel 2010
ABC
110/10/198211/1/19820
Sheet6
Cell Formulas
RangeFormula
C1=DATEDIF(A1,B1,"m")
 
Upvote 0
Thank you,

This is accurate yes.
Now my problem is that i have start dates in column A en end dates in column B.
Sometimes the calculation between the dates are 365 days and sometimes it's less than a month (22 days more or less).
If i use the formula u gave me i get 11.99 months when days are 365.

I want a formula that calculates start date and end date in column C en months in cell D.
Where if total date is less then the actual days for that month it should stay per example 0.722 months.
But when 365 days it should be 12 month. And 387 days would be 12.722 months
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,269
Members
452,628
Latest member
dd2

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