pivot tables

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Pivot tables

Pivot tables

resolvedResolved · 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...

datedif.xls


 

Excel tip:

How to Remove Duplication's from a selection of data in an Excel 2010 Worksheet

It 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:-

1) Select the data that might contain duplication's
2) Click the ''Data'' tab
3) Go to ''Data Tools'' and click ''Remove Duplicates''
4) A box will appear. Tick the boxes of the columns that you want to use to check for duplicates. Finally, click ''OK.''

View all Excel hints and tips


Server loaded in 0.08 secs.