Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
shopgirl
 
Posts: n/a
Default how many months and days between two dates?

Friends,
If I have two dates: February 5,1999 and January 4, 2002, how can I
calculate the number of months and days between both dates?
Thank you for your time.
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Roger Govier
 
Posts: n/a
Default how many months and days between two dates?

shopgirl wrote
Friends,
If I have two dates: February 5,1999 and January 4, 2002, how can I
calculate the number of months and days between both dates?
Thank you for your time.


With the first date in A1 and the second in B1
Try
=DATEDIF(A1,B1,"m")& " months "&DATEDIF(A1,B1,"md")&" Days"

For more information on the undocumented Datedif function go to
http://www.cpearson.com/excel/datedif.htm

--
Regards

Roger Govier



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
convert Days to Years, Months, Days Klaudebou Excel Discussion (Misc queries) 3 December 29th 05 10:33 PM
Working days left in the month compared to previous months qwopzxnm Excel Worksheet Functions 8 October 24th 05 08:00 PM
Why "datedif" function results sometimes negative numbers? Ambrosiy Excel Worksheet Functions 1 July 8th 05 11:29 AM
Number of years, months, days between two dates. Bluenose Excel Worksheet Functions 34 June 30th 05 02:18 PM
difference between two dates in years, months and days. ruby Excel Worksheet Functions 2 April 4th 05 04:51 PM


All times are GMT +1. The time now is 01:41 AM.

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"