The Complete Excel Course with AI Integration

Excel date functions for retail buyers

A buyer's season is a calendar of commitments: the day an order was placed, the day it should land, the day it cancels and how long a line has sat since. The Complete Excel Course with AI Integration turns that calendar into formulas on industry-standard projects, and the date lessons gathered here follow a buyer's own order: date formats, TODAY and date arithmetic, dated SUMIFS, EOMONTH and NETWORKDAYS, PivotTable date groups and TaskFlow's critical path.

Taught by Sagnik Bhattacharya and Virginia Thorn

The Complete Excel Course with AI Integration: Sagnik Bhattacharya and Virginia Thorn

What you will be able to do

At work, you will be able to:

  • Count the days left before each purchase order reaches its cancel date, and how many days a late delivery is overdue, with TODAY and date arithmetic that recount every morning.
  • Measure each supplier's lead time in calendar days by subtraction and in working days with NETWORKDAYS, then count late deliveries per supplier with COUNTIFS.
  • Total the receipts due in a month, or in any window between two dates, with SUMIFS conditions on the delivery date and EOMONTH setting the month-end cut-off.
  • Tag every sale with its month and season using MONTH, IF and IFS, and lay a season's sales out by month and quarter in a PivotTable that groups the dates itself.
  • Run a range's samples, orders and deliveries in TaskFlow, with overdue rows highlighted, each milestone's start and length on a timeline, and working days left beside days past due.
  • Repair supplier and system dates that arrive as text, on the sheet or in Power Query, so every subtraction, SUMIFS total and PivotTable reads them as real dates.
  • Turn a period code into a readable month label with LET, DATE and TEXT, and add year, month and month-start columns in Power Query so months sort in calendar order.
  • Click a trading dashboard between years, quarters, months and days with a Timeline that every connected PivotTable and chart follows.

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 to run a team's tasks, it becomes a buyer's season calendar that does its own counting: working days to each sample or delivery deadline, days past due once a date slips, overdue rows in colour and every milestone set out against the dates.

  • Project 05

    SalesPlusPerformance

    A sales question answered in seconds, straight from the order data.

    Built on order-level sales with a date on every row, it teaches a buyer to lay a season out by year, quarter, month or day from a single PivotTable, with Refresh All taking in each new week of orders.

  • Project 12

    SalesFusion

    A sales report that refreshes itself from a folder of files.

    Built around messy sales exports, its Power Query lessons give a buyer the date repair that system files need: placeholders and impossible dates cleared, a true date type set, and year, month and month-start columns that sort a season in calendar order.

Tap or pinch to zoom in, drag to move around. Click or scroll to zoom in, drag to move around.

  • Project 03

    Sales Goal Tracker

    Built on a table of sales against quota, it is where the date formulas are first written: days since each sale, a follow-up date a set number of days on, a live timestamp, a flag on one month's rows and counts bounded by two dates.

Lessons

The lessons that matter, in course order.

The Complete Excel Course with AI Integration has 186 lessons. This page picks out 15 of them, 1 h 22 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 IF and simple sums are already familiar: two conditions on one date column come first, and TODAY, MONTH and date arithmetic follow in Lesson 39, the base of every cancel-date and lead-time count on this page. Dates on your sheets showing as numbers or hashes? Take Lesson 6 first; anyone opening Excel for the first time starts at Lesson 1. Already counting days with TODAY? Pick up at Lesson 74, where EOMONTH and NETWORKDAYS lead on to TaskFlow's live deadline columns.

15 of 186 lessons · 1 h 22 min

01 Microsoft Excel fundamentals: building a foundation from scratch 1 of 13 lessons · 5 min Dates that read as dates: Format Cells and the short date shortcut set how order and delivery dates appear, and a column of hashes after a date format only means the column is too narrow. The lesson formats a personal budget's dates; a purchase order register takes the same formats.
  1. 6 Number formatting in Excel Currency, date and percentage formats for a budget 5 min
04 Essential formulas and functions (IF, SUMIF and more) 3 of 13 lessons · 17 min The Sales Goal Tracker's dated work: SUMIFS and COUNTIFS with several conditions, two of them on the date column to count one month's sales, the function library for finding any function by what it does, then TODAY, NOW, MONTH and date arithmetic for days since a sale, a follow-up date, a live timestamp and a flag on one month.
  1. 37 Start here SUMIFS and COUNTIFS in Excel Sum and count with multiple criteria 7 min
  2. 38 The Excel function library Insert Function dialog and Formula AutoComplete 5 min
  3. 39 Date and time functions in Excel TODAY, NOW, MONTH and date arithmetic 6 min
