The Complete Excel Course with AI Integration
Excel date functions for quality engineers
Every NCR, corrective action, calibration and lot carries dates, and a quality engineer is asked every day how old, how late or how close each one is. The Complete Excel Course with AI Integration answers with date functions practised on industry-standard projects, and the lessons gathered here are the ones that answer those questions: TODAY and date arithmetic, EOMONTH and NETWORKDAYS, live CAPA deadlines in TaskFlow, monthly defect trends and dates repaired in exports.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Age every open NCR in calendar days with TODAY and date arithmetic, and in working days with NETWORKDAYS, in columns that move on by themselves each morning.
- Give each corrective action its working days planned, working days left and days past due with NETWORKDAYS, TODAY and IF, with the overdue ones coloured by a formula rule.
- Count the NCRs, complaints or rejects inside one reporting month with COUNTIFS on the date column, with EOMONTH supplying each month end.
- Turn a year of inspection dates into monthly and quarterly defect trends with a PivotTable that groups the dates by itself.
- Set calibration and shelf-life due dates by adding days to a date, and count the days left to each against TODAY.
- Lay out a containment and corrective action plan as a Gantt-style timeline of each step's start and length.
- Convert the text dates in CMM, ERP and supplier exports into real dates with Power Query, adding year, month and year-month fields to report by.
Projects
What you will build.
The course has 14 industry-standard projects. These five matter most here.
-
Project 07
TaskFlow
One sheet that shows what is done, what is late and what is urgent.
Built for tasks, it serves as a CAPA log that keeps its own dates: working days planned for each action, working days left while it stays open, days past due once it slips, and a timeline of every step's start and length.
-
Project 06
PeopleInsight HR workbook
Employee data joined across sheets with one formula.
An HR workbook in the course, its date sheet hands a gauge register or a supplier response log the three calculations it needs: days to a deadline, the month end a date falls in and the working days between two dates.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
A sales report in the course, its PivotTable groups a column of dates into years, quarters and months without a helper column, which is all a monthly defect or complaint trend needs.
-
Project 12
SalesFusion
A sales report that refreshes itself from a folder of files.
Built on messy sales exports, its date lessons give a quality engineer the lasting cure for text dates in CMM and ERP files: true date types, then month columns that sort in calendar order instead of alphabetically.
-
Project 03
Sales Goal Tracker
A sales tracker in the course, it is where the dates begin: an age in days from TODAY, a due date from a date plus days, a month tag from MONTH and one month's rows counted with COUNTIFS, each ready to copy onto an NCR or complaint log.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 12 of them, 1 h 6 min of video. Each lesson keeps its number in the course.
Where to start
Lesson 37 SUMIFS and COUNTIFS in Excel
Begin at Lesson 37 if you can write a formula and fill it down: the path opens by counting rows inside a date window and moves straight on to TODAY and date arithmetic. New to Excel? Begin at Lesson 1, where the course starts from the first spreadsheet. Already ageing records with TODAY? Go to Lesson 74 for EOMONTH and NETWORKDAYS, then Lesson 85 for the live CAPA columns.
12 of 186 lessons · 1 h 6 min
04 Essential formulas and functions (IF, SUMIF and more) Counting and dating the log: COUNTIFS with two conditions on a date column so only one month's rows are counted, the Insert Function dialog, which finds a function by what it does, then TODAY minus a date for an age in days, a date plus days for a due date, MONTH for a month number, custom MMM and MMMM formats that show a date's month name, NOW for a live timestamp and IF on a date for a Yes or No flag. The lessons use a sales table; an NCR or inspection log takes every formula unchanged.
- 37 Start here 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 Dates grouped for trends: a date field in a PivotTable's rows grouped into years, quarters and months by Excel itself, with levels removed to switch between quarterly, monthly and daily views. Built on order dates, it turns a year of inspections into the monthly defect trend a quality review reads.
- 61 PivotTable summaries in Excel Sales by product category and grouping by date 4 min
08 Advanced Excel functions: lookups, text and arrays Deadlines and month ends: days until each deadline counted against TODAY, EOMONTH for the last day of a month and NETWORKDAYS for the working days between two dates, with custom date formats. The sheet is a small HR task list; the same columns age a supplier corrective action request or count down to a gauge's due date.
- 74 TODAY, EOMONTH and NETWORKDAYS in Excel Date calculations for HR data 5 min
09 Project: task automation with data validation and forms Late work made visible: formula rules that colour the overdue and the completed tasks, and a Gantt chart that shows each task's start and length against the dates. On TaskFlow they flag the overdue corrective actions and lay out a containment and corrective action plan.
- 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 Live CAPA deadlines: Work Days Planned and Work Days Left with NETWORKDAYS and TODAY, Days Past Due with IF, a protected sheet that keeps those formulas safe while owners update their rows, and a test that copies a task and checks that the day counts move with its dates.
- 85 NETWORKDAYS and TODAY in Excel Days remaining and task deadlines in TaskFlow 5 min
- 86 Protect a sheet and lock cells in Excel Secure the TaskFlow tracker workbook 4 min
- 87 Testing an Excel task tracker Stress test TaskFlow with sample data 3 min
15 SalesFusion: advanced data tools and a Power Query modelling system Dates from exports, repaired for good: Power Query sets each column's data type, clears placeholders and an impossible date before converting, and adds Year, MonthName, MonthNumber, MonthStart and YearMonth columns. SalesFusion's exports carry sales; CMM, ERP and supplier data with text dates take the same steps.
- 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.
Do quality engineers need more Excel date functions than TODAY and a subtraction to keep NCR, CAPA and calibration dates under control?
Yes: TODAY and a subtraction give an age in days, and The Complete Excel Course with AI Integration from Coding Liquids adds the date functions that turn ages into deadlines and monthly reports, on industry-standard projects designed after talking with people from many different industries. Lesson 39 covers that age, a due date from a date plus days and MONTH for tagging each row with its month. Lesson 74 brings in EOMONTH for the last day of a month and NETWORKDAYS for the working days between two dates. Lesson 85 joins TODAY, NETWORKDAYS and IF into working days left and days past due on a live tracker, while Lesson 37 counts the rows inside a date window and Lesson 61 groups a column of dates into months and quarters. Together the 12 lessons on this page take 1 hour 6 minutes, enough to put live dates into an NCR log, a CAPA tracker and a gauge register.
Can every nonconformance on the NCR log carry its age twice, once counting every day and once counting only working days?
Yes, both, in two columns that move on by themselves every morning. The Complete Excel Course with AI Integration teaches the calendar count in Lesson 39: TODAY minus the date a record was opened gives its age in days, and when the answer shows up looking like a date, the lesson's fix is to set the cell to Number. The working-day count is NETWORKDAYS, taught in Lesson 74, which counts the working days between two dates with the weekends left out. Quality work runs on both clocks: a customer may expect a complaint answered within so many calendar days while your own procedure sets disposition targets in working days, and a log that holds both columns answers either question without a calendar on the desk. The lessons use sales and task dates; your opened dates behave identically, because Excel keeps every date as a number.
Will each corrective action show working days left, and switch to days past due once it slips?
Yes, and the switch happens by itself: TaskFlow in The Complete Excel Course with AI Integration builds that pair of columns in Lesson 85. Work Days Planned counts the working days from an action's start to its due date with NETWORKDAYS. Work Days Left uses IF to return 0 once TODAY has passed the due date and counts the remaining working days otherwise. Days Past Due returns TODAY minus the due date for a late action and stays blank for every action still in time, so the blanks are the actions on track and each number is one to chase at the CAPA review. Lesson 87 then tests the tracker by copying a task and moving its dates: pushing a due date one day later cuts its days past due by one, proof that the column recalculates instead of holding a copied figure. Built for tasks, TaskFlow reads as a CAPA log the moment each task is an action.
Ages keep moving because TODAY recalculates: how do I give the monthly quality report figures that stay put?
Measure to the cut-off instead of to today, or freeze a copy: The Complete Excel Course with AI Integration teaches both. EOMONTH, from Lesson 74, returns the last day of a month, so an age worked out as that month end minus the opened date stops moving the moment the month closes, and every figure in the report is measured to the same cut-off. Where the report needs the live numbers as they stood on the day, Paste Special values, taught in Lesson 22, turns a column of formulas into fixed figures on a report sheet. Live columns still have their place: Lesson 39 points out that a TODAY count changes every day, and Lesson 85 builds the tracker on that behaviour deliberately, because an open-action list should always be current. Keep the daily list live and the monthly figures fixed, and the two never contradict each other.
Can Excel count the NCRs, complaints or rejects that fall inside one reporting month?
Yes, with COUNTIFS and two conditions on the date column that fence in one month, the pattern Lesson 37 of The Complete Excel Course with AI Integration teaches. The lesson's own count for one month came back as zero, and it draws the right lesson from it: a zero is a finding, a period with no activity, which on a complaint or NCR log is the best line of the review. EOMONTH from Lesson 74 gives each month's last day, so the window comes from a formula rather than a calendar, and MONTH from Lesson 39 can tag every row with its month for a simpler count on a month column. Add a further condition for the production line, the supplier or the defect code, and a single cell tells you how many of each arrived this month, ready for the monthly scorecard.
Can a year of inspection dates become a monthly or quarterly defect trend without helper columns?
Yes: put the date field in a PivotTable's rows and Excel groups it into years, quarters and months by itself, as Lesson 61 of The Complete Excel Course with AI Integration shows. The expand buttons drill from a year to its quarters, its months and single days, and removing a level switches the summary between quarterly, monthly and daily views, so one inspection log answers both this month's question and the year's trend. Place the defect type or the supplier in the columns and you hold the table a monthly quality review is read from. The lesson groups order dates; inspection, complaint and NCR dates group the same way. Where a month column is needed in the log itself, for a COUNTIFS or a chart, MONTH from Lesson 39 supplies it as a number, while a custom MMM format set on the date itself shows the month's short name.
Dates from our CMM, ERP and supplier certificates arrive in different formats: will Excel read them as dates?
Power Query turns them into true dates on every import, and The Complete Excel Course with AI Integration teaches both the quick check and the lasting fix. The check comes first: Excel stores a date as a number, which is why date arithmetic works at all (Lesson 39), and Lesson 74 gives the rule of thumb that an odd result usually means a date is being read as text. The same lessons set custom formats on the dates themselves, D-M-YYYY for the whole date and MMM or MMMM for the month's name, so a register shows dates the way your plant writes them. The lasting fix is in Power Query: Lesson 158 gives each column its proper data type, and Lesson 159 clears placeholders such as n/a and an impossible date before converting, then adds Year, MonthName, MonthNumber, MonthStart and YearMonth columns, so months sort in calendar order rather than alphabetically.
Can my gauge register show which instruments fall due for calibration before the month end?
Yes, and the register then reads itself each morning. The Complete Excel Course with AI Integration adds days to a date in Lesson 39, so each gauge's next due date is its last calibration date plus its interval in days. Lesson 74 counts the days still to run as the due date minus TODAY and returns the last day of the month with EOMONTH. A formula rule of the kind Lesson 82 writes, with the columns locked so it reads the right cell on every row, then colours each instrument due on or before that month end. The ones to recall this month stand out in colour, the day count says how urgent each is, and a negative count marks an instrument already past its date that should not be in use. The lessons date sales, tasks and deadlines; a gauge register takes the same three steps.
Can I report how many NCRs were closed within our target number of days?
Yes: closing time is one subtraction and on-time closure one count, both from lessons in The Complete Excel Course with AI Integration. Subtract the opened date from the closed date, the date arithmetic of Lesson 39, and every closed NCR carries its days to close. COUNTIF with a threshold written in quotation marks, the way Lesson 36 counts sales above a figure, then counts the closures inside your target, and COUNTIFS from Lesson 37 narrows it to one month, one site or one supplier. Divide the on-time count by all closures and format the cell as a percentage, as Lesson 11 does for each expense against income, and IFERROR from Lesson 12 keeps a month with no closures from showing an error. The result is the closure-rate figure management reviews ask for, rebuilt from the log every time it changes.
Can the steps of a corrective action plan be shown as a timeline the plant manager reads at a glance?
Yes. Lesson 83 of The Complete Excel Course with AI Integration is titled Gantt chart in Excel, build a project timeline with conditional formatting, and the timeline it adds to TaskFlow shows each task's start and length against the dates, so overlapping steps and late starts are plain at a glance. List the containment, correction and verification steps as rows with a start date and a due date, and Lesson 85 adds the working days each step is given. Lesson 82 colours the overdue and the completed rows, so a plant manager sees the plan and its progress together on one sheet. The lessons plan the tasks of a project; the steps of a corrective action plan are tasks of the same kind, each owned, dated and tracked to done, and the timeline follows when a date changes.
The NCR log I inherited works out ages with DATEDIF: what does the course use instead?
Subtraction and NETWORKDAYS, both taught in The Complete Excel Course with AI Integration, give the day counts that DATEDIF formula was there for, in a form anyone reviewing the log can read. An age in days is simply TODAY, or the closing date, minus the opened date (Lesson 39): the same number a day count from DATEDIF returns, with no hidden argument to decode. Working days come from NETWORKDAYS (Lesson 74), something DATEDIF never offered. DATEDIF itself is not among the lessons, so ages in whole months or years are left out; NCR and CAPA ages are normally counted in days, and those the course handles fully. Replacing the old formulas one column at a time doubles as an audit of the log, since each new column can be checked against the old one before the old one goes.
When a procedure calls for a date function the lessons leave out, such as months added to a date, can I find and use it myself?
Yes, and Lesson 38 of The Complete Excel Course with AI Integration teaches the habit that makes it quick. Formulas, then Insert Function, searches by purpose: describe the job, such as counting or averaging, and the dialog lists every function that does it with its variations side by side, which helps you pick the most efficient one. The Function Arguments window then takes each argument in turn, handles the brackets, commas and order, and previews the result before you commit. EDATE, for an interval counted in months, and WORKDAY, for a deadline counted in working days, are not taught by name; found through the dialog, they read like the date functions you will already be using from Lesson 39 and Lesson 74. Formula AutoComplete, from the same lesson, finishes a function's name as you type it.
Dates are the part of Excel that trips me up: can I still follow these lessons?
Yes, because The Complete Excel Course with AI Integration explains the one idea that makes dates behave: Excel stores every date as a number. Lesson 6 formats dates early in the course and explains the hashes that appear when a column is too narrow for its dates, and Lesson 39 puts the idea to work, with an age that shows up looking like a date until the cell is switched to Number and a due date that is simply a date plus some days. From there, EOMONTH and NETWORKDAYS in Lesson 74 are functions that take dates in and give dates or counts back. Each lesson is short and builds on the one before, and if formulas themselves are new, start at Lesson 1, where the course opens with the Excel window. Everything on this page runs in Excel on Windows or Mac.
How soon could Monday's open-NCR review run on live day counts instead of hand counts?
The whole path is 1 hour 6 minutes, and the open-NCR ages go live early in it. The Complete Excel Course with AI Integration gives you days open and due dates in Lesson 39, working days and month ends in Lesson 74, and the full set of CAPA columns, days planned, days left and days past due, by Lesson 85, with the overdue actions in colour from Lesson 82. Rebuild those columns on your own log as each lesson ends and Monday's review reads from formulas instead of a calendar and a hand count. The TaskFlow starter and finished workbooks are part of the course, letting you hold each formula against one that works. With lifetime access the lessons stay available for the next tracker you build, and the Certificate of Completion you earn at the end carries a link that lets an employer verify it.
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 quality engineers
- Lookups for quality engineers
- PivotTables for quality engineers
- Excel charts for quality engineers
- Excel dashboards for quality engineers
- Conditional formatting for quality
- Data cleaning for quality engineers
- Data validation for quality engineers
- Excel tables for quality engineers
- Text functions for quality engineers
- Dynamic arrays for quality engineers
- Power Query for quality engineers
- Power Pivot & DAX for quality engineers
- Macros and VBA for quality engineers
- Power Automate for quality engineers
- Copilot for quality engineers
- ChatGPT for quality engineers
- Claude in Excel for quality engineers
Date functions for other jobs
- Date functions for quantity surveyors
- Date functions for civil engineers
- Date functions for construction managers
- Date functions for health and safety
- Date functions for document controllers
- Date functions for production managers
- Date functions for M&E engineers
- Date functions for industrial engineers
- Date functions for every job