ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Datedif Function??? (https://www.excelbanter.com/excel-discussion-misc-queries/144343-datedif-function.html)

FARAZ QURESHI

Datedif Function???
 
One of my friends disclosed me the excellent function of
=Datedif(DateBeg,DateEnd,"D"/"M"/"Y")

Y such a function has been hidden?

R there any further similar xclent ones as well???

JE McGimpsey

Datedif Function???
 
Don't know that there's ever been any definitive reason given for hiding
the function. AFAIK, there are no more "hidden" XL functions.

You can find thorough documentation of DATEDIF he

http://cpearson.com/excel/datedif.htm

Note that XL2000 Help *did* include an entry for DATEDIF (I don't know
about XL07).

Mac XL lists DATEDIF in Help.


In article ,
FARAZ QURESHI wrote:

One of my friends disclosed me the excellent function of
=Datedif(DateBeg,DateEnd,"D"/"M"/"Y")

Y such a function has been hidden?

R there any further similar xclent ones as well???


Stan Brown

Datedif Function???
 
Mon, 28 May 2007 14:50:28 -0600 from JE McGimpsey
:
You can find thorough documentation of DATEDIF he

http://cpearson.com/excel/datedif.htm


Cool! I never knew about that.

Just wondering -- Chip says "You can't use DATEDIF in VBA code."
Couldn't you do it with EVALUATE, though? I thought EVALUATE would
work with any worksheet function.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/

JE McGimpsey

Datedif Function???
 
In article ,
Stan Brown wrote:

Just wondering -- Chip says "You can't use DATEDIF in VBA code."
Couldn't you do it with EVALUATE, though? I thought EVALUATE would
work with any worksheet function.


Yes, you can use Evaluate...

Or you could use the somewhat different DateDiff VBA function


All times are GMT +1. The time now is 05:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com