How to determine the number of month between 2 periods?
One place to start is
A1: 23 Feb 2006
B1: 1 Apr 2006
C1: =DATEDIF(A1,B1,"m")
However, you need to be careful when it comes to how "month" is defined.
Is 31 January 2007 to 28 February 2007 one month? or zero? (Datedif
returns 0)
In article ,
Eric wrote:
Does anyone know how to determine the number of month between 2 periods? such
as
23 Feb, 2006 and 1 Apr, 2006, it returns 2 months difference and not
counting the starting day. And always start to count Feb, 2006 and Apr, 2006.
Does anyone have any suggestion?
Thank you in advance
Eric
|