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 » Formating cells
Formating cells
Resolved · Medium Priority · Version 2007
Claire has attended:
Excel Intermediate course
Formating cells
How to get the number of days between dates?
RE: Formating cells
Hi Claire
Thank you for your question
You can use the datedif function to do this. The function has the following arguments
=Datedif(First date,Second date,"d")
Here the "d" indicates that the difference between the dates is to be returned in days. Alternatives are "m" for months and "y" for years.
Please note that this function needs to be typed in as it is not covered in the paste function dialog
Regards
Stephen
Mon 30 Mar 2009: Automatically marked as resolved.
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:The dual nature of toolbar buttonsMany toolbar buttons are dual purpose, though the two purposes are often linked in some way. For example, Align Left aligns a cell's contents to the left of the cell. However, hold down Shift and press the Align Left button: Excel aligns the cell contents to the right. |