Datedif Function???

G

Guest

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???
 
J

JE McGimpsey

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 here:

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.
 
S

Stan Brown

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

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.
 
J

JE McGimpsey

Stan Brown said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

DATEDIF function 5
datedif 1
Age Formula 4
Datedif function 2
Formula Error 4
Datedif gives wrong result 1
Help with formula 3
Solution to DATEDIF Function 1

Top