The Complete Excel Course with AI Integration
Excel date functions for health and safety officers
Certificates lapse, inspections fall due and corrective actions slip, and a safety spreadsheet is only as good as its dates. The Complete Excel Course with AI Integration teaches health and safety officers the date functions that keep watch for them: TODAY, NOW and date arithmetic, MONTH and EOMONTH, NETWORKDAYS, COUNTIFS over a date range, FILTER and SORTBY lists, and the live deadline columns of TaskFlow, an industry-standard project.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Count down the days to every certificate, licence and equipment inspection with TODAY and date arithmetic, in a column that updates itself each morning.
- Set each refresher or re-inspection due date from the date it was last done, adding days for a fixed interval and using EOMONTH to land a review on a month end.
- Label every certificate Expired, Due soon or In date with IFS on its days left, and colour overdue corrective actions with conditional formatting rules.
- Count incidents and near misses inside any month with COUNTIFS set on two date conditions, or group the log's dates by month in a PivotTable.
- Measure corrective action turnaround with NETWORKDAYS: working days planned, working days left and days past due, all recalculating as the calendar moves.
- Spill a list of the certificates that lapse before the month ends with FILTER, ordered soonest first with SORTBY, for the next training booking.
- Keep a days since the last lost-time injury figure current with FILTER, MAX and TODAY, and stamp the monthly safety report with NOW.
- Read a date that shows as a number for what it is, and put its format right, because Excel stores every date as a count of days.
Projects
What you will build.
The course has 14 industry-standard projects. These four matter most here.
-
Project 07
TaskFlow
One sheet that shows what is done, what is late and what is urgent.
Built as a project tracker for tasks, it hands a corrective action log its clock: working days planned from raised to due, working days left that stop at zero when a deadline passes, days past due that grow each morning, overdue rows in red and a stress test proving every date column is live.
-
Project 06
PeopleInsight HR workbook
Employee data joined across sheets with one formula.
Built on employee records, its date sheet and spilled lists carry the expiry work: days until due, a deadline's month end and working days on one sheet, then FILTER and SORTBY lists ordered by date, the shape of a lapsing-training report.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
Built on a sales table, its PivotTables group a column of dates into months, so a year of incidents can be counted month by month without a single formula and brought up to date when new entries arrive.
-
Project 03
Sales Goal Tracker
Built on a table of sales against quota, it is where TODAY, NOW, MONTH and date arithmetic are first practised, along with COUNTIFS over a date range: days since an event, a follow-up date and a month flag, the same moves an incident log needs.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 13 of them, 1 h 7 min of video. Each lesson keeps its number in the course.
Where to start
Lesson 6 Number formatting in Excel
Start at Lesson 6 if you already keep a training matrix or an action log in Excel: date formats come first, then the labels, counts and countdowns in the order a matrix needs them. New to Excel altogether? Go back to Lesson 1 and build up from an empty workbook. Already writing IFS and COUNTIFS? Go straight to Lesson 39 for TODAY and date arithmetic, or to Lesson 74 if EOMONTH and NETWORKDAYS are what brought you here.
13 of 186 lessons · 1 h 7 min
01 Microsoft Excel fundamentals: building a foundation from scratch Date formats on a personal budget: the cell format that makes a date read as a date. A training matrix exported from another system often lands showing serial numbers, and this is the fix.
- 6 Start here Number formatting in Excel Currency, date and percentage formats for a budget 5 min
04 Essential formulas and functions (IF, SUMIF and more) IFS on sales figures, testing thresholds in order with TRUE as the catch-all: the structure that turns a days-left column into Expired, Due soon and In date labels for every certificate.
- 32 Nested IF and IFS in Excel Sales performance labels with the IFS function 5 min
04 Essential formulas and functions (IF, SUMIF and more) On the Sales Goal Tracker: SUMIFS and COUNTIFS with two conditions on one date column, the function library for finding a function by what it does, then TODAY, NOW, MONTH and date arithmetic for days since an event, a follow-up date and a month on every row.
- 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 Date and time functions in Excel TODAY, NOW, MONTH and date arithmetic 6 min
07 PivotTables and PivotCharts: data analysis made easy A PivotTable that groups order dates by month: incident counts for each month without a helper column, laid out for the monthly safety report.
- 61 PivotTable summaries in Excel Sales by product category and grouping by date 4 min
08 Advanced Excel functions: lookups, text and arrays TODAY, EOMONTH and NETWORKDAYS on a sheet of task deadlines in the HR workbook: days until due, the month end each deadline falls in and the working days between two dates, the three calculations behind an expiry list and an action log.
- 74 TODAY, EOMONTH and NETWORKDAYS in Excel Date calculations for HR data 5 min
08 Advanced Excel functions: lookups, text and arrays FILTER with AND and OR conditions, then SORT and SORTBY, on employee records: the method for a list of certificates lapsing this month, sorted by expiry date, that rebuilds itself as the dates pass. These functions need a modern Excel.
- 76 FILTER function in Excel Dynamic array filtering with AND and OR criteria 5 min
- 77 SORT and SORTBY in Excel Sort data dynamically with formulas 4 min
09 Project: task automation with data validation and forms TaskFlow's highlighting of overdue and completed tasks, then its Gantt chart, a project timeline built with conditional formatting: late corrective actions that stand out in colour, and each action's start and length shown against the dates.
- 82 Conditional formatting in Excel Highlight overdue and completed tasks 8 min
- 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 in TaskFlow: working days planned, working days left and days past due for every task, the live columns a corrective action log needs.
- 85 NETWORKDAYS and TODAY in Excel Days remaining and task deadlines in TaskFlow 5 min
09 Project: task automation with data validation and forms A stress test of the finished tracker: a copied row with new dates, and a check that days past due moves when its date does, the proof that every date column is calculating rather than holding a pasted value.
- 87 Testing an Excel task tracker Stress test TaskFlow with sample data 3 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.
Excel always knows today's date: how does a health and safety officer turn that into warnings about lapsing certificates, due inspections and overdue actions?
Through a handful of date functions built around TODAY, and The Complete Excel Course with AI Integration from Coding Liquids teaches each of them on industry-standard projects designed after talking with people from many different industries. TODAY and date arithmetic count the days to an expiry (Lesson 39); EOMONTH sets month-end boundaries and NETWORKDAYS counts working days (Lesson 74); COUNTIFS counts whatever falls between two dates (Lesson 37); FILTER and SORTBY spill a dated list that keeps itself current (Lesson 76, Lesson 77). TaskFlow then puts them to work as live deadline columns: working days planned, working days left and days past due (Lesson 85). The 13 lessons picked out here, 1 hour 7 minutes of video, each map to a certificate, an inspection or a corrective action in your own files, with practice workbooks to build on before you touch the live training matrix.
Can every certificate on the training matrix count down to its own expiry, and update itself each morning?
Yes, with one subtraction that The Complete Excel Course with AI Integration teaches early. Excel holds every date as a number, so an expiry date minus TODAY() is the count of days still left, and because TODAY reads the computer's clock, the count drops by one each morning with nobody touching the sheet. Lesson 39 builds the pattern the other way round, today minus a sale's date for the days since it, and shows the fix when the answer appears as a date: switch the cell's format to Number. Lesson 74 turns it forward into a days-until-due column on a sheet of deadlines, exactly the shape of a matrix of first aid, forklift or confined space tickets. A negative result means the ticket has lapsed. One column of that formula replaces the weekly squint down the expiry dates, and it is as right for the last worker on the list as for the first.
Can Excel work out when each refresher or re-inspection falls due from the date it was last done?
Yes: a due date is the last date plus an interval, and The Complete Excel Course with AI Integration teaches two ways to add one. Plain date arithmetic adds days: Lesson 39 sets a follow-up ten days after a sale by adding 10 to its date, and the same plus sign puts a scaffold check seven days on and a ninety-day ladder inspection exactly ninety days on. EOMONTH (Lesson 74) works in months: the lesson uses it to find a deadline's month end, and the function's second argument moves that month forward, so a six-monthly review can land on a month end and go straight into that month's schedule. EDATE, which some guides use to add whole months to the exact day, is not among the lessons. Either way, the next due date fills itself in for every row of the register, and nobody counts squares on a wall calendar again.
Can one column call each certificate Expired, Due soon or In date, and colour it to match?
Yes, and The Complete Excel Course with AI Integration teaches the two halves separately. The label comes from IFS, which tests conditions in order and returns the first that is true (Lesson 32): days left below zero gives Expired, days left up to thirty gives Due soon, and TRUE as the last test catches every certificate still in date. The lesson sets labels on sales figures; on a training matrix the same structure reads the days-left column built from TODAY. The colour comes from conditional formatting: Lesson 82 highlights overdue and completed tasks in TaskFlow with rules written as formulas, so a lapsed row turns red the morning it expires and clears again when the renewal date goes in. Evidence that shows its own status at a glance carries far more weight in an audit than a sheet somebody coloured by hand last quarter.
How many working days did each corrective action take, and how many are left on the open ones?
The Complete Excel Course with AI Integration answers both with NETWORKDAYS, which counts the working days between two dates. Lesson 74 introduces it beside TODAY and EOMONTH on a sheet of tasks with start dates and deadlines. TaskFlow then builds the full set in Lesson 85: Work Days Planned from the start date to the due date, Work Days Left from today to the deadline, held at zero once the deadline passes, and Days Past Due, which stays blank until a task runs late and then climbs each day. Point those columns at your action log, with the date raised and the date due, and the safety committee sees the planned turnaround, the time remaining and the slippage for every action. For a closed action, the closing date minus the date raised gives its calendar days, so DATEDIF, which the lessons leave out, is never needed.
Can I count the incidents between the first and last day of a month without filtering the log each time?
Yes. COUNTIFS accepts two conditions on the same date column, one for on or after the first day and one for on or before the last, and The Complete Excel Course with AI Integration teaches exactly that in Lesson 37, where a month with no sales comes back as zero. In a safety log that zero is a figure worth reporting, a month without a lost-time injury, and a third condition on the incident type narrows the count to it. EOMONTH (Lesson 74) supplies the last day of any month, so the boundary is never typed wrong for a short month. Lay the months down a column and the counts fill beside them from one formula copied down, ready for the monthly report and a line chart of the trend. For the same counts with no formula at all, a PivotTable groups the dates by month (Lesson 61).
Can every incident in the log carry the month it belongs to, so the monthly totals never argue?
Yes, and that one column settles most disputes about which month an incident counts in. The Complete Excel Course with AI Integration shows MONTH in Lesson 39, which returns a date's month as a number, and the custom formats MMM and MMMM, which show a date's own month as a short or a full name. Lesson 74 adds EOMONTH, which returns the last day of a date's month: give every incident its month end and all the incidents of one month share an identical value, a clean key for COUNTIFS and SUMIFS and for the table of hours worked that sits beside the log. The same lesson shows EOMONTH arriving as a serial number until a format is applied. Readers who prefer a PivotTable can skip the helper column, because Lesson 61 groups a column of dates by month in a couple of clicks.
How do I keep a days since the last lost-time injury figure current on the safety noticeboard sheet?
With two pieces that The Complete Excel Course with AI Integration teaches separately and that join in one cell. First, the date of the latest lost-time injury: FILTER keeps only the rows that meet a rule (Lesson 76), Lesson 34 shows FILTER wrapped inside SUM, and wrapped inside MAX, the function from Lesson 9, it returns the most recent date of that incident type. Second, the count: TODAY minus that date (Lesson 39) gives the days since, and it grows by one every morning. Log a new lost-time injury and the figure falls back to zero by itself, with nobody remembering to reset a board. The same pair works for the days since the last reportable incident or the last fire drill. FILTER needs a modern Excel, such as Microsoft 365, and the rest works in any recent version.
Some expiry dates in my matrix have turned into five-digit numbers: what has gone wrong?
The dates are safe: Excel stores every date as a number, a count of days from a fixed starting point, and shows it as a date only when the cell carries a date format. The Complete Excel Course with AI Integration explains this in Lesson 39, where a TODAY subtraction shows up as a date until its format is switched to Number, and your matrix shows the reverse: a date in a cell formatted as General or Number displays its serial number. Lesson 6 teaches the date formats that put it right, and Lesson 74 meets the same thing when EOMONTH returns a serial number until a date format is given. Far from a nuisance, it is the reason an expiry date minus TODAY gives days and NETWORKDAYS can count between two dates. A date stored as text is a different fault: it will not subtract at all.
Some guides use NOW to record the time of an incident: is that what the course teaches it for?
The Complete Excel Course with AI Integration teaches NOW for the job it does well, a live stamp on a report. Lesson 39 shows that NOW returns the date and the time together and updates whenever the workbook recalculates, which makes it an honest 'figures as of' line at the top of a monthly safety summary or a dashboard printed for the committee. That same behaviour is why it suits an incident record badly: a NOW in the log would show the moment the file was last opened, not the moment of the injury, so the time of an incident is entered as a value when it is reported. TODAY, from the same lesson, is the date alone, and it is what every countdown and overdue column on this page reads. Knowing which function moves and which value stays put keeps a log from quietly rewriting its own history.
Can Excel list the certificates that lapse before this month ends, so the training bookings go out in time?
Yes, as a list that rebuilds itself every day. FILTER returns only the rows that meet a rule (Lesson 76), and the rule here is a pair of dates: an expiry on or after today and on or before the month end that EOMONTH gives from today (Lesson 74). The asterisk joins the two conditions as AND, just as the lesson joins status and job level on employee records. SORTBY (Lesson 77) then orders the result by expiry date, soonest first, and the sort column need not even be shown. The list spills below one formula, gains a name when a certificate enters its final month and drops it when a renewal date is typed, so the request to the training provider writes itself. The Complete Excel Course with AI Integration teaches these on HR records; FILTER and SORTBY need a modern Excel, such as Microsoft 365.
How do I know a days-overdue column is really calculating, and is not a number someone pasted in?
The Complete Excel Course with AI Integration builds that test into TaskFlow. Lesson 87 stress tests the finished tracker by adding a task the way people really do, copying the row above and moving its dates on, then checks that the drop-downs, the colours and the calculated columns all carried across. The decisive check is a date one: with the due date a day later, Days Past Due drops by one, from 50 to 49, which proves the formula recalculates instead of holding a copied value. A number that stays put after its date changes is a pasted value or a broken reference. Run the same check on your action log before it goes in front of an auditor: move one due date, watch its overdue count move, and you have evidence that every figure in the column is live. A downloaded template rarely comes with that kind of proof.
I keep the incident log in Excel but have never written a formula with a date in it: can I follow these lessons?
Yes. The date lessons in The Complete Excel Course with AI Integration assume no more than typing a date into a cell, and Lesson 6 starts there, with the formats that make a date look like one. From that point each step adds a single idea: a subtraction for days (Lesson 39), a label from IFS (Lesson 32), a count between two dates (Lesson 37), then the named functions, EOMONTH and NETWORKDAYS (Lesson 74). Each lesson ends with a working result in a practice file, so you watch a formula behave before you trust it with a certificate that matters. If even entering data is new, begin at Lesson 1, since the course starts from a first spreadsheet. With the instructor support plan, a question about your own matrix goes to the instructor in writing, and Ask AI answers from the lesson you are on.
Before the next training audit, could I have the whole matrix running on date formulas, and how much study is that?
Yes, with time to spare: the lessons on this page come to 1 hour 7 minutes, and the matrix needs only part of them. The Complete Excel Course with AI Integration has the countdown, the due dates and the Expired, Due soon and In date labels in your hands by the end of Lesson 74, which is enough to rebuild a training matrix over a few evenings. The action log's working-day columns follow in TaskFlow (Lesson 85), and the test in Lesson 87 gives you a way to prove the columns are live before an auditor asks. Each project comes with a starter and a finished workbook, so every formula can be checked against a working answer. Lifetime access keeps the lessons to hand for the day a new certificate type or a new site joins the matrix, and completing the course earns a Certificate of Completion an employer can verify.
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
- Formulas for health and safety officers
- Lookups for health and safety officers
- Pivot tables for health and safety
- Charts for health and safety officers
- Dashboards for health and safety
- Conditional formatting for HSE officers
- Data cleaning for health and safety
- Data validation for health and safety
- Excel tables for health and safety
- Text functions for health and safety
- Dynamic arrays for health and safety
- Power Query for health and safety
- Power Pivot & DAX for health and safety
- Macros and VBA for health and safety
- Power Automate for health and safety
- Copilot for health and safety
- ChatGPT for health and safety
- Claude in Excel for health and safety