# How to calculate the difference for each month of the time period?

Options

hi!

I'm not good at English.

I want to calculate the difference for each month of the time period.
Is it possible to get the duration of a month when the format is a time period?

Thank you.

Image diagram

Tagged:

Options

I'm not very good with English either, but I hope my options will help you 🙂

I have figured out several formulas over time that may help you (see attachments

• Options
I need to change it to date type.
I am going to use it as an example!
Thank you!!
• Options

@KubotaNatsuki wrote:

hi!

I'm not good at English.

I want to calculate the difference for each month of the time period.
Is it possible to get the duration of a month when the format is a time period?

Thank you.

Image diagram

In a new cell, type in =DATEDIF(A1,B1,”Y”). The “Y” signifies that you'd like the information reported in years. This will give you the number of years between the two dates. To find the number of months or days between two dates, type into a new cell: =DATEDIF(A1,B1,”M”) for months or =DATEDIF(A1,B1,”D”) for days.

Official Website

• Options
=DATEDIF is not an Anaplan function!