18 C
London
Thursday, July 24, 2025
HomeExcelDescriptive Statistics in ExcelHow to Convert Days to Months in Excel

How to Convert Days to Months in Excel

Related stories

Learn About Opening an Automobile Repair Shop in India

Starting a car repair shop is quite a good...

Unlocking the Power: Embracing the Benefits of Tax-Free Investing

  Unlocking the Power: Embracing the Benefits of Tax-Free Investing For...

Income Splitting in Canada for 2023

  Income Splitting in Canada for 2023 The federal government’s expanded...

Can I Deduct Home Office Expenses on my Tax Return 2023?

Can I Deduct Home Office Expenses on my Tax...

Canadian Tax – Personal Tax Deadline 2022

  Canadian Tax – Personal Tax Deadline 2022 Resources and Tools...

You can use the following formula in Excel to convert days to months:

=(B1-A1)/(365/12)

This formula calculates the number of months between cell B1 (the end date) and cell A1 (the start date).

The following example shows how to use this formula in practice.

Example: Convert Days to Months in Excel

Suppose we have the following list of start and end dates in Excel:

We could use the following formula to calculate the number of days between each start and end date:

B2-A2

We can type this formula into cell C2 and then copy and paste it down to every remaining cell in column C:

Column C shows the difference (in days) between each start and end date.

However, we could instead use the following formula to calculate the difference between each start and end date in terms of months:

=(B2-A2)/(365/12)

We can type this formula into cell C2 and then copy and paste it down to every remaining cell in column C:

Column C shows the number of months (including decimal places) between each start and end date.

For example:

  • There are 0.5589 months between 1/1/2020 and 1/18/2020.
  • There are 2.1041 months between 2/1/2020 and 4/5/2020.
  • There are 0.1644 months between 3/1/2020 and 3/6/2020.

And so on.

Note that you could instead use this formula to calculate the number of months between two dates if you’d like to assume that 30 days represents an average month:

=(B2-A2)/30

However, this is not as accurate as using (365/12) as the denominator in the formula.

Additional Resources

The following tutorials explain how to perform other common tasks in Excel:

How to Calculate the Difference Between Two Dates in Excel
How to Filter Dates by Month in Excel
How to Group Data by Month in Excel

Subscribe

- Never miss a story with notifications

- Gain full access to our premium content

- Browse free from up to 5 devices at once

Latest stories