The Complete Excel Course with AI Integration
Excel date functions for HR teams
An HR calendar is built from dates: when someone started, when a probation review falls, how many working days a leave request takes, when a leaver's final month ends. The Complete Excel Course with AI Integration turns each into a formula that updates itself, on industry-standard projects, and this page picks out its date lessons for HR in course order: date formats, hire dates sorted, counts by date window, TODAY, EOMONTH and NETWORKDAYS, and TaskFlow's live deadlines.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Work out days of service, age or time in post with TODAY and date subtraction, shown as a plain count that moves on by itself every day.
- Count the working days in a leave request or a hiring window with NETWORKDAYS, so absence and time to hire are measured in the days that matter.
- Find the last day of any month with EOMONTH, the cut-off a monthly headcount, a leaver's final month or a pay deadline is measured against.
- Count the hires or leavers that fall between two dates with COUNTIFS, and group a hire date column into months and quarters in a PivotTable.
- Set a review or follow-up date a fixed number of days after a start date, and flag a month's records with MONTH and IF, such as the service anniversaries due.
- Run an onboarding or review tracker whose working days planned, working days left and days past due recount every time the file opens.
- Sort a staff list by hire date by hand or with SORTBY, and repair dates that arrive as text so they sort, subtract and group as dates.
- Show dates the way a report needs them, day first, as a month name or as a month and year label, with date formats, custom formats and TEXT.
Projects
What you will build.
The course has 14 industry-standard projects. These five matter most here.
-
Project 06
PeopleInsight HR workbook
Employee data joined across sheets with one formula.
Its date sheet is where HR date work starts: the days until a deadline counted from TODAY, the month end found with EOMONTH and the working days between two dates with NETWORKDAYS, beside a staff table that SORTBY lists in hire date order.
-
Project 07
TaskFlow
One sheet that shows what is done, what is late and what is urgent.
An onboarding checklist in all but name: working days planned, working days left and days past due recount from TODAY whenever it opens, and its timeline lays each task's start and length against the dates.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
Dates grouped for you: drop a date field into a PivotTable's rows and Excel rolls it into years, quarters and months, so hires per month or leavers per quarter come from one drag.
-
Project 02
Dunder Michael Paper Company employee database
A staff list with a Date Hired column, checked as real dates and sorted oldest to newest: the long-service order HR reaches for, and the test of whether an export's dates are dates at all.
-
Project 03
Sales Goal Tracker
Where date arithmetic is first typed on a full table: days since each record from TODAY, the month read out with MONTH, a follow-up date ten days on, a live NOW stamp and a count of the rows inside one month.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 14 of them, 1 h 17 min of video. Each lesson keeps its number in the course.
Where to start
Lesson 39 Date and time functions in Excel
Start at Lesson 39 if you already keep a staff list in Excel: it shows why dates can be added and subtracted at all, and every date lesson after it builds on that. Unsure whether your hire dates are real dates? Take Lesson 6 and Lesson 20 first. New to Excel? Open the course at Lesson 1. Already subtracting dates with confidence? Go straight to Lesson 74, then to the live deadlines of TaskFlow at Lesson 85.
14 of 186 lessons · 1 h 17 min
01 Microsoft Excel fundamentals: building a foundation from scratch Date formats from the first week: Format Cells and its date types, the short date shortcut and the hashes that mean a column is too narrow for its dates. Every date formula later on leans on a column Excel reads as dates.
- 6 Number formatting in Excel Currency, date and percentage formats for a budget 5 min
03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) Sorting the employee database, ending with Date Hired checked as real dates and sorted oldest to newest; a date column that sorts strangely is holding text, and this is where you learn to spot it.
- 20 Sorting data in Excel Single and multi-level sort on an employee database 6 min
04 Essential formulas and functions (IF, SUMIF and more) COUNTIFS with two conditions on one date column, counting the rows inside a month; the function library searched by purpose for any date function you need; then TODAY, NOW, MONTH and date arithmetic, from days since a date to a follow-up ten days on.
- 37 SUMIFS and COUNTIFS in Excel Sum and count with multiple criteria 7 min
- 38 The Excel function library Insert Function dialog and Formula AutoComplete 5 min
- 39 Start here Date and time functions in Excel TODAY, NOW, MONTH and date arithmetic 6 min
07 PivotTables and PivotCharts: data analysis made easy A date field in a PivotTable's rows, grouped by Excel into years, quarters and months, with levels taken away to switch between quarterly, monthly and daily views. The lesson groups order dates; hire and leaving dates group the same way.
- 61 PivotTable summaries in Excel Sales by product category and grouping by date 4 min
08 Advanced Excel functions: lookups, text and arrays The HR workbook's own date lesson: days until a deadline with TODAY, the deadline month's last day with EOMONTH, working days between a start and an end with NETWORKDAYS, and custom formats that show the date or the month you want.
- 74 TODAY, EOMONTH and NETWORKDAYS in Excel Date calculations for HR data 5 min
08 Advanced Excel functions: lookups, text and arrays SORT and SORTBY on the employee table, including a list in hire date order that re-sorts itself when the data changes. These need a modern Excel, which the course points out as they appear.
- 77 SORT and SORTBY in Excel Sort data dynamically with formulas 4 min
09 Project: task automation with data validation and forms The Gantt chart: a project timeline showing each task's start and length against the dates, and where tasks overlap, the shape of an onboarding plan or a hiring round at a glance.
- 83 Gantt chart in Excel Build a project timeline with conditional formatting 6 min
09 Project: task automation with data validation and forms NETWORKDAYS and TODAY inside IF: working days planned, working days left and days past due for every task, left blank while a deadline is still ahead and recounted every day.
- 85 NETWORKDAYS and TODAY in Excel Days remaining and task deadlines in TaskFlow 5 min
09 Project: task automation with data validation and forms The stress test: a new row copied in with its dates moved on, and Days Past Due falling by one when the due date moves a day later, proof that the formulas recalculate rather than copy.
- 87 Testing an Excel task tracker Stress test TaskFlow with sample data 3 min
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) FinanceGuard's model, where LET with LEFT, MID, DATE and TEXT turns the year and month packed into a key into a month label: the repair for any export that holds its dates as codes.
- 117 Budget vs actual model in Excel SORT, UNIQUE, VSTACK, LET, TEXTSPLIT, SUMIFS 8 min
15 SalesFusion: advanced data tools and a Power Query modelling system Power Query for dates that arrive broken: columns given a true date type, then year, month and year-month columns added, so a system export reports by period from its first refresh.
- 158 Data types in Power Query Fix date, whole number, decimal and text types 7 min
- 159 Date columns in Power Query Add year, month and year-month fields for reports 7 min
Instructors
Who teaches it.
Instructor, Excel with AI
Virginia Thorn
Emmy Award winner. Teaches Excel with AI at Coding Liquids.
Questions
Asked before starting.
Can Excel date functions run an HR team's calendar of probation reviews, leave and service milestones?
Yes, and The Complete Excel Course with AI Integration from Coding Liquids teaches the date functions that do it, on industry-standard projects designed after talking with people from many different industries. Excel stores every date as a number, which is why a start date can be subtracted from today, a review date can be set a fixed number of days ahead and a leave request can be counted in working days. This page gathers the 14 lessons that build those skills, 1 hour 17 minutes in all: TODAY and date arithmetic (Lesson 39), EOMONTH and NETWORKDAYS on the PeopleInsight HR workbook (Lesson 74), hire dates sorted and re-sorted (Lesson 20, Lesson 77), hires counted inside a date window (Lesson 37) and TaskFlow's deadlines that recount themselves every morning (Lesson 85). You type each formula into a starter workbook, compare it with the finished one, then move the same columns onto your own staff export.
Which date formulas come up most often in HR spreadsheets?
Six, and The Complete Excel Course with AI Integration teaches every one of them. TODAY minus a hire date gives days of service, minus a date of birth gives age in days, and the same subtraction measures time to hire from the day a role opened (Lesson 39). A date plus a number of days sets a review or follow-up date. MONTH reads the month out of a date, so hires can be flagged or grouped by month. EOMONTH returns the last day of a month, the cut-off for monthly reporting (Lesson 74). NETWORKDAYS counts the working days between two dates, for leave and hiring windows. COUNTIFS with two conditions on a date column counts the rows that fall inside a period (Lesson 37). The lessons practise on sales records, a task sheet and an HR workbook; a staff list takes the same formulas, column for column.
Does the course teach DATEDIF, or another way to work out length of service?
It teaches the method every service figure rests on: subtracting one date from another. In The Complete Excel Course with AI Integration, Lesson 39 takes TODAY minus a date and switches the result from a date format to a number, so a hire date becomes days of service that grow by one each day without anyone touching the file. Dividing that count by the days in a year gives service in years with the plain arithmetic of Lesson 8, and IFS sorts the results into service bands, such as under one year or over five (Lesson 32). DATEDIF, the older function many HR templates use for years and months, has no lesson of its own; the subtraction shown here is easier to read and to check, because every step stays visible in the cell, and it gives the same answer in any modern or older Excel.
Is there a WORKDAY function in Excel, and will I learn to plan notice periods and start dates in working days?
Yes, Excel has WORKDAY, and The Complete Excel Course with AI Integration gives you the working-day function HR leans on most, NETWORKDAYS, and teaches it twice over. Lesson 74 counts the working days between a start date and a deadline on the PeopleInsight HR workbook. Lesson 85 puts NETWORKDAYS inside IF in TaskFlow, so each row shows the working days planned, the working days still left from TODAY and the days past due once a date has gone by. For a notice period, that is the working days remaining before someone's last day, recounted every morning. WORKDAY runs the other way round, returning the date a set number of working days ahead, and it has no lesson of its own; Lesson 38 teaches you to find any function like it by purpose in Insert Function, where the Function Arguments window lays out each input for you.
Can I measure time to hire and leave taken in working days rather than calendar days?
Yes: NETWORKDAYS counts only working days, and The Complete Excel Course with AI Integration teaches it on HR data first (Lesson 74). Point it at the day a vacancy opened and the day an offer was accepted and it returns time to hire in working days, a figure recruitment reports often carry. Point it at the first and last day of a leave request and it returns the working days taken, so a request that spans a weekend is never charged for the Saturday and Sunday. Calendar days stay a subtraction, taught in Lesson 39, so both can stand side by side. In TaskFlow the same function runs down a whole column inside IF (Lesson 85), the pattern for a log of leave requests or open vacancies where every row needs its own count. The lessons time tasks against deadlines; a recruitment tracker or an absence log is counted the same way.
How does EOMONTH help with month-end headcount, leavers and payroll cut-offs?
It gives every monthly figure the same boundary: EOMONTH returns the last day of a month, whatever day the date in front of it falls on, and The Complete Excel Course with AI Integration teaches it in Lesson 74. For HR that boundary is everywhere. A leaver's final day becomes the end of the month their pay runs to, a monthly headcount is taken as at the month end, and a payroll cut-off sits on the same date in every report instead of whatever day someone typed. The lesson also shows the surprise that catches people out: EOMONTH returns a serial number until the cell is given a date or custom format, and a custom MM format shows the month alone. Paired with COUNTIFS on a date window (Lesson 37), the month end becomes the upper limit of a count of the hires or leavers in that month.
Can Excel count hires and leavers by month or by quarter from our staff list?
Yes, and The Complete Excel Course with AI Integration teaches three ways to do it. By formula: COUNTIFS accepts two conditions on the same date column, on or after the first day and on or before the last, so it counts the rows inside any window you set (Lesson 37), and the lesson reads a month with no activity as an answer in itself. By PivotTable: put a date field in the rows and Excel groups it into years, quarters and months by itself, and removing a level switches between quarterly, monthly and daily views (Lesson 61). By helper column: MONTH writes the month number beside each date, ready for flags and filters (Lesson 39). The lessons count sales by date; a hire date or leaving date column is counted the same way, giving joiners and leavers per month for a workforce report.
Can I keep a new starter's onboarding checklist counting down by itself?
Yes: TaskFlow, the task tracker of The Complete Excel Course with AI Integration, is that checklist in all but name. Each task has a start date and a due date, and Lesson 85 adds three live columns: working days planned with NETWORKDAYS, working days left from TODAY, and days past due, which stays blank while a deadline is still ahead. Open the file tomorrow and every count has moved on. Lesson 83 adds the Gantt chart, a timeline of each task's start and length against the dates, so an onboarding plan of IT set-up, induction and training shows where tasks overlap. Lesson 87 then proves the formulas: a new row is copied in with its dates moved on, and Days Past Due drops by one when the due date moves a day later, the sign that it recalculates. Status and priority drop-downs and overdue highlighting come with the project too.
Our HR system exports dates as text: will the course show me how to fix them?
Yes, with a fix for each way dates go wrong, all in The Complete Excel Course with AI Integration. Lesson 20 gives the first warning sign: a date column that sorts strangely is usually holding text, and the lesson checks Date Hired as real dates before sorting it. Lesson 74 adds the second: when a date formula returns something odd, a date is usually being read as text. Where an export packs the year and month into a code, FinanceGuard's model rebuilds a real date from the parts with LEFT, MID and DATE inside LET, then labels it with TEXT (Lesson 117). For an export that arrives every month, Power Query sets the column's data type to date once and repeats it at every refresh (Lesson 158), then adds year, month and year-month columns (Lesson 159). Fixed at the source, those dates sort, subtract and group like any other.
Can I sort the staff list by hire date and keep it in that order as people join?
Yes, by hand or by formula, and The Complete Excel Course with AI Integration teaches both on employee data. Lesson 20 sorts the employee database oldest to newest on Date Hired after checking the column holds real dates, and because the list is an Excel table, each row moves whole, so no start date ends up beside the wrong name. Excel has no button that clears a sort, and the lesson shows the way back with undo. Lesson 77 does it by formula: SORTBY lists the employees in hire date order, re-sorting itself whenever a row changes or a new starter is added, and it sorts by a column it need not show. That gives a long-service list for awards, or a seniority view, that never needs sorting again. SORTBY needs a modern Excel, such as the Microsoft 365 the course is recorded in.
Can a formula flag reviews, renewals or service anniversaries that fall this month?
Yes, with MONTH, IF and a little date arithmetic, all in The Complete Excel Course with AI Integration. Lesson 39 adds ten days to a date for a follow-up and flags every record from one month with IF wrapped round MONTH, returning Yes or No. Compare the month of each hire date with the month of TODAY and the same flag lists everyone whose service anniversary falls this month; add the length of a review period in days to a start date and you have the review date to flag. A custom MMM or MMMM format then shows the month as Jan or January in the report. For renewals that run to a month end, EOMONTH gives the closing date (Lesson 74). The flags are formulas, so next month's list appears by itself, and FILTER (Lesson 76) pulls the flagged rows into a list for managers.
How do I show dates the way our reports need them, day first or as a month name?
With number formats, which The Complete Excel Course with AI Integration teaches in the first week and returns to whenever a date formula needs them. Lesson 6 applies Excel's date formats through Format Cells, gives the shortcut for a short date and explains the hashes that appear when a column is too narrow for its dates. Lesson 39 builds custom formats, MMM for a short month name and MMMM for the full one, and Lesson 74 sets a custom day, month and year order on the HR workbook's date sheet, then a month-only format on an EOMONTH result. A format changes only what is shown: the date underneath stays a number, so it still sorts and subtracts. Where a report needs a label as text, such as a month and year heading, FinanceGuard builds one with TEXT (Lesson 117).
Do I get a workbook to practise on, rather than a PDF of date formulas?
Yes, several, and each is a working file rather than a list to memorise. The Complete Excel Course with AI Integration gives every project a starter workbook to build in and a finished one to check against: the PeopleInsight HR Analytics workbook with its date sheet, the TaskFlow tracker with its live deadline columns, and the Sales Goal Tracker where TODAY, MONTH and date arithmetic are first typed. The employee database comes as a raw dataset and a finished employee list, Date Hired included. A cheat sheet shows syntax; these files show the formula answering on real rows, failing when a date is text, and recounting the next morning. Each is an industry-standard workbook, and you keep the finished versions to reopen whenever a date question lands. The course page also has free lessons to watch before you decide.
How long will the date lessons take, and can I start with little Excel?
About 1 hour 17 minutes, in lessons short enough to take between meetings. The Complete Excel Course with AI Integration assumes nothing: if Excel itself is new, open it at Lesson 1, where the window, a first sheet, number formats and your first formulas come before any date function. Someone who keeps a staff list already can start at Lesson 39 and reach TaskFlow's live deadlines within the same week. Every lesson on this page runs in Excel for Windows or Mac; SORTBY and the formulas of FinanceGuard need a modern Excel, and the course says so where they appear. With the instructor support plan, a question about your own hire dates goes to the instructor in writing for two months from the day you switch it on. Lifetime access keeps every lesson open for the next date problem, and completing the course earns a Certificate of Completion.
Excel with AI
See the whole course.
The Complete Excel Course with AI Integration: 16 hours of video in 186 lessons, built around 14 industry-standard projects, with lifetime access, a Certificate of Completion and a 14-day money-back guarantee.
The same course
For another job, skill, goal, level, topic or comparison.
The course for this job
More skills for this job
- Excel formulas for HR teams
- XLOOKUP and VLOOKUP for HR teams
- Pivot tables for HR teams
- Excel charts for HR teams
- Excel dashboards for HR teams
- Conditional formatting for HR teams
- Data cleaning for HR teams
- Data validation for HR teams
- Excel tables for HR teams
- Text functions for HR teams
- Dynamic arrays for HR teams
- Copilot in Excel for HR teams
- ChatGPT for Excel for HR teams