The Complete Excel Course with AI Integration
Excel date functions for accounts payable clerks
An invoice on the payables desk is a set of dates: issued, received, due and paid. The Complete Excel Course with AI Integration hands each one to a formula on industry-standard projects, and this page picks out the date lessons in the order a payables week uses them: dates that display properly, a locked run date, TODAY and terms, date windows in SUMIFS, months grouped in a PivotTable, EOMONTH, NETWORKDAYS and TaskFlow's live deadline columns.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Turn an invoice date and its terms into a due date with date arithmetic, and start end-of-month terms from the month end that EOMONTH returns.
- Give every invoice its age from the invoice date and its days past due from the due date with TODAY, the second kept blank by IF until the date has passed.
- Hold the payment run date or the month-end cut-off in one locked cell, so every age, flag and total in the register answers to the same date.
- Count the working days left before the next payment run, or the working days an invoice has waited for approval, with NETWORKDAYS.
- Total and count what falls due this week, next week or this month with SUMIFS and COUNTIFS, two conditions on one due date column.
- Group a year of due dates or payment dates into months in a PivotTable, for the cash each month needs and the outflow each month made.
- Band unpaid invoices by days past due with IFS, colour the overdue rows with a formula rule, and prove the date columns recalculate by moving one date.
- Show dates the way your reports need them with the Date format and codes such as MMM, and widen a column that shows only hashes.
Projects
What you will build.
The course has 14 industry-standard projects. These four matter most here.
-
Project 06
PeopleInsight HR workbook
Employee data joined across sheets with one formula.
Beyond its lookups, this HR workbook keeps a small sheet of deadlines where TODAY counts the days still to run, EOMONTH returns the last day of each deadline's month and NETWORKDAYS counts the working days in between: the three questions every supplier invoice raises about its due date.
-
Project 07
TaskFlow
One sheet that shows what is done, what is late and what is urgent.
Built to track a team's tasks, its date columns model a payables register: working days planned and left from NETWORKDAYS, days past due from TODAY inside IF, a formula rule that puts late rows in colour, a protected sheet, and a test row that moves one date to prove every other column follows.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
Built on order-level sales, its PivotTables group order dates into years, quarters and months by themselves; put due dates or payment dates in the same place and the cash each coming month needs, or the outflow each past month made, appears without a date formula.
-
Project 03
Sales Goal Tracker
A sales tracker in the course, built on dated deals measured against quota: its date lesson subtracts a sale date from TODAY, reads the month out of a date and sets a date ten days ahead, and its COUNTIFS fences one month with two tests on the date column. Put an invoice date where the sale date stood and each formula becomes a payables column: invoice age, invoice month, invoices received this month.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 17 of them, 1 h 31 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 if invoices already sit in your Excel with their dates: TODAY and date arithmetic are where ages and due dates begin, and the path carries on to EOMONTH, NETWORKDAYS and TaskFlow's live columns. Dates showing as hashes or stray numbers? Take Lesson 6 and Lesson 7 first, plus Lesson 10 if a locked cell is new to you. Never opened Excel before? The course itself starts at Lesson 1. Writing TODAY and EOMONTH every week already? Go straight to Lesson 82, where TaskFlow colours what is overdue and counts the working days.
17 of 186 lessons · 1 h 31 min
01 Microsoft Excel fundamentals: building a foundation from scratch Dates that read correctly before any formula touches them: the Date format and the short date shortcut, then AutoFit for a date column too narrow to show anything but hashes. The lessons format a personal budget; the invoice date and due date columns of a register take the same steps.
- 6 Number formatting in Excel Currency, date and percentage formats for a budget 5 min
- 7 Cell formatting in Excel AutoFit column width, the #### error and cell styles 6 min
01 Microsoft Excel fundamentals: building a foundation from scratch One locked cell for the date everything is measured against: F4 fixes a reference so a column filled down the sheet reads the same cell on every row, which is how a payment run date or a month-end cut-off is typed once and used by every formula. The lesson locks a budget's rate.
- 10 Relative vs absolute references in Excel Dollar signs and mixed references 3 min
04 Essential formulas and functions (IF, SUMIF and more) The date logic of a register, practised on a sales table: IFS for age bands, AND and OR for an invoice that is both due and approved, SUM with FILTER for one total, COUNT against COUNTA to expose dates held as text, SUMIF and COUNTIF with one condition, SUMIFS and COUNTIFS with two tests on a single date column to fence a window, the Insert Function search, and TODAY, NOW, MONTH and date arithmetic for ages and due dates.
- 32 Nested IF and IFS in Excel Sales performance labels with the IFS function 5 min
- 33 AND and OR with IF in Excel Flag high-value deals with multiple conditions 8 min
- 34 SUM, COUNT and COUNTA in Excel SUM with FILTER and counting numbers with COUNT 7 min
- 35 SUM, COUNT and COUNTA in Excel COUNTA, unique counts and completeness checks 4 min
- 36 SUMIF and COUNTIF in Excel Conditional sum and count with one criterion 8 min
- 37 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 Start here Date and time functions in Excel TODAY, NOW, MONTH and date arithmetic 6 min
07 PivotTables and PivotCharts: data analysis made easy Date grouping in a PivotTable: an order date placed in Rows groups itself into years, quarters and months, and removing a level switches the view. The lesson summarises sales orders; due dates and payment dates group the same way for a month-by-month view of what is owed and what was paid.
- 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 sheet of deadlines: the days still to run to each date, the last day of the month it falls in, and the working days between two dates, with the warning that an odd result usually means Excel is reading a date as text.
- 74 TODAY, EOMONTH and NETWORKDAYS in Excel Date calculations for HR data 5 min
09 Project: task automation with data validation and forms Formula rules that highlight overdue and completed tasks, each with its column locked so every row tests its own cell: the method that puts every late invoice in colour before the payment run is drawn up.
- 82 Conditional formatting in Excel Highlight overdue and completed tasks 8 min
09 Project: task automation with data validation and forms TaskFlow's live date columns: working days planned and left with NETWORKDAYS, days past due with TODAY inside IF and a blank while a task is within its deadline, then a protected sheet so nobody types over a formula, and a stress test in which a due date moved by one day moves days past due by one.
- 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
Instructors
Who teaches it.
Instructor, Excel with AI
Virginia Thorn
Emmy Award winner. Teaches Excel with AI at Coding Liquids.
Questions
Asked before starting.
Which Excel date functions does an accounts payable clerk need to turn invoice dates and terms into due dates, ages and a payment run, and where are they taught?
The Complete Excel Course with AI Integration from Coding Liquids teaches the full set, each function worked into projects that are industry standard, designed after talking with people from many different industries. Plain arithmetic turns an invoice date plus its terms into a due date, and EOMONTH handles terms that run from the month end (Lesson 39, Lesson 74). TODAY makes that due date a live count of days late, held blank by IF until the date passes, and IFS sorts the late invoices into age bands (Lesson 85, Lesson 32). NETWORKDAYS measures the working days to the next payment run, SUMIFS and COUNTIFS fence a window of due dates, and a PivotTable rolls them up into months. The 17 lessons picked out here run to 1 hour 31 minutes of video. Every formula is yours to build against a finished workbook, ready to move onto your own invoice register that same week.
Terms read net 30, net 60 or 30 days end of month: can one due date column cope with every supplier?
Yes, with two date methods and one IF to choose between them, all taught in The Complete Excel Course with AI Integration. Plain terms are arithmetic: Excel stores a date as a number, so the invoice date plus the days in a terms column gives the due date, the same addition Lesson 39 uses to set a date ten days ahead. Month-end terms start counting from the last day of the invoice month, which EOMONTH returns (Lesson 74), so 30 days end of month is that month end plus 30. Add a column marking each supplier's terms as days or end of month, and an IF (Lesson 29) or IFS (Lesson 32) picks the right calculation on every row. EDATE, which shifts a date by whole months, has no lesson of its own; for payables terms the two methods above cover the ground, and a supplier who changes terms needs one cell edited.
Should an invoice's age count from its invoice date or from its due date, and can the register show both?
Both, because they answer different questions, and The Complete Excel Course with AI Integration teaches the formula behind each. Age from the invoice date says how long a supplier has waited: TODAY minus the invoice date, the subtraction Lesson 39 switches from a date format to Number so it reads as a count of days. Days past due says how late the payment is: TODAY minus the due date, written the way TaskFlow writes it in Lesson 85, inside an IF that returns a blank while the invoice is still within terms. An aged creditors report bands by one of them, and IFS does the banding in a single formula (Lesson 32), checking the oldest band first because IFS stops at the first test that comes out true. With both columns side by side, a supplier chasing payment and a manager asking what is overdue get their answers from the same row.
Our payment run is every Thursday: can formulas show which invoices fall due before the next run, and what they come to?
Yes: type the run date once and every formula measures against it. The Complete Excel Course with AI Integration locks a single cell with F4 in Lesson 10, so a column filled down the register reads that one date on every row. A comparison of each due date with it, inside IF with AND (Lesson 33), returns Pay for an invoice that is due by the run and approved, and Hold for the rest. SUMIFS with a condition on the due date (Lesson 37) totals the run and COUNTIFS counts its invoices, both moving the moment next week's date replaces this week's. NETWORKDAYS from TODAY to the run date (Lesson 74) says how many working days remain to chase the missing approvals. The lessons flag high-value deals and count sales; the payment run uses the same logic, with the run date as the one cell that changes each week.
Invoices sit with approvers for days: can Excel show how many working days each one has waited?
Yes, and it keeps counting until the approval arrives. The Complete Excel Course with AI Integration teaches NETWORKDAYS in Lesson 74 as the count of working days between two dates, leaving out weekends, and TaskFlow puts it to work with TODAY as one of the two dates (Lesson 85). On an invoice register that becomes NETWORKDAYS from the received date to TODAY, wrapped in an IF that shows a blank once the approval column is filled. A formula rule (Lesson 82) then colours any invoice that has waited longer than your approval target, and COUNTIFS (Lesson 37) counts the waiting invoices by approver, which turns the Monday chase into a list with names and numbers on it. Because TODAY moves on by itself, nobody updates the waiting time by hand, and an invoice that has sat for a week shows up long before its supplier calls.
Goods arrived before the month end but the invoice came after: can dates show which month each invoice belongs to?
Yes: set the receipt date against the month end and a formula sorts every invoice into its period. The Complete Excel Course with AI Integration returns the last day of any month with EOMONTH (Lesson 74), so the cut-off never depends on remembering how many days a month has. An IF with AND (Lesson 33) flags each invoice whose goods arrived on or before that date while the invoice itself is dated after it, the lines finance asks about at every close. MONTH (Lesson 39) labels the period an invoice falls in, and SUMIFS with two conditions on one date column (Lesson 37) totals the flagged lines for the month. Posting the accrual stays in your finance system; Excel hands over the list and the figure, worked out the same way every month, which is what makes the cut-off easy to defend when someone asks how it was decided.
What falls due this week, next week and later: can SUMIFS give me the cash each coming payment run needs?
Yes: a date window inside SUMIFS answers each of those, and The Complete Excel Course with AI Integration teaches the pattern in Lesson 37. Two conditions on the same date column, on or after the first day and on or before the last, fence off a period, and the lesson's answer of zero for an empty month is a reminder that a blank window is information too. Build the boundaries from TODAY with date arithmetic (Lesson 39), seven and fourteen days ahead, and three formulas give this week's total, next week's and everything later, with COUNTIFS beside them for the number of invoices. For the months beyond, a PivotTable groups due dates into months by itself (Lesson 61) and Refresh takes in invoices added since (Lesson 65). Whoever plans the cash gets the same figures every morning, without a calendar or a calculator.
Are suppliers paid inside their terms? Can Excel measure the days from invoice to payment without DATEDIF?
Yes: subtraction measures it, and The Complete Excel Course with AI Integration builds everything else around that. Excel holds dates as numbers, so the payment date minus the invoice date gives the days taken to pay, the arithmetic of Lesson 39, and the payment date minus the due date says how early or late the money went. An IF (Lesson 29) labels each payment On time or Late, COUNTIFS (Lesson 37) counts the late ones by supplier, and a PivotTable's Value Field Settings (Lesson 60) turns the days column into an average per supplier. NETWORKDAYS (Lesson 74) gives the same gap in working days where your terms count them. DATEDIF, which counts in whole months or years, is not taught and is not needed here: a plain day count is easier to read and to check. A supplier who complains about late payment can then be answered with figures.
A supplier changes its terms: should the due date formula read them from the supplier list or from the invoice line?
From the invoice line once the invoice is booked, and The Complete Excel Course with AI Integration teaches every piece of that design. XLOOKUP (Lesson 69) brings a supplier's current terms from the supplier list onto a new invoice row, and date arithmetic (Lesson 39) or EOMONTH (Lesson 74) turns them into a due date. If every row kept reading the list, a change of terms would quietly move the due dates of invoices already received under the old ones, and last month's aged report would stop agreeing with itself. So the lookup fills the terms when the invoice is keyed, Paste Special values (Lesson 22) fixes them on that row, and the due date formula reads the row. New invoices pick up the new terms while old ones keep the terms they were raised on, so every due date stays traceable to the invoice it came from.
A keyed invoice date lands in next year or years back: can a formula catch an impossible date before it skews the ageing?
Yes: two comparisons inside one IF catch both kinds of slip, and The Complete Excel Course with AI Integration teaches the parts. OR (Lesson 33) needs just one of its tests to be true, so an IF asking whether the invoice date is later than TODAY or earlier than a cut-off you set returns Check on any line keyed with the wrong year. A formula rule (Lesson 82) colours those lines, and COUNTIFS (Lesson 37) counts them, so a register that should show zero shows the number to fix. COUNT set against COUNTA on the date column (Lesson 34, Lesson 35) finds the other fault, a date Excel holds as text, which no ageing formula can use. Caught at entry, a wrong date never becomes a wrong payment run, or an invoice that looks ninety days late on the day it arrives.
Before the aged creditors report goes to the finance manager, how can I prove its date columns are recalculating?
Move one date and watch the rest follow, the test The Complete Excel Course with AI Integration runs on TaskFlow in Lesson 87: a due date set one day later makes days past due drop by exactly one, proof that the column calculates rather than holding a pasted figure. Formulas built on TODAY change every day the file opens (Lesson 39), so a report meant to stand as at the month end reads a typed cut-off date in a locked cell instead (Lesson 10). NOW, from the same lesson, stamps a working copy with the moment it was last calculated, useful on a payment run printout. Then protect the sheet (Lesson 86): almost every cell is locked by default, and the lock takes effect once the sheet is protected, so colleagues key invoices into the open columns without overwriting the date formulas beside them.
None of the practice files is an invoice register: how do the date lessons carry over to payables?
Column for column, because a date formula never asks what the row describes. In The Complete Excel Course with AI Integration the Sales Goal Tracker subtracts a sale date from TODAY (Lesson 39); give the same formula an invoice date and it returns the invoice's age. TaskFlow, built to track a team's tasks, counts working days left and days past due against each deadline (Lesson 85); point those columns at due dates and they become the countdown to payment and the measure of lateness. The EOMONTH on the PeopleInsight date sheet (Lesson 74) gives the month end that end-of-month terms count from, and the PivotTable that groups order dates by month (Lesson 61) groups due dates the same way. Each project comes with a starter and a finished workbook, so every formula is checked against a working answer before you rebuild it on your own register.
How much of this path stands between me and a payment run sheet that dates itself, and will it run on a Mac?
About 1 hour 31 minutes of lessons, and the first working column arrives within minutes. The Complete Excel Course with AI Integration reaches TODAY and date arithmetic in Lesson 39, so invoice ages and due dates can run on your register after one short lesson; the date windows of Lesson 37 sit just before it, and EOMONTH and NETWORKDAYS follow in Lesson 74. TaskFlow then shows the whole set working together in a tracker you build from a starter file. A Mac runs every lesson here: the requirements name Windows only for Power Pivot and Power Automate, and neither is on this page, though the keyboard shortcuts shown are the Windows ones. SUM with FILTER needs a current Excel such as Microsoft 365, which the course is recorded in. Lifetime access keeps the lessons open for the next change of terms, and finishing the course earns a Certificate of Completion an employer can verify.
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 accounts payable clerks
- Lookups for accounts payable clerks
- PivotTables for accounts payable clerks
- Excel charts for accounts payable clerks
- Dashboards for accounts payable clerks
- Conditional formatting for AP clerks
- Data cleaning for AP clerks
- Data validation for AP clerks
- Tables, sort and filter for AP clerks
- Text functions for AP clerks
- Dynamic arrays for AP clerks
- Power Query for AP clerks
- Power Pivot and DAX for AP clerks
- Macros and VBA for AP clerks
- Power Automate for AP clerks
- Copilot for AP clerks
- ChatGPT for AP clerks
- Claude in Excel for AP clerks
Date functions for other jobs
- Date functions for bookkeepers
- Date functions for FP&A analysts
- Date functions for auditors
- Date functions for banking professionals
- Date functions in management accounting
- Date functions for financial controllers
- Date functions for credit controllers
- Date functions for claims handlers
- Date functions for every job