#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 385
Default Datedif

A1 has a hire date and I want to find the difference in days/years between A1
and a specific date (10/21/1994).
I'm not very familiar with date functions, can someone help me?

--
Thanks!
-Jennifer
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Datedif

As a worksheet function???

Take a look at Chip Pearson's site for =DateDif()
http://www.cpearson.com/excel/datedif.htm



Jennifer wrote:

A1 has a hire date and I want to find the difference in days/years between A1
and a specific date (10/21/1994).
I'm not very familiar with date functions, can someone help me?

--
Thanks!
-Jennifer


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 385
Default Datedif

Yes, as a worksheet function ( I think ? )
I've looked on that site and can't follow the information (my lack of excel
knowledge) I need it spelled out for me, Sorry.
--
Thanks!
-Jennifer


"Dave Peterson" wrote:

As a worksheet function???

Take a look at Chip Pearson's site for =DateDif()
http://www.cpearson.com/excel/datedif.htm



Jennifer wrote:

A1 has a hire date and I want to find the difference in days/years between A1
and a specific date (10/21/1994).
I'm not very familiar with date functions, can someone help me?

--
Thanks!
-Jennifer


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Datedif

=DATEDIF(A1,NOW(),"y") & " years, " & DATEDIF(A1,NOW(),"ym") & "months, "
& DATEDIF(A1,NOW(),"md") & " days"

This will return a string like

33 years, 9 months, 18 days


Copied from Chip's site.

=DATEDIF(DATE(1994,10,21),A1,"y") & " years, " &
DATEDIF(DATE(1994,10,21),A1,"ym") & "months, "
& DATEDIF(DATE(1994,10,21),A1,"md") & " days"

Jennifer wrote:

Yes, as a worksheet function ( I think ? )
I've looked on that site and can't follow the information (my lack of excel
knowledge) I need it spelled out for me, Sorry.
--
Thanks!
-Jennifer

"Dave Peterson" wrote:

As a worksheet function???

Take a look at Chip Pearson's site for =DateDif()
http://www.cpearson.com/excel/datedif.htm



Jennifer wrote:

A1 has a hire date and I want to find the difference in days/years between A1
and a specific date (10/21/1994).
I'm not very familiar with date functions, can someone help me?

--
Thanks!
-Jennifer


--

Dave Peterson


--

Dave Peterson
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
DATEDIF? Ken Excel Discussion (Misc queries) 7 March 30th 09 10:24 PM
Datedif [email protected] Excel Worksheet Functions 3 December 22nd 08 12:30 PM
Datedif() Brad Excel Discussion (Misc queries) 6 October 29th 08 06:35 PM
DateDIF Paul Breslin Excel Programming 4 December 24th 05 06:36 PM
DateDif Average? Damn DateDif UTCHELP Excel Worksheet Functions 14 November 17th 05 10:30 AM


All times are GMT +1. The time now is 10:50 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"