the DATEDIF() function will help. First you must install the analysis
toolpack (<Tools><Add-Ins...> and check Analysis ToolPak). Used in the
following manner will achieve what you are looking for:
=DATEDIF(year1,year2,"d")
Where year1 < year2. The function will return #NUM! if year1 > year2.
Sorry, I meant date1 and date2 (not year1, year2):
=DATEDIF(date1,date2,"d")
Where date1 < date2
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.