07 PivotTables and PivotCharts: data analysis made easy 1 of 10 lessons · 4 min A PivotTable that groups order dates by itself into years, quarters and months, where removing a level switches between quarterly, monthly and daily views of the same sales: a season's shape without a single date formula.
  1. 61 PivotTable summaries in Excel Sales by product category and grouping by date 4 min
08 Advanced Excel functions: lookups, text and arrays 1 of 12 lessons · 5 min TODAY, EOMONTH and NETWORKDAYS on a small sheet of tasks: days until each deadline, the month end a deadline falls in and the working days between a start and a finish, the three counts a delivery schedule runs on.
  1. 74 TODAY, EOMONTH and NETWORKDAYS in Excel Date calculations for HR data 5 min
09 Project: task automation with data validation and forms 2 of 9 lessons · 14 min Deadlines made visible in TaskFlow: conditional formatting that picks out overdue and completed tasks, and a Gantt chart timeline showing each task's start and length against the dates, ready for a range's critical path.
  1. 82 Conditional formatting in Excel Highlight overdue and completed tasks 8 min
  2. 83 Gantt chart in Excel Build a project timeline with conditional formatting 6 min
09 Project: task automation with data validation and forms 3 of 9 lessons · 12 min TaskFlow's live date columns: working days planned, working days left and days past due from NETWORKDAYS, TODAY and IF, then the sheet protected so new dates can be typed without touching a formula, and a stress test proving the counts move when a date does.
  1. 85 NETWORKDAYS and TODAY in Excel Days remaining and task deadlines in TaskFlow 5 min
  2. 86 Protect a sheet and lock cells in Excel Secure the TaskFlow tracker workbook 4 min
  3. 87 Testing an Excel task tracker Stress test TaskFlow with sample data 3 min
11 MarketPulse campaign intelligence dashboard 1 of 10 lessons · 4 min A Timeline on the Date field of the MarketPulse dashboard, connected to every PivotTable and chart, moving between years, quarters, months and days: the date filter a trading meeting clicks through.
  1. 111 Marketing charts and a timeline in Excel MarketPulse dashboard PivotCharts 4 min
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) 1 of 10 lessons · 8 min Inside FinanceGuard's budget vs actual model, LET with LEFT, MID, DATE and TEXT turns the year and month packed into each key into a readable month label, the move for any system file that dates its rows with a period code.
  1. 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 2 of 21 lessons · 13 min Dates repaired in Power Query: columns given true date, number and text types, placeholders and an impossible date cleared from the sale date, then new columns for the year, month name, month number, month start and year-month, so months sort in calendar order instead of alphabetically.
  1. 158 Data types in Power Query Fix date, whole number, decimal and text types 7 min
  2. 159 Date columns in Power Query Add year, month and year-month fields for reports 7 min

Instructors

Who teaches it.

Virginia Thorn smiling at the camera, dark hair tied back, wearing a navy top.

Instructor, Excel with AI

Virginia Thorn

Emmy Award winner. Teaches Excel with AI at Coding Liquids.

Questions

Asked before starting.

As a retail buyer I work to order, delivery and cancel dates: which Excel date functions should I learn, and where are they taught?

The Complete Excel Course with AI Integration from Coding Liquids puts them to work on projects that are industry standard, each designed after talking with people from many different industries. Gathered here are the date lessons a buyer leans on, 15 lessons and 1 hour 22 minutes in all. TODAY and date arithmetic count the days to a cancel date or past a delivery date (Lesson 39). EOMONTH finds the month end a receipt belongs to, and NETWORKDAYS counts the working days between two dates (Lesson 74). Two conditions on a date column let SUMIFS and COUNTIFS total or count any month or window (Lesson 37). A PivotTable groups order dates into months and quarters by itself (Lesson 61), and TaskFlow turns deadlines into live counts and a timeline (Lesson 83, Lesson 85). The lessons practise on sales, tasks and budget data; a purchase order register takes exactly the same formulas, and you build each one yourself.

Which orders are close to their cancel date, and how many days does each one have left?

One subtraction against TODAY answers both, and The Complete Excel Course with AI Integration teaches the pattern twice. Lesson 39 subtracts a sale's date from TODAY to count the days since it, and shows that a result looking like a date only needs the Number format; turn it round, cancel date minus TODAY, and every order shows its days to cancel. An IF beside it flags any order inside the window you set, a fortnight say, so the ones within reach of cancelling surface first. TaskFlow's Days Past Due column in Lesson 85 covers what happens after: once TODAY passes a date, IF returns how many days beyond it the item is, and until then the cell stays blank. Because TODAY moves on daily, the register recounts itself every morning with nothing retyped, and an order a week from cancelling stands out while there is still time to save it.

Can Excel show each supplier's real lead time, order to arrival, against the lead time it quoted?

Yes, and the arithmetic is simpler than most buyers expect. In The Complete Excel Course with AI Integration, date arithmetic from Lesson 39 gives a lead time as the arrival date minus the order date, so no DATEDIF is needed, and where a supplier quotes in working days, NETWORKDAYS counts the working days between the same two dates (Lesson 74). Set that beside the quoted lead time and one more subtraction shows how many days each delivery ran over. SUMIFS and COUNTIFS from Lesson 37 then give every supplier its total days and its number of deliveries, and one divided by the other is the average lead time it really achieves. The lessons measure tasks and sales; a delivery log carries the same two dates on every row, so the formulas transfer untouched, and the next supplier meeting starts from measured days instead of impressions.

How much stock is still due to land before this month ends, and in each month after it?

Yes. Two conditions on one date column do it, and The Complete Excel Course with AI Integration teaches that in Lesson 37, where COUNTIFS counts a single month's sales between a first and a last day; SUMIFS takes the same pair of conditions to total units or order value instead. Head each column with a month's first day and EOMONTH from Lesson 74 gives the same column its last, so no month-end cut-off is ever typed by hand, and the formula copied across becomes a receipts line for the season. COUNTIFS beside it shows how many orders sit behind each figure. Your open-to-buy plan stays your own working; these formulas keep the receipts side of it current every time an order is added or a delivery date moves, which is exactly when a plan typed by hand quietly goes stale.

Our trading weeks do not follow calendar months: can Excel still total a line's sales week by week?

Yes: SUMIFS takes your own week boundaries, a method The Complete Excel Course with AI Integration builds from Lesson 37 and Lesson 39. Date arithmetic adds days to a date, so a row of week-start dates is your first trading day, then that day plus seven, plus fourteen and onwards, starting on whichever weekday your business uses. SUMIFS then totals each line's sales from one start date up to the day before the next, a week at a time, and the same pair of conditions measures a launch fortnight or a promotion window just as easily. WEEKNUM has no lesson of its own; boundaries you set yourself suit a retail calendar anyway, because they assume nothing about where the year begins. For whole months and quarters, a PivotTable groups the dates with no formula at all (Lesson 61).

For the season review, can I set this year's sales beside the same months last year?

Yes, and a PivotTable does most of the work. In The Complete Excel Course with AI Integration, Lesson 61 drops the order date into a PivotTable and Excel groups it into years, quarters and months by itself; with the years moved across the top, using the field areas of Lesson 60, each month of this season sits beside the same month a year earlier, ready for a percentage change. Removing a level switches the view between quarters, months and days, and Refresh All (Lesson 65) brings in the newest orders. A Timeline (Lesson 111) lets the meeting click between periods while every connected chart follows. Where the comparison must live in formulas, SUMIFS with two date bounds totals any month of either year (Lesson 37). The practice data is order-level sales, the shape a buyer's sales history already has.

Can each sale be tagged with its season, spring and summer or autumn and winter, from the order date alone?

Yes: MONTH reads the month out of any date, and IFS turns month numbers into the season labels you choose. The Complete Excel Course with AI Integration teaches both on its sales table: Lesson 39 uses MONTH inside an IF to flag every sale from one month, and Lesson 32 builds IFS labels tested in order, with TRUE catching whatever is left. Combine them and a new column reads each order date and writes its season, after which SUMIFS or a PivotTable totals sales by season in moments. For files that arrive weekly, Power Query adds year, month name and month number columns once and repeats them at every refresh (Lesson 159), and Lesson 167 adds fiscal year columns, the pattern for a trading year that starts in another month. Where your seasons begin is your decision; the formulas follow it.

How many days has each line sat in stock since it arrived, and which have sat longest?

TODAY minus the date a line was received gives its age in days, and The Complete Excel Course with AI Integration teaches that subtraction in Lesson 39, on a column that recounts itself every morning. IFS from Lesson 32 then sorts each line into the age bands you work to, and highlight rules from Lesson 15 colour the oldest, so a slow line cannot hide in a long list. COUNTIFS gives the number of lines in each band per category (Lesson 37), and SUMIFS the units or value tied up in them. Which lines are marked down, and how deeply, stays a buyer's judgement: the sheet makes sure that judgement starts from every line's true age, not from memory or from whichever lines happen to be on the shop floor this week.

The weekly sales file from our merchandise system stamps each date with a time and writes n/a where none was set: can Excel clean that once for every week?

Yes: Power Query does the repair once and replays it on every file after, and The Complete Excel Course with AI Integration teaches this very clean-up on SalesFusion's sale dates. Lesson 159 clears the placeholders with Replace Values, n/a and a not-a-date entry among them, removes an impossible date that would break the conversion, sets the column to a date and time type, replaces any errors left with empty values, then settles on Date, which drops the time and saves memory. Lesson 158 gives the other columns their true types as well. Next week's export passes through the same steps at a refresh, with no cell touched by hand. For a one-off file on the sheet, Lesson 12 explains the #VALUE! error that text in a calculation causes, and Lesson 74 makes the point that an odd date result usually means Excel is reading a date as text.

Sample approvals, order deadlines and deliveries crowd into the same weeks: can Excel show where they overlap before the season starts?

Yes: the Gantt chart that TaskFlow gains in Lesson 83 of The Complete Excel Course with AI Integration is a timeline of each task's start and length against the dates, and where tasks overlap is plain at a glance. Enter a season's stages as rows, from sample request and approval to order placement, shipping and the in-store date for each range, and the weeks where approvals and deliveries crowd together show as bars filling the same stretch of dates, long before any deadline is missed. Lesson 82 highlights overdue and completed rows with formula rules, so what is finished and what is late are told apart at once. Move a date to spread the load and the bars redraw from the new dates. A crowded month becomes a plan you can see, talk through with suppliers and fix while there is still room to move.

How do I count the working days left before a launch or a sample approval deadline?

NETWORKDAYS counts the working days between two dates, and The Complete Excel Course with AI Integration teaches it twice: first on a small sheet of task deadlines (Lesson 74), then inside TaskFlow (Lesson 85). There it becomes Work Days Left: an IF checks whether TODAY has passed the due date, returns zero if it has, and otherwise counts the working days from TODAY to the deadline, so the figure falls by itself as the launch approaches. A Work Days Planned column measures each stage from its start to its due date, which is how a buyer spots a sample approval squeezed into too few working days before the order must be placed. Paired with the days past due column, every milestone answers both questions a trading meeting asks: how long is left, and how late is it?

When a supplier moves a delivery date, will every count on my tracker update, or do I retype them?

They update, and The Complete Excel Course with AI Integration makes you prove it rather than take it on trust. Lesson 87 stress-tests TaskFlow by copying a task into a new row and moving its dates on: the drop-downs, the formatting rules and the formulas all carry into it, and when the due date moves a day later, Days Past Due drops by one, the sign that the column calculates rather than holds a pasted number. A figure that stayed put would expose a broken formula or a wrong reference. Lesson 86 protects the sheet so a colleague typing in a new date cannot overwrite the formulas beside it, and TODAY keeps every count current each time the file opens. Run the same test on your own register before a trading meeting depends on it.

The practice files hold sales, staff records and tasks, not purchase orders: will the formulas fit my order book?

Yes, because a date formula never asks what a row describes, only where its dates sit. The Complete Excel Course with AI Integration teaches TODAY and MONTH on a sales table (Lesson 39), EOMONTH and NETWORKDAYS on a sheet of task deadlines (Lesson 74) and the live deadline columns on TaskFlow (Lesson 85), and each carries to an order book unchanged: a task's due date becomes a delivery date, a sale's date becomes a receipt date, a deadline becomes a cancel date. The projects are industry standard, so the methods are the ones working files run on, and each project comes with a starter file and a finished one to check against. Rebuild the columns on a copy of your own register as you go, and by the end of the path your order book is running on them.

Can I have these date columns running before next season's orders go in, on the Mac in the buying office?

Yes on both counts. The path is 1 hour 22 minutes of lessons in The Complete Excel Course with AI Integration, and the first working column, days to cancel, is within reach once Lesson 39 is done, so it can go onto a live register in the first sitting. EOMONTH, NETWORKDAYS and the TaskFlow columns follow, then the PivotTable grouping, the Timeline and the Power Query date repair complete the set. Every lesson here runs in Excel on Windows or Mac, since Windows is asked for only by the Power Automate and Power Pivot sections, and neither is on this page. Buy once and the lessons stay yours for every season after, the Certificate of Completion follows when the whole course is done, and the instructor support plan brings written answers from the instructor on your own order file.

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.