Counting months between dates across multi-years

How can I calculate out how many months between 2 dates when the dates are in 2 different years?



Best Answer

  • Genevieve P.
    Genevieve P. Employee Admin
    Answer ✓

    Hi @Jessica Abbey

    I see you marked Dale's comment as not resolving your question.

    Another way to do this is to find how many days there are between the two dates, divide this by 365 (years) then multiply by 12 to find the Months.

    =ROUND((NETDAYS([Start Date]@row, [End Date]@row) / 365 * 12))

    Cheers,

    Genevieve

Answers

  • Dale Murphy
    Dale Murphy ✭✭✭✭✭✭

    @Jessica Abbey Not to over-simplify, but you have to count years and months!

    =(YEAR([Date 2]@row) - YEAR([Date 1]@row)) * 12 + (MONTH([Date 2]@row) - MONTH([Date 1]@row))

    should be pretty close.

    dm

  • Genevieve P.
    Genevieve P. Employee Admin
    Answer ✓

    Hi @Jessica Abbey

    I see you marked Dale's comment as not resolving your question.

    Another way to do this is to find how many days there are between the two dates, divide this by 365 (years) then multiply by 12 to find the Months.

    =ROUND((NETDAYS([Start Date]@row, [End Date]@row) / 365 * 12))

    Cheers,

    Genevieve