The Complete Excel Course with AI Integration

Excel date functions for e-commerce managers

Every order carries dates: placed, dispatched, delivered, returned. Turning them into dispatch times, late orders and monthly totals is where a store's reporting is won or lost. The Complete Excel Course with AI Integration teaches the date functions on industry-standard projects, from which this page gathers date arithmetic with TODAY, working days with NETWORKDAYS, EOMONTH, date conditions in SUMIFS, grouping by month and Power Query dates.

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:

  • Work out the days from order to delivery, the age of stock and a follow-up date with date arithmetic and TODAY, formatted to show a count of days.
  • Count the working days an order took or has left with NETWORKDAYS, and list orders past their dispatch deadline with IF and TODAY.
  • Give every order its month and its month end with MONTH and EOMONTH, and count or total orders between two dates with COUNTIFS and SUMIFS.
  • Show dates the way a report needs them with date and custom number formats, from day-month-year to a month name, and sort orders oldest or newest first.
  • Group a PivotTable's order dates into years, quarters and months, and filter a dashboard by period with a Timeline.
  • Build a real date from its parts with DATE, and let TEXT within LET turn it into a short month label.
  • Repair unreadable dates in Power Query and add year, month, year-month and fiscal year columns to every export.
  • Lay out a launch or promotion plan as a project timeline that shows each task'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 07

    TaskFlow

    One sheet that shows what is done, what is late and what is urgent.

    Built as a team's task tracker, it turns start and due dates into working days planned, working days left and days past due, recalculated every morning by TODAY, beside a timeline of every task against the calendar.

  • Project 06

    PeopleInsight HR workbook

    Employee data joined across sheets with one formula.

    Built on HR data, its date lesson works out the days left to each deadline, the month end each deadline falls in with EOMONTH and the working days between two dates with NETWORKDAYS, on a sheet of its own.

  • Project 05

    SalesPlusPerformance

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

    Built on an order-by-order sales file with a date on every row, it lets a PivotTable group those dates into years, quarters and months by itself, so a monthly sales trend needs no date formula at all.

  • Project 12

    SalesFusion

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

    Built on messy CSV exports, it mends unreadable dates and gives every row its year, month, month start, year-month and fiscal year inside the query, rebuilt for every new file.

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 sales table with a date on every row, it is where the date functions begin: days since each sale, the month of every row, a follow-up date a set number of days on, a live timestamp and a count of sales between two dates.

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 13 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 once simple formulas feel familiar: TODAY, NOW, MONTH and date arithmetic open the core of the path, with the date conditions of Lesson 37 just before them. If date formats or sorting by date are new, take Lesson 6 and Lesson 20 first; someone opening Excel for the first time starts at Lesson 1. Already counting days with formulas? Go to Lesson 74 for EOMONTH and NETWORKDAYS, then Lesson 85 for the late-order pattern.

13 of 186 lessons · 1 h 13 min

01 Microsoft Excel fundamentals: building a foundation from scratch 1 of 13 lessons · 5 min Dates that look like dates: the number formatting lesson applies date formats beside the percentage and money formats of a personal budget, the first step to order dates that read properly.
  1. 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) 1 of 9 lessons · 6 min Sorting by date: oldest to newest or the reverse, after checking the column holds real dates, since a date column that sorts strangely is usually text. The lesson sorts an employee list's hire dates; an order date column sorts the same way.
  1. 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) 3 of 13 lessons · 17 min Date conditions and date functions on the Sales Goal Tracker: COUNTIFS with two conditions on the date column to count a month's sales, the Insert Function dialog for finding any function by purpose, then TODAY minus a date for days since a sale, MONTH and the MMM and MMMM formats for month names, a follow-up date by simple addition, NOW as a live timestamp and an IF that flags one month's sales.
  1. 37 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 Start here 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 PivotTables that group dates by themselves: order dates dropped into Rows become years, quarters and months, and removing a level switches between quarterly, monthly and daily views of net sales.
  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 Deadline arithmetic on a sheet of its own: days until each deadline by subtracting TODAY, EOMONTH for the last day of the deadline's month, and NETWORKDAYS for the working days between a start date and a deadline.
  1. 74 TODAY, EOMONTH and NETWORKDAYS in Excel Date calculations for HR data 5 min
09 Project: task automation with data validation and forms 1 of 9 lessons · 6 min A project timeline built with conditional formatting, in TaskFlow: each task's start and length shown against the dates, with overlaps plain to see, the picture a launch or a sale plan needs.
  1. 83 Gantt chart in Excel Build a project timeline with conditional formatting 6 min
09 Project: task automation with data validation and forms 1 of 9 lessons · 5 min Working days in a live tracker: NETWORKDAYS for the working days each task was planned to take, IF with TODAY for the working days left, and days past due for anything late, all recalculated each day the file is opened.
  1. 85 NETWORKDAYS and TODAY in Excel Days remaining and task deadlines in TaskFlow 5 min
11 MarketPulse campaign intelligence dashboard 1 of 10 lessons · 4 min A Timeline on a dashboard: one date filter linked to every PivotTable through Report Connections and to each chart through Filter Connections, moving between years, quarters, months and days, in the MarketPulse campaign dashboard.
  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 Dates built from parts in FinanceGuard's model: LET with LEFT, MID, DATE and TEXT turns the year and month inside each key into a real date and a month label, in a modern Excel.
  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 1 of 21 lessons · 7 min Date repair in Power Query: placeholders and an impossible date cleared and the Date type set, then columns for the year, the month's name and number, its first day and a year-month label, so orders can be totalled period by period.
  1. 159 Date columns in Power Query Add year, month and year-month fields for reports 7 min
15 SalesFusion: advanced data tools and a Power Query modelling system 1 of 21 lessons · 7 min The same date columns built into the query that reads a whole folder of sales files, set up in Lesson 166, with fiscal year columns added alongside its profit calculations, so every new export arrives with its trading period attached.
  1. 167 From Folder automation in Power Query Profit metrics and fiscal year columns 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.

Can Excel date functions tell an e-commerce manager how fast orders leave the warehouse, which ones are late and how each month's sales compare?

All three come out of the dates already in your order export, and The Complete Excel Course with AI Integration from Coding Liquids teaches the functions that read them on industry-standard projects, designed after talking with people from many different industries. How fast orders leave: subtract the order date from the dispatch date for calendar days (Lesson 39), or let NETWORKDAYS count the working days (Lesson 74). Which are late: TaskFlow's columns of working days left and days past due, made with IF, TODAY and NETWORKDAYS, mark every order beyond its deadline (Lesson 85). How months compare: MONTH and EOMONTH stamp each order with its period, COUNTIFS and SUMIFS with two date conditions total any window (Lesson 37), and a PivotTable groups order dates into months unaided (Lesson 61). Those 13 lessons, 1 hour 13 minutes in all, turn a column of dates into the dispatch and sales figures your week runs on.

Can I measure order-to-delivery days on every row, and the average for a month, with what the course teaches?

Yes, with plain date arithmetic, so no DATEDIF is needed, and The Complete Excel Course with AI Integration teaches every piece. Excel stores a date as a number, which is why one date subtracted from another gives the days between them; Lesson 39 subtracts a sale date from TODAY and switches the result's format to Number so it shows a count of days, not a date. Subtract the order date from the delivery date in the same way and every row carries its delivery time. For a month's average, total those days with SUMIFS and count the orders with COUNTIFS, each with two conditions on the date column for the first and last day of the month, the method Lesson 37 uses to count a month's sales, then divide one by the other. Change the two dates and the same pair of formulas reports any week, month or promotion.

Our promise is dispatch within two working days: how do I count working days instead of calendar days?

With NETWORKDAYS, which The Complete Excel Course with AI Integration teaches twice: on a sheet of deadlines in Lesson 74 and inside the TaskFlow tracker in Lesson 85. It counts the working days between two dates, leaving out weekends, so an order placed on a Friday and dispatched on a Monday counts as a short wait rather than a long one. It includes both the start and the end date, so an order sent the next working day returns two; set your promise against it on that basis, or subtract one. Fill it down the order sheet and a COUNTIFS on the result (Lesson 37) counts how many orders met the promise each week. A promised dispatch date worked forward from the order date would need WORKDAY, which the lessons leave aside; NETWORKDAYS measures the promise once each order has gone.

Which orders are late right now, and by how many days?

Two columns tell you, built the way The Complete Excel Course with AI Integration builds them in TaskFlow (Lesson 85). Working days left uses IF: when TODAY is already past the deadline it shows 0, otherwise NETWORKDAYS counts the working days from TODAY to the deadline. Days past due uses IF the other way round: past the deadline it subtracts the deadline from TODAY, otherwise it leaves the cell blank, so only late orders carry a number. Put your dispatch deadline in place of the task's due date and the sheet lists every late order with its days of delay, ready to sort largest first or to filter. Because TODAY moves on every day, the figures stay current, and the lesson notes that results depend on the day the file is opened. Lesson 87, outside this path, proves the formula is live: push a due date back by one day and the overdue count falls by one.

Can each order be given its month and its month end, so sales total by month without a PivotTable?

Yes, with MONTH and EOMONTH, both taught in The Complete Excel Course with AI Integration. In Lesson 39 MONTH returns each sale's month number, the custom formats MMM and MMMM show a date as Jan or January, and an IF around MONTH flags one month's sales. Lesson 74 uses EOMONTH with zero to return the last day of a date's month, which shows as a serial number until it is given a format. That month-end date makes a clean key: every order in a month shares it, so SUMIFS and COUNTIFS on that column (Lesson 37) total and count each month with one formula per row of a summary table. Unlike a month number, the month end also keeps different years apart, so a summary that spans two peak seasons never mixes them.

How do I count orders or total sales inside a promotion window, between two dates?

With two conditions on the same date column, which The Complete Excel Course with AI Integration teaches in Lesson 37. COUNTIFS and SUMIFS accept the date column twice: once as on or after the first day and once as on or before the last, so only the orders inside the window are counted or added. The lesson counts a month's sales that way, gets zero, and makes the point that a zero can be an insight: no activity in that period. For a promotion, put its first and last days in two cells and point the conditions at them, so the same formula reports any window you type. A rolling view works too: set the start to TODAY minus thirty (Lesson 39 covers TODAY) and the formula always reports the latest month of orders. Add a channel or a product as a third condition and one formula answers a very specific trading question.

The trading report wants net sales by month and by quarter: will a PivotTable group the order dates for me?

Yes: PivotTables group dates by themselves, and The Complete Excel Course with AI Integration shows it on order-level sales data in Lesson 61. Drop the order date into Rows and Excel groups it into years, quarters and months at once; the expand buttons drill from a year down to its days, and removing a level switches the report between quarterly, monthly and daily views. On a dashboard, the MarketPulse Timeline (Lesson 111) offers the same choice as a date filter, moving between years, quarters, months and days, linked to every PivotTable through Report Connections so one click changes the period for the whole dashboard. Formulas still earn their place where the date must become a column of its own, such as the month end of Lesson 74 or the Power Query month columns of Lesson 159, but a quick monthly trend needs none.

My order dates show up as five-digit numbers, or in a style the report does not use: how do I make them read properly?

Change the format, not the date, and The Complete Excel Course with AI Integration shows why that works. Underneath, every date in Excel is a number, which is why one can show up as a serial number until it is formatted: Lesson 74 meets exactly that when EOMONTH returns a number, and fixes it with a format. The same lesson gives dates a custom D-M-YYYY style, Lesson 39 shows a date's month as MMM or MMMM, and Lesson 6 applies the standard date formats; none of these changes the value underneath, so sorting and arithmetic keep working. The reverse happens too: subtract one date from another and the answer may appear as a date, which Lesson 39 switches to Number. If a column refuses every format, its cells hold text rather than dates, the fault Lesson 20 warns about before sorting and Power Query repairs in Lesson 159.

Our trading year starts in a month other than January: can the order reports follow it?

Yes, by giving every order its trading period inside Power Query, which The Complete Excel Course with AI Integration teaches on SalesFusion. Lesson 159 repairs the date column, then builds columns for the year, the month's name and number, the month's first day and a year-month label, the number being what keeps April from sorting ahead of January. Lesson 167 builds fiscal year columns into the query that reads a whole folder of sales files, so every order is labelled with its trading year as well as its calendar year, and each new export receives the same columns at a refresh. A PivotTable or SUMIFS then reports by your trading year as easily as by the calendar one. The query is built once on the course's files, and pointed at your own exports it keeps every step unchanged.

Can I plan a product launch or a seasonal sale as a timeline of tasks against the calendar?

Yes: The Complete Excel Course with AI Integration builds a project timeline with conditional formatting in TaskFlow (Lesson 83), and it suits a launch plan well. The finished timeline shows when each task starts, how long it runs and where tasks overlap, so photography, listings, stock arrival and the campaign can be seen against the dates at a glance. Beside it, NETWORKDAYS gives each task its working days planned and, with TODAY, the working days left and days past due (Lesson 85), so a slipping task shows up as a number as well as on the timeline. TaskFlow was made for project tasks; with your own launch steps in its rows it doubles as a launch or sale planner. When the plan moves, change a date and the timeline and the day counts follow it.

Reference lists name dozens of date functions: which does the course teach, and how do I find the rest?

The Complete Excel Course with AI Integration teaches the ones an online store uses daily, and a way to find any other. On the path: TODAY, NOW and MONTH with date arithmetic (Lesson 39); EOMONTH and NETWORKDAYS (Lesson 74, Lesson 85); DATE and TEXT inside LET (Lesson 117); date conditions in COUNTIFS and SUMIFS (Lesson 37); PivotTable grouping by date and a Timeline (Lesson 61, Lesson 111); and Power Query's date and fiscal year columns (Lesson 159, Lesson 167). For the rest of a reference list, Lesson 38 teaches the Insert Function dialog: search by what you need, see every matching function side by side, and fill in Function Arguments with a live preview. WEEKDAY, WEEKNUM and WORKDAY have no lesson of their own, and that dialog puts them a search away.

Can the stock sheet show how many days each SKU has sat in the warehouse, updated every morning?

Yes: TODAY minus the date stock arrived gives its age in days, and The Complete Excel Course with AI Integration teaches the move in Lesson 39, where TODAY minus a sale date counts the days since the sale, formatted as Number. Fill it down the stock sheet and every SKU carries its age, recalculated each time the file opens, because TODAY moves on with the calendar; the lesson points out that the count changes from day to day. NOW, from the same lesson, adds a live timestamp, so the sheet states when its figures were last worked out. With the ages in a column, COUNTIFS (Lesson 37) counts the SKUs older than a set number of days, and a sort (Lesson 20) puts the slowest movers at the top, the list to clear in the next promotion.

How soon will my dispatch and sales reports run on date formulas?

Within the week you start: The Complete Excel Course with AI Integration reaches date arithmetic, TODAY and MONTH by Lesson 39 and NETWORKDAYS with EOMONTH by Lesson 74, enough for dispatch times and monthly totals on your own order sheet. The late-order columns of TaskFlow and its timeline follow, then the PivotTable grouping and Timeline for monthly trends, DATE and TEXT for labels, and Power Query's date and fiscal year columns to finish. Across 13 lessons and 1 hour 13 minutes, each short lesson has its practice file and a finished version, so a formula has proved itself on the course's data before it reaches your order sheet. Lifelong access means they are there for the next peak season's questions, and the Certificate of Completion arrives with a link any employer can follow to confirm 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.