Please enable JavaScript to view the comments powered by Disqus.


(...YEAR(...B4)-YEAR(...B3))*12+MONTH(...B4)-MONTH(...B3)

Calculate number of months between two dates

To calculate the number of months between two date, we need to take the difference of month and years between the dates, and multiply year with 12 to get the months, we finally add up both to get the month count. 


Used Functions

Category: Date and time

Converts a serial number to a year

Syntax

YEAR(serial_number)

Category: Date and time

Converts a serial number to a month

Syntax

MONTH(serial_number)

Lets chat on this