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 » Pivot tables
Pivot tables
Resolved · High Priority · Version 2003
Barbara has attended:
Excel Advanced course
Pivot tables
i have a spreadsheet with student names, start date of their course (which lasts 3 years, and the date of their withdrawal. I need to know whether the students withdrew in the 1st, 2nd or 3rd year of their training. can you help please?
RE: pivot tables
Hello Barbara
Thank you for your question.
If the spreadsheet records the start date and withdrawal date in separate cells, then you can use the DATEDIF function to calculate the difference between the two dates, and express the difference in years.
If a student starts and withdraws in the same year, then the result will appear as a 0; if the student starts in one year and withdraws in the next, the result will be 1 etc; so you will need to add 1 onto the result of the formula.
Please note the DATEDIF function does not appear in the function wizard and there is no Help topic for it so you will need to type it into the spreadsheet manually.
I've attached an example; the formula is in the yellow cells.
I hope this helps.
Kind regards
Amanda
Attached files...
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:How to Remove Duplication's from a selection of data in an Excel 2010 WorksheetIt would take far too much time to scan through rows and rows of data to find and remove duplicate data. So, here's how to do this using a much more efficient method:- |