Confident CellsExcel practice Start free
Unit 6 of 9

Excel dates and times: lessons and a project

For anyone who works out deadlines, ages, shifts or hours for pay. You'll add days to dates, count working days with NETWORKDAYS, turn shift times into hours, and deal with night shifts that end after midnight. The project is a care home's rota for a week: hours, overtime, weekend shifts at time and a half, and the working days until pay day.

8 lessons45 exercises24 Check questions1 free lessona project in Excel2.5 suggested CPD hours

Try one now

Each report is due two weeks after it's requested. In C2, work out each deadline.

ABCDEFGH
1EmployeeRequestedDeadlineSent inDays late
2Grace08/09/202620/09/2026Sent in late
3Tom08/09/202625/09/2026
4Priya10/09/202625/09/2026
5Marek10/09/202601/10/2026Project starts03/09/2026
6Nia15/09/202629/09/2026Project ends23/10/2026
7Ollie15/09/202602/10/2026Weekdays in project
8Lucy17/09/202630/09/2026
9Hamza17/09/202606/10/2026Date of birth14/08/1988
10Review date15/05/2027
11Age on review date

The lessons

Each lesson starts with a short worked example, then exercises on real-looking data, marked the moment you press Check, with hints when you need them. It ends with a Check: new questions on fresh data, with no hints. Pass it and the lesson is marked Secure.

  1. Dates and deadlines Free
    Date arithmetic, NETWORKDAYS, DATEDIF · 6 exercises · a Check of 3 questions · guide: Age and length of service in Excel
  2. Times and hours worked Pro
    Shift lengths, ×24, breaks, past midnight, [h]:mm · 5 exercises · a Check of 3 questions · guide: Hours worked in Excel
  3. Rotas and timesheets Pro
    Weekly hours, shift counts, overtime, pay, late starts · 5 exercises · a Check of 3 questions
  4. Review: dates and times Pro
    Days late, EDATE, shift lengths, night shifts, overtime and pay · 6 exercises · a Check of 3 questions

Extra practice

Useful, but not needed for the project.

The project in Excel: Rota and timesheet

Part of Pro

A care home's rota for a week of day, late and night shifts. Work out hours, overtime, weekend pay and pay day.

What you'll build:

  • Hours from start and end times, including night shifts
  • Weekend shifts paid at time and a half
  • Hours, overtime and pay for each person
  • Pay day, and the working days until it

Download the workbook and do the job in Excel. A Check sheet in the workbook ticks off each task as you get it right, and the model answers are there to compare with when you've finished. You'll need Excel 2019 or later, or Excel for the web, which is free with a Microsoft account.

See the project

Counts towards a certificate

Unit 6 is part of the Excel Intermediate certificate of achievement (Units 4 to 6, 9 hours of suggested CPD). To earn it, pass the Check in every lesson of those units while signed in (reviews and extra practice aren't needed), and finish each unit's project in Excel. Our server checks the work itself. Certificates come with Pro: see how they work.

Online practice and assessment, completed without supervision. Confident Cells is independent and isn’t connected with Microsoft. This is not a formal qualification.

Guides for this topic

Questions

Why does my date show as a number?

Excel keeps a date as a count of days, so 1 January 2026 is 46023. If a date shows as a number, the cell has lost its date format. Choose Short Date in the number format box on the Home tab, or press Ctrl+Shift+3 (Control+Shift+3 on a Mac).

How do I work out hours for a shift past midnight?

A night shift from 22:00 to 06:00 comes out negative, because 06:00 is smaller than 22:00. =MOD(C2-B2,1) adds the missing day back and gives 8:00. Multiply by 24 to get 8 hours for pay. The hours worked guide shows breaks too.

Getting ready for a job test? Take the free Excel test: 12 questions in 20 minutes, marked as you go. Every other test is in the Test Centre.