98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel Training and help » excel vba training - Dates
excel vba training - Dates
Resolved · Low Priority · Version Standard
Jennifer has attended:
Excel Advanced course
Dreamweaver 8 Introduction course
Dreamweaver 8 Intermediate course
Excel VBA Intro Intermediate course
Excel VBA Intro Intermediate course
Dates
how do you get the difference between two dates returned as year and number of months? (eg. years + month/12)
RE: Dates
Hi Jennifer
Thanks for your question.
I'm not sure you can get the difference between two dates to display as number of years and months - you can get the difference to display as one or other other as far as I know.
A function you might be interested in looking at in relation to your question is the DATEDIF (date difference) function. Here is a link to an article that provides some useful information on this function, including what error messages could come up when you use if and what they mean:
http://www.cpearson.com/excel/datedif.htm
thanks
Amanda
Training information:
See also:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Wrapping Text in a Cell in an Excel 2010 WorkbookWhen you have a lot of text you want to put in a particular cell but you can't decrease the font size to fit because the text will then become ineligible, then manually wrap the text in a cell by simply pressing ALT+ENTER. |