YEARFRAC Function

G

Guest

Hello,
In Excel, there is YEARFRAC function which calculates the difference between
the two given dates in year, including all decimals, set by the user. I
tried to use the same function in Access query, but did not work. I want to
get to the decimal point. Is there any function that does the same work as
YEARFRAC?
Thanks,
 
J

Jeff Boyce

Seong

If you must use the YEARFRAC function in Access, you can set a reference to
Excel and "borrow" the function from there.

Regards

Jeff Boyce
<Office/Access MVP>
 

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

yearfrac format error? 4
Year Fraction 10
yearfrac 2
360 vs 365 Day Years 2
yearfrac problem 2
Yearfrac problems 1
edate and yearfrac functions not tallying 1
Excel - Analysis Toolpack loading problem 2

Top