How to calculate "number of months" between two given date?
Hi
=DATEDIF(StartDate,EndDate,"M")
--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )
"nginhong" wrote in message
...
Example 1
Start date: 12/04/2004
End date: 12/04/2006
The formula should give the answer to 24 months
Example 2
Start date: 12/04/2004
End date: 13/04/2006
The formula should give the answer to 25 months
When I use function =(YEAR(A4)-YEAR(A3))*12+MONTH(A4)-MONTH(A3), it does
not
show 25 months for "Example 2" as it is still within the same month
"April"
Your kind support is greatly appreciated.
TQ!//nginhong
|