The Complete Excel Course with AI Integration
Excel date functions for sales teams
Sales runs on dates: how long a deal has been open, when the next follow-up is due, how many selling days are left in the month and how bookings compare with last year. The Complete Excel Course with AI Integration teaches the date functions behind each answer on industry-standard projects, and this page starts from the Sales Goal Tracker's date lessons and goes deeper: working days, month ends, date ranges, PivotTable grouping and Power Query period columns.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Count the days each deal has been open with TODAY and date arithmetic, and label the ones that have gone quiet with IF.
- Set a follow-up date a fixed number of days after each call, and see at a glance which follow-ups have slipped past.
- Give every expected close date the deadline columns TaskFlow uses: working days left with NETWORKDAYS and TODAY, and days past due once the date has gone.
- Find the month's end with EOMONTH and count the selling days left before it with NETWORKDAYS, for a daily target that updates itself.
- Total and count deals between two close dates with SUMIFS and COUNTIFS, for month-to-date bookings or any period you choose.
- Group close dates into years, quarters and months in a PivotTable, and filter a whole dashboard by date with a Timeline.
- Give every sale its year, month, year-month and fiscal year in Power Query, and stack two years of orders for a month-by-month comparison.
- Show dates day first or as month names with custom formats, and put right a date that Excel is reading as text.
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 shows how a deal list can count itself down: working days planned, working days left and days past due, all from TODAY and NETWORKDAYS, with overdue rows highlighted in colour.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
Its order dates group into years, quarters and months inside a PivotTable without a single date formula, so bookings by month or by quarter take one field dragged into place.
-
Project 08
MarketPulse
One screen that shows which campaigns earn back their spend.
Adds the Timeline, a date control that filters every PivotTable and chart on the dashboard by year, quarter, month or day, the same control a sales dashboard needs.
-
Project 12
SalesFusion
A sales report that refreshes itself from a folder of files.
Date work across a whole sales history: text dates and impossible values cleaned, year and month columns added, two years stacked for comparison and fiscal year columns built into the folder query.
-
Project 03
Sales Goal Tracker
Where date arithmetic starts, on a sales table: days since each sale, a follow-up date ten days on, a live timestamp, a Yes or No flag for one month's sales, and COUNTIFS counting the deals inside a date range.
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 37 SUMIFS and COUNTIFS in Excel
Start at Lesson 37 if SUM and simple formulas already feel familiar: SUMIFS and COUNTIFS come first, then the Sales Goal Tracker's date lesson. New to Excel? Begin at Lesson 1, where date formats arrive early in Lesson 6. Already easy with TODAY and date maths? Move on to Lesson 74 for EOMONTH and NETWORKDAYS.
13 of 186 lessons · 1 h 13 min
04 Essential formulas and functions (IF, SUMIF and more) The Sales Goal Tracker's date work: SUMIFS and COUNTIFS with two conditions on the date column for a period's total and count, Insert Function to find any date function by purpose, then TODAY, NOW, MONTH and date arithmetic for days since a sale, follow-up dates, a live timestamp and a flag for one month's sales.
- 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 Order dates grouped by the PivotTable itself into years, quarters, months and days, with levels removed to switch between quarterly and monthly views.
- 61 PivotTable summaries in Excel Sales by product category and grouping by date 4 min
08 Advanced Excel functions: lookups, text and arrays TODAY for the days until a deadline, EOMONTH for the last day of a month, NETWORKDAYS for the working days between two dates, plus a custom day-first format and a date read as text put right.
- 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 colour rules that highlight overdue and completed work, the visual half of any list of deadlines.
- 82 Conditional formatting in Excel Highlight overdue and completed tasks 8 min
09 Project: task automation with data validation and forms Working days planned, working days left and days past due, built from NETWORKDAYS, TODAY and IF: the three columns a list of expected close dates needs.
- 85 NETWORKDAYS and TODAY in Excel Days remaining and task deadlines in TaskFlow 5 min
11 MarketPulse campaign intelligence dashboard A Timeline on the date field, linked to every PivotTable and chart, so one control moves a dashboard between years, quarters, months and days.
- 111 Marketing charts and a timeline in Excel MarketPulse dashboard PivotCharts 4 min
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) A LET formula that reads the year and month out of a text key with LEFT and MID, builds a real date with DATE and labels it with TEXT.
- 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 Dates repaired and enriched in Power Query: n/a and impossible values cleared, the column set to Date, then Year, MonthName, MonthNumber, MonthStart and YearMonth added for reporting.
- 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 A cleaning pipeline reused on the next year's file and the two years appended into one query, the table a year-over-year comparison reads.
- 164 Reuse a Power Query pipeline Duplicate queries for a new year of sales data 5 min
- 165 Append queries in Power Query Combine 2024 and 2025 sales tables 3 min
15 SalesFusion: advanced data tools and a Power Query modelling system Fiscal year columns, with profit metrics, built into the folder query, so every new sales file arrives already carrying its fiscal year.
- 167 From Folder automation in Power Query Profit metrics and fiscal year columns 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.
Deal age, follow-up dates, the days left to hit quota: can Excel date functions keep a sales team on schedule?
Yes. The Complete Excel Course with AI Integration from Coding Liquids teaches the date functions a sales team relies on, inside industry-standard projects designed after talking with people from many different industries: TODAY and date arithmetic for deal age and follow-up dates, NOW for a live timestamp and MONTH for period flags (Lesson 39); EOMONTH for month ends and NETWORKDAYS for working days (Lesson 74); SUMIFS and COUNTIFS with date conditions for bookings in a period (Lesson 37). Then the reporting side: PivotTables that group close dates into months and quarters (Lesson 61), a Timeline that filters a whole dashboard by date (Lesson 111) and Power Query columns for year, month and fiscal year (Lesson 159, Lesson 167). This page gathers 13 lessons, 1 hour 13 minutes in all, each tied to a date question sales managers ask every week.
Can every deal show how many days it has been open, with the stale ones flagged?
Yes, with two formulas The Complete Excel Course with AI Integration teaches on its sales table. Subtract the date a deal was created from TODAY and Excel returns the days in between, because it stores dates as numbers; if the answer shows as a date, switch the cell's format to Number, exactly as Lesson 39 does when it counts the days since each sale. The count moves on by itself every morning. Then IF turns the number into a label: past the cut-off you set, the deal reads Stale, otherwise Active, the same one-condition rule Lesson 29 uses for pass or fail. Filter or sort on the label and the deals that need a nudge are in front of you before the pipeline call. Keep the cut-off in a cell of its own, and tightening it from thirty days to twenty is a single edit.
How long is the average sales cycle, and which formula works it out without DATEDIF?
A subtraction and an average, both taught in The Complete Excel Course with AI Integration, with no DATEDIF needed. Close date minus first-contact date gives each deal's cycle in days, the date arithmetic of Lesson 39, and AVERAGE over that column, met in the very first project (Lesson 14), gives the typical cycle. When weekends should not count, NETWORKDAYS returns the working days between the two dates instead (Lesson 74), a fairer measure of selling time. DATEDIF, which many lists still suggest, is not one of the course's lessons, and for a cycle in days it adds nothing the subtraction does not already give. With cycle length in a column, a PivotTable shows the average by rep or by region once Value Field Settings is switched from Sum, and the deals running far beyond the norm stand out at once.
After every call a follow-up is due: can Excel set the date and show which follow-ups have slipped?
Yes. The Complete Excel Course with AI Integration builds the follow-up date in Lesson 39: the sale's date plus ten gives a date ten days on, and changing the number changes the gap. To show which have slipped, compare each follow-up with TODAY in an IF, so a date already passed reads Overdue and the rest stay blank, the IF and TODAY pairing TaskFlow uses for its deadline columns (Lesson 85). TaskFlow then highlights overdue work in colour across the whole sheet (Lesson 82), and the same treatment on a deal list puts every missed follow-up in colour before the weekly review. Because TODAY moves on each day, a follow-up that was fine yesterday turns overdue by itself this morning, with nobody updating the sheet. A rep opens the file and the day's calls are already listed.
Which deals have slipped past their expected close date, and how many selling days do the rest have?
The Complete Excel Course with AI Integration answers both with the deadline columns of TaskFlow, built in Lesson 85 and ready to copy onto a pipeline. Work Days Left uses IF: once TODAY is past the date it shows 0, otherwise NETWORKDAYS counts the working days from TODAY to the date. Days Past Due does the reverse: past the date, TODAY minus the date gives the days overdue, and before it the cell stays blank, so a blank means on schedule. Put the expected close date where the lesson has its due date and every open deal tells you either how many selling days it has left or how long it has slipped. The test in Lesson 87 proves the formulas are live: move a date on by a day and the overdue count changes by one. Sort by Days Past Due and the deals to chase lead the list.
Quota is monthly: can a formula count the selling days left before month end?
Yes, by putting two functions from Lesson 74 together. EOMONTH returns the last day of a month, so EOMONTH of TODAY with 0 gives this month's end, a boundary that moves forward on its own when the month turns; the lesson meets its result first as a serial number and gives it a format, the slip everyone makes once. NETWORKDAYS counts the working days between two dates, so NETWORKDAYS from TODAY to that month end is the number of selling days left. Divide the gap to quota by it and each rep has a daily target that updates every morning. The lesson builds both on a sheet of tasks, start dates and deadlines; for a sales month the dates change and the formulas stay the same. The Complete Excel Course with AI Integration uses NETWORKDAYS again in TaskFlow (Lesson 85), where it drives every deadline column.
What has the team closed so far this month: can a formula total it without a filter?
Yes: SUMIFS with two conditions on the close date, a pattern The Complete Excel Course with AI Integration teaches in Lesson 37. SUMIFS takes the column to add first and then its conditions, and one column can carry two of them, so close dates on or after the first of the month and on or before TODAY give month-to-date bookings, while COUNTIFS with the same pair returns how many deals that is. The lesson runs exactly that kind of two-condition date count on its sales table, and when the answer comes back as zero, it reads the zero as an insight: no activity in that window. Add a third condition for a region or a rep and the same formula answers for one territory. Because TODAY moves, the total keeps itself current from the first day of the month to the last.
The pipeline report needs bookings by month and by quarter: can a PivotTable do the grouping?
Yes, with no date formula at all. In The Complete Excel Course with AI Integration, putting the order date into a PivotTable's rows makes Excel group it by itself into years, quarters and months, and the expand buttons drill down to single days (Lesson 61). Remove the years level and you have quarters; remove quarters too and the view is monthly, so one PivotTable switches between the cuts a pipeline review asks for. MarketPulse then adds a Timeline, a date control linked to every PivotTable and chart through Report Connections, so a manager slides from a year to one quarter or one month and the whole dashboard follows (Lesson 111). Close dates have to be real dates for any of this to work, which is why the path also covers dates stored as text and how to repair them.
Quota years run on the company's fiscal calendar: will the reports group deals by it?
Yes, through Power Query, where The Complete Excel Course with AI Integration builds fiscal year columns into the sales data itself (Lesson 167). Each row then carries the fiscal year it belongs to beside the calendar Year, MonthName, MonthNumber, MonthStart and YearMonth columns made from its date in Lesson 159, so a PivotTable can group bookings by fiscal year and month without a formula on the sheet. Because the column is a step in the folder query, every sales file dropped into the folder later gets the same treatment at refresh, and quota attainment always lines up with the year finance and sales leadership work to. The month number column matters too: without it, months sort alphabetically, April ahead of January, and any year reads in the wrong order.
For the quarterly business review, can this year's bookings line up against last year's by month?
Yes, once both years sit in one table, and The Complete Excel Course with AI Integration shows how. In SalesFusion each year arrives as its own export: Lesson 164 reuses the whole cleaning pipeline on the second year's file, and Lesson 165 appends the two years into a single query, matching their columns by header, which the lesson notes is what makes a year-over-year comparison possible. With Year and MonthName columns from Lesson 159, a PivotTable puts the months down the side and the years across the top, so each month of this year sits beside the same month of last year. The append leaves both sources untouched, so a figure that looks wrong can be traced back to the year it came from. When the next year closes, the pattern repeats with one more append.
Why does a close date sometimes refuse to calculate, and how do I show every date day first?
Usually because Excel is reading it as text, and The Complete Excel Course with AI Integration teaches both the signs and the fixes. Excel stores real dates as numbers, so an odd result from a date formula nearly always means one of the dates is text; in Lesson 74 an error on the second row is fixed by retyping the dates day first, the order the sheet's format expects. The display is a separate matter: More Number Formats with a Custom type such as D-M-YYYY shows any real date day first, and MMM or MMMM shows only the month's name (Lesson 39), without retyping anything. For an export full of text dates, placeholders and impossible values, Power Query clears them and converts the whole column in one go, and every later export follows the same steps (Lesson 159).
Can the pipeline report carry an as-of time so nobody mistakes yesterday's numbers for today's?
Yes, and The Complete Excel Course with AI Integration shows two ways to stamp it. NOW returns the current date and time and updates whenever the workbook recalculates, a live as-of stamp for a report people work in (Lesson 39). TODAY does the same for the date alone, which is what keeps day counts and overdue flags current. The other side of a live date is that the figures move: the TaskFlow lessons point out that results depend on the day the file is opened (Lesson 85). For a version that must not change once it is sent, such as the month-end pipeline snapshot, copy the sheet and paste it as values, the Paste Special method the course teaches for cleaned text (Lesson 22), and the stamp and every figure stay exactly as they were at that moment.
Can a close date become a short month label for the pipeline summary?
Yes, in three ways from simplest to most advanced, all in The Complete Excel Course with AI Integration. A custom number format of MMM or MMMM shows a full date as its month, so the cell keeps the real date underneath and still sorts and calculates (Lesson 39). MONTH returns the month's number, which the same lesson uses to flag sales made in one month with IF. And in FinanceGuard's model a LET formula reads the year and month out of a text key with LEFT and MID, builds a real date with DATE and turns it into a short month-and-year label with TEXT (Lesson 117), the formula to borrow when a system hands over the period inside a code. In Power Query, MonthName and YearMonth columns do the job for every row at each refresh (Lesson 159).
How long until my own pipeline sheet runs on these date formulas, and on which Excel?
Days, not weeks. The deal-age and follow-up formulas of The Complete Excel Course with AI Integration come in the opening lessons of this path, so a rep can have stale deals flagged on a live pipeline that same afternoon, with selling days left and month-to-date bookings straight after. The full set, from TaskFlow's deadline columns to fiscal year columns in Power Query, takes 1 hour 13 minutes. Version questions are short: TODAY, NOW, MONTH, EOMONTH and NETWORKDAYS are long-established functions that any current Excel runs, on a Mac or a PC, while the LET formula of Lesson 117 is one of the newer functions and wants Excel from Microsoft 365. Windows is never required here, since the course reserves it for Power Pivot and Power Automate and neither appears on this page. With lifetime access, the next date question a quarterly review throws up already has its lesson waiting.
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 sales teams
- XLOOKUP and VLOOKUP for sales
- Pivot tables for sales teams
- Excel charts for sales teams
- Excel dashboards for sales teams
- Conditional formatting for sales
- Data cleaning for sales teams
- Data validation for sales teams
- Excel tables for sales teams
- Text functions for sales teams
- Power Query for sales teams
- Power Pivot and DAX for sales teams
- Excel macros and VBA for sales teams
- Power Automate for sales teams
- Copilot in Excel for sales teams
- ChatGPT for Excel for sales teams
- Claude in Excel for sales teams