#1   Report Post  
ACase
 
Posts: n/a
Default Date Function

Hello,

I need to write a function which gives me the # of months between two dates.

Example.

Start Date = 01/01/2005
End Date = 03/31/2010

Function result = 63

Any help would be much appreciated.

Thanks
Arno
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

=DATEDIF(A1,B1,"m")+1

HTH
Jason
Atlanta, GA

-----Original Message-----
Hello,

I need to write a function which gives me the # of

months between two dates.

Example.

Start Date = 01/01/2005
End Date = 03/31/2010

Function result = 63

Any help would be much appreciated.

Thanks
Arno
.

  #3   Report Post  
ACase
 
Posts: n/a
Default

Thank You

"Jason Morin" wrote:

=DATEDIF(A1,B1,"m")+1

HTH
Jason
Atlanta, GA

-----Original Message-----
Hello,

I need to write a function which gives me the # of

months between two dates.

Example.

Start Date = 01/01/2005
End Date = 03/31/2010

Function result = 63

Any help would be much appreciated.

Thanks
Arno
.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using date function in an if statement M Smith Excel Worksheet Functions 2 March 30th 05 06:53 PM
Is there a function to show future date taxmom Excel Worksheet Functions 2 March 4th 05 09:23 PM
Date function geza Excel Worksheet Functions 2 February 11th 05 04:15 PM
Calculating days between current date and a date in future NETWORKDAYS() function Faheem Khan Excel Worksheet Functions 2 February 10th 05 07:18 PM
Formula for date function Markitos Excel Worksheet Functions 15 November 10th 04 02:05 AM


All times are GMT +1. The time now is 04:06 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"