Subtracting Dates

S

sam

Afternoon.

I am trying to subtract dates on an excel worksheet and find the ter
between the two. For example (english date format dd/mm/yy)

01/01/05 - 01/01/04 = 365 days or 1 year

I would ideally like the output to be years then months then days bu
anything would do. Is this possible in excel? If not does anyone kno
of an online calculator that could do this?

Thanks

Sa
 
G

Guest

Hi

The easiest answer is to take one from the other:
=A3-A2
and format the result as General.

Andy.
 
G

Gary Brown

There is a function called Datedif. It takes the format as follows:-

DATEDIF(START DATE,END DATE,"[D,M,Y]")

where D is quoted in days, M is quoted in months and Y is quoted i
Year
 

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

Top