Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default How do I find the exact years and days between 2 dates?


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default How do I find the exact years and days between 2 dates?

Check this out:

http://www.cpearson.com/excel/datearith.htm

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default How do I find the exact years and days between 2 dates?

Thank you.

"Colby Africa" wrote:

Check this out:

http://www.cpearson.com/excel/datearith.htm


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default How do I find the exact years and days between 2 dates?

And more specifically, http://www.cpearson.com/excel/datedif.aspx
--
David Biddulph

"Colby Africa" wrote in message
ups.com...
Check this out:

http://www.cpearson.com/excel/datearith.htm



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default How do I find the exact years and days between 2 dates?

On Nov 14, 5:30 pm, jland wrote:


try this:
=dateif(date1, date2, "Y")



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 229
Default How do I find the exact years and days between 2 dates?

On Nov 14, 5:30 pm, jland wrote:
How do I find the exact years and days between 2 dates?


Use DATEDIF. Example assumes the two dates are in C28 and D28:

=DATEDIF(MIN(C28,D28),MAX(C28,D28),"y")&" years,
"&DATEDIF(MIN(C28,D28),MAX(C28,D28),"md")&" days"

Use this formula if you want the days to be inclusive:

=DATEDIF(MIN(C28,D28),MAX(C28,D28),"y")&" years,
"&DATEDIF(MIN(C28,D28),MAX(C28,D28),"md")+1&" days"

Here's a reference:
http://www.cpearson.com/excel/datedif.aspx
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default How do I find the exact years and days between 2 dates?

You presumably mean DATEDIF, not DATEIF ?

I've suggested the use of http://www.cpearson.com/excel/datedif.aspx which
will also show the syntax to get the days part to add to the number of
years.
--
David Biddulph

"SGT Buckeye" wrote in message
ups.com...
On Nov 14, 5:30 pm, jland wrote:


try this:
=dateif(date1, date2, "Y")



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
Number of years/months/days between 2 dates Deborah Excel Worksheet Functions 4 July 7th 06 11:24 AM
How do get the years and days Between two dates jhon doe Excel Discussion (Misc queries) 1 September 13th 05 12:57 AM
Find the number of years between two dates duke Excel Discussion (Misc queries) 2 September 10th 05 03:56 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 12:00 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"