The Complete Excel Course with AI Integration
Excel date functions for supply chain analysts
For supply chain analysts whose weekly pack runs on dates: order, promised and receipt dates in every extract, with lead times, late lines and monthly buckets worked out by hand. The Complete Excel Course with AI Integration turns that into formulas on industry-standard projects. Gathered here are its date lessons: date arithmetic, TODAY, EOMONTH and NETWORKDAYS, date windows in COUNTIFS, TaskFlow's live deadlines, and months grouped by PivotTables and Power Query.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Give every order line a lead time twice over: calendar days by subtracting its order date from its receipt date, and working days counted by NETWORKDAYS, so suppliers are measured on days that were worked.
- Keep a past-due column on open purchase orders that counts days late from TODAY, stays blank while a line is on time and lights up the overdue rows with conditional formatting.
- Give each open order an expected arrival date and its working days left, then count and total the lines due in the coming week with COUNTIF and SUMIFS.
- Judge every delivery against an on-time window counted in working days by NETWORKDAYS and IF, and count the lines that pass by supplier and month with COUNTIFS.
- Tag every shipment and receipt with its month end using EOMONTH, show a date's month as Jan or January with custom MMM and MMMM formats, and pull its month number with MONTH.
- Count and total the lines inside a planning week or month with two date conditions in COUNTIFS and SUMIFS.
- Group daily order lines into months, quarters and years with a PivotTable, and add Year, MonthNumber and YearMonth columns to an extract in Power Query.
- Run the steps of a monthly planning cycle on working days planned, working days left and a Gantt-style timeline of each step's start and length against the dates.
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.
An HR analytics workbook in the course, it keeps a date sheet where TODAY, EOMONTH and NETWORKDAYS work out the days to a deadline, the end of its month and the working days in between: the same arithmetic as a promised date, a period cut-off and a carrier's transit time.
-
Project 07
TaskFlow
One sheet that shows what is done, what is late and what is urgent.
Built for tasks, it turns start and due dates into working days planned, working days left and days past due, recalculated each morning beside overdue highlighting and a Gantt-style timeline: the pattern for ageing an open order book.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
Built on order-level sales, its PivotTables group a date column into years, quarters and months by themselves, so daily lines become the monthly buckets a planning review reads, with no helper column.
-
Project 12
SalesFusion
A sales report that refreshes itself from a folder of files.
Its Power Query steps clear placeholders and impossible dates out of a messy sales export, then add Year, MonthName, MonthNumber, MonthStart and YearMonth, so every extract reaches the report with its periods already worked out.
-
Project 03
Sales Goal Tracker
A sales tracker in the course, it is where dates first behave as numbers: days since each sale, a follow-up date ten days on, a month flag and a COUNTIFS that counts a date window, the moves that give an order line its age and its period.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 11 of them, 1 h 2 min of video. Each lesson keeps its number in the course.
Where to start
Lesson 37 SUMIFS and COUNTIFS in Excel
Start at Lesson 37 if you write IF and SUMIF formulas but have not yet put a date inside a condition: the date windows lead straight into the date functions. Someone opening Excel for the first time should go back to Lesson 1, where the course starts from the very first spreadsheet. Already subtracting dates every day? Go to Lesson 74 for EOMONTH and NETWORKDAYS, then on to TaskFlow's live deadlines at Lesson 85.
11 of 186 lessons · 1 h 2 min
04 Essential formulas and functions (IF, SUMIF and more) Dates as numbers you can count with: COUNTIFS and SUMIFS with two conditions on one date column, which frames a single month and shows that a zero means no activity; the function library, which finds a function by what it does; and TODAY minus a date, a date plus days, MONTH, MMM formats and NOW on the Sales Goal Tracker. Lead times, expected arrivals and period flags start here.
- 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 PivotTable date grouping: order dates dropped into Rows group themselves into years, quarters and months, and removing a level switches the view, so daily lines turn into planning buckets without a helper column. The lesson uses sales orders, the same shape as a shipment log.
- 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 small sheet of tasks and deadlines: days until due shown as a number, the month end a date falls in, and the working days between two dates. These three functions sit behind promised dates, period cut-offs and transit times.
- 74 TODAY, EOMONTH and NETWORKDAYS in Excel Date calculations for HR data 5 min
09 Project: task automation with data validation and forms TaskFlow's highlighting for overdue and completed tasks, then a Gantt chart that builds a project timeline with conditional formatting, each task's start and length set against the dates. Built for tasks, the tracker suits a supplier onboarding or a warehouse move just as well.
- 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 at work in TaskFlow: working days planned, working days left falling to zero at the deadline, and days past due that stay blank until a date has gone by. Read promised dates for due dates and the same columns age an open order book.
- 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 new row copied in keeps its formulas, and a due date moved a day later takes one off the days past due, proof that the dates calculate rather than sit there as typed values.
- 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 fixed at the source in Power Query: true data types for every column, then a date column cleared of n/a, placeholders and an impossible date, converted to a real date and given Year, MonthName, MonthNumber, MonthStart and YearMonth fields that each refresh rebuilds.
- 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.
Are TODAY, NETWORKDAYS and EOMONTH all the Excel date functions a supply chain analyst needs, and where are they taught?
They carry most of the load, and The Complete Excel Course with AI Integration from Coding Liquids covers all three, plus the date arithmetic, date windows and month grouping that turn them into supply chain figures, on industry-standard projects designed after talking with people from many different industries. Subtracting an order date from a receipt date gives a lead time (Lesson 39). TODAY measures how long a purchase order has left to run, EOMONTH closes a period on its last day, and NETWORKDAYS strips weekends out of a carrier's transit (Lesson 74). TaskFlow sets those functions to work as working days left and days past due that move on every morning (Lesson 85). COUNTIFS with two conditions on one date column counts a planning week (Lesson 37), and PivotTables and Power Query cut months out of a date. Each of the 11 lessons picked out here, 1 hour 2 minutes together, is tied below to a piece of that work, and an ERP extract of orders and receipts takes the same formulas the lessons build on sales, HR and task data.
Our quarterly supplier review ranks lead times: which date formulas give every supplier a fair number to be judged on?
Two, side by side: plain subtraction for calendar days and NETWORKDAYS for working days, and The Complete Excel Course with AI Integration gives each its own lesson. Excel stores every date as a number, so receipt date minus order date is a count of days, the arithmetic Lesson 39 shows with TODAY minus a sale date; if the result appears as a date, the lesson's remedy applies and the cell is set to Number. NETWORKDAYS counts only the working days between two dates (Lesson 74), so an order that waited over a weekend no longer counts against a supplier for days nobody worked. For the review itself, SUMIFS of the lead days over COUNTIFS of the lines gives each supplier's average, and two conditions on the order date keep it to the quarter under review (Lesson 37). The ranking that results is one every supplier can check against its own dates.
Our on-time rule allows a delivery up to one working day after the promised date: can Excel judge every line against a window like that?
Yes: count the working days between the two dates, then let IF apply your rule, and The Complete Excel Course with AI Integration covers each half. NETWORKDAYS gives the working days from the promised date to the delivery date (Lesson 74), so a weekend inside the gap is never held against the supplier, and IF turns that count into a label such as On time or Late, the way Lesson 30 labels each sale Achieved or Missed. AND adds the in-full test, quantity delivered against quantity ordered, inside the same formula (Lesson 33), and COUNTIFS counts the lines that pass, by supplier and by month (Lesson 37). Keep the allowance in a cell of its own: when the business tightens the rule, every line is judged again the moment that cell changes. The OTIF figure that results follows your definition, not a rough count of late dates.
The weekly review wants overdue lines banded as a week late, a month late and worse: can the dates keep those bands current by themselves?
Yes: built on TODAY, the bands are fresh every time the file opens. TaskFlow in The Complete Excel Course with AI Integration supplies the days (Lesson 85): a Days Past Due column that shows TODAY minus the due date once a date has gone by and stays blank while there is still time. Read purchase order lines for tasks and promised dates for due dates, and each overdue line shows how many days late it now runs. IFS then turns those days into bands, the way Lesson 32 turns sales figures into performance labels, and rule-based highlighting makes overdue rows stand out (Lesson 82). Lesson 87 proves the column is live: a due date moved one day later takes one off the count. DATEDIF is not among the lessons, and plain subtraction gives the same count of days for every band.
Can each open order show the date it should land and the working days left, so the warehouse sees what arrives this week?
Yes, with three columns that The Complete Excel Course with AI Integration teaches one at a time. A date plus a number is a later date: Lesson 39 adds ten days to a sale date for a follow-up, and the supplier's quoted lead time added to the order date gives each line its expected arrival in the same way. Expected date minus TODAY gives the days to go, switched from Date to Number as Lesson 74 does for a deadline, while TaskFlow's working-days-left column counts working days only, with NETWORKDAYS, and falls to zero once the date passes (Lesson 85). From there COUNTIF counts the lines due within five working days and SUMIFS totals their quantity (Lesson 36, Lesson 37). The receiving dock gets its figure for the week ahead, rebuilt every morning from the same extract with nothing retyped.
Our S&OP cycle closes at each month end: can a formula tag every shipment with the period it belongs to?
Yes: EOMONTH, which The Complete Excel Course with AI Integration teaches in Lesson 74, returns the last day of a date's month and so sets month-end boundaries that never vary. Point it at each shipment date and every row carries its month end as a period key, so a shipment made on the final day stays in its own month, and SUMIFS on that key totals each month for the S&OP figures (Lesson 37). The lesson also shows what puzzles newcomers: EOMONTH answers with a plain number until the cell is given a date format. For labels, MONTH returns a month's number, and custom MMM and MMMM formats show Jan or January while the date underneath stays a date (Lesson 39). Because the tag is calculated and never typed, a corrected shipment date moves its line to the right period by itself.
Planning runs in weekly buckets: can COUNTIFS and SUMIFS total the lines that fall inside one week?
Yes: a week is simply a date window, and The Complete Excel Course with AI Integration counts a window with two conditions on one date column. Lesson 37 frames February that way with COUNTIFS and gets zero, which the lesson reads as an insight: no activity in that period. Set the two conditions seven days apart and the same formula counts a planning week, while SUMIFS with the same pair totals its quantity or value. Hold each week's first day in a cell and point both conditions at it: a column of start dates and one formula filled down give a whole quarter of weekly buckets. No lesson teaches a week-number function, and a window like this needs none. For monthly views, a PivotTable groups the dates without any formula at all (Lesson 61), and Refresh brings new lines into those buckets (Lesson 65).
Demand planning sets each month beside the same month last year: can the dates in an order extract do that grouping for me?
Yes, in two ways, both taught in The Complete Excel Course with AI Integration. A PivotTable groups a date column into years, quarters and months by itself as soon as the date goes into Rows (Lesson 61), and removing a level switches between quarterly, monthly and daily views, so demand by year and month needs no helper column. When the extract comes in through Power Query, Lesson 159 adds Year, MonthName, MonthNumber, MonthStart and YearMonth columns inside the query, and explains why the number matters: without it, months sort alphabetically and April lands before January. With those columns in place, SUMIFS sets any month beside the same month a year earlier, and each refresh brings the newest month in already labelled. Seasonal comparisons stop being a copy-and-paste job before every planning meeting.
Our ERP extract mixes real dates with blanks, placeholders and text: how does the course make them fit for date formulas?
With a check on the sheet and a lasting cure in Power Query, both in The Complete Excel Course with AI Integration. On the worksheet, a date held as text spoils the arithmetic, and Lesson 74 names the warning sign: an odd result usually means a date is being read as text. Power Query then mends it where the data enters. Lesson 159 works through a sales export whose date column holds n/a, a placeholder reading not a date and a date that cannot exist, clears each one, steps back through Applied Steps to confirm, converts the column to a true date and turns what still fails into a null. Lesson 158 gives the remaining columns their proper types as well. Because the steps are saved with the query, next week's extract gets the same treatment at a refresh, and every lead time is worked out on dates that really are dates.
The extract gains new order lines every day: will the date columns reach them without my dragging formulas down?
Yes: in an Excel table, a date column written once reaches every new line by itself, and The Complete Excel Course with AI Integration works in tables from its first formulas. A formula entered in one table column fills the whole column and every row added later, as Lesson 30 shows with the @ reference that reads its own row, and a SUM over a whole table column stays connected as rows arrive (Lesson 34). So a lead-time, days-late or period column written once covers next week's lines as well. TaskFlow's last lesson tests the same promise on a tracker: a row copied in keeps its formulas, and its days past due shift as soon as its due date does (Lesson 87). Where the whole extract is replaced each week, Power Query's saved steps rebuild the date columns at a refresh (Lesson 159). Either way, nobody drags a formula down on a Monday morning.
The monthly planning cycle runs to fixed steps and deadlines: can TaskFlow's date columns keep it on schedule?
Yes: TaskFlow is the course's task tracker, and its date columns suit a planning calendar well. In The Complete Excel Course with AI Integration, each task's Work Days Planned comes from NETWORKDAYS between its start and due dates, Work Days Left counts down from TODAY and stops at zero, and Days Past Due appears only once a deadline has gone by (Lesson 85). List the cycle's steps in its place, from the demand review to the executive meeting, and each step shows the working days it was given and the days it has left. Lesson 83, Gantt chart in Excel: Build a project timeline with conditional formatting, adds a timeline of each step's start and length against the dates, and rule-based highlighting brings overdue steps forward (Lesson 82). Next month the cycle repeats: new dates go in, and every count follows them.
Could Copilot or ChatGPT write the lead-time and past-due columns, so I can skip learning the date functions?
They can draft them, and The Complete Excel Course with AI Integration teaches the drafting and the checking, which is where your own grasp of dates earns its keep. In Lesson 95 Copilot and ChatGPT write formula columns that you verify before they stay, and Lesson 99 adds a checklist whose points include whether the time frame lines up across the dates. A drafted lead-time column can count calendar days when the supplier quotes working days, or subtract dates that are really text, and still look tidy. Catching that takes the date lessons on this page. TaskFlow's working-days lesson even puts AI to practical use: because TODAY changes the results with the day the file is opened, it suggests shifting the practice dates forward or asking an AI agent to realign them (Lesson 85). AI is quick; the date functions are what let you sign its work off.
What does it take, in course time, before the date columns of a weekly pack calculate themselves?
About 1 hour 2 minutes, and the first working columns arrive long before the end. In The Complete Excel Course with AI Integration, date arithmetic, MONTH and NOW come in Lesson 39, and TODAY, EOMONTH and NETWORKDAYS in Lesson 74: rebuild those on your own extract and lead times, period tags and a live timestamp for the pack are done. TaskFlow's lessons add days past due and working days left that move with the calendar, and the PivotTable and Power Query lessons end with monthly buckets that build themselves. Each project comes with a starter workbook and a finished one, so every column can be held against an answer that works. With lifetime access, every date lesson stays to hand for the next report that needs a new rule, and the Certificate of Completion awarded at the end carries a verification link any employer can follow.
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 supply chain analysts
- Lookups for supply chain analysts
- PivotTables for supply chain analysts
- Charts for supply chain analysts
- Dashboards for supply chain analysts
- Conditional formatting for supply chain
- Data cleaning for supply chain analysts
- Data validation for supply chain
- Excel tables for supply chain analysts
- Text functions for supply chain analysts
- Dynamic arrays for supply chain analysts
- Power Query for supply chain analysts
- Power Pivot and DAX for supply chain
- Macros and VBA for supply chain analysts
- Power Automate for supply chain analysts
- Copilot for supply chain analysts
- ChatGPT for supply chain analysts
- Claude in Excel for supply chain