Hello titorober23,
DATEDIF is a handy little function, but please do be advised that it will sometimes return different results
than the Access/VBA/VB6/VBScript function DateDiff. So, just be careful about what functionality you
need.
For example, assume we defined a range Date1 with a current value of 31 Dec 2008 and Date2 with a
current value of 1 Jan 2009.
=DATEDIF(Date1,Date2,"m") returns 0, because no complete months have elapsed
=ExcelDateDiff("m",Date1,D
(Recall that DateDiff does NOT return elapsed time, but rather returns the number of time period boundaries
between two date/times.)
If you need DateDiff's functionality exposed in an Excel worksheet formula, then add this code to a
regular module in your Excel workbook's VBProject.
Regards,
Patrick
Main Topics
Browse All Topics





by: brettdjPosted on 2009-07-02 at 05:49:56ID: 24762698
There is a DateDif :)
cel/datedi f.aspx
rs
see, http://www.cpearson.com/ex
Chee
Dave