The Complete Excel Course with AI Integration
Excel date functions for treasury analysts
Treasury runs to the day: deposits mature, payments settle, the forecast rolls forward and the liquidity report closes at the month end. The Complete Excel Course with AI Integration teaches the date functions behind each of those on industry-standard projects, and the lessons gathered here are a treasury analyst's own: TODAY and date arithmetic, EOMONTH, NETWORKDAYS, SUMIFS between two dates, PivotTables grouped by month and a TaskFlow calendar of deadlines.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Count the days left to every deposit, loan and investment maturity with TODAY and date subtraction, so each count falls by one every morning with nothing retyped.
- Set the month-end cut-off of a liquidity report with EOMONTH, and total what falls due before it with SUMIFS on two date conditions.
- Build the week columns of a rolling cash forecast with date arithmetic, then total and count the receipts and payments in each week with SUMIFS and COUNTIFS.
- Measure settlement windows and the time left before a payment run in working days with NETWORKDAYS.
- Label every flow with its period through MONTH, a custom format that shows the date itself as a month name, or DATE and TEXT, and summarise cash by month or quarter in a PivotTable grouped by date.
- Keep a treasury calendar on TaskFlow: working days left and days past due on every row, overdue rows highlighted by conditional formatting and the formulas protected from being typed over.
- Lay deposits and facilities out on a timeline that shows each one's start and length against the dates, so bunched maturities stand out.
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 in the course as a project tracker, it carries the live date columns of this path: working days planned and left, days past due, overdue rows picked out and a timeline of starts and lengths, ready to hold a treasury calendar of renewals, confirmations and reporting deadlines.
-
Project 06
PeopleInsight HR workbook
Employee data joined across sheets with one formula.
The course's HR analytics workbook, whose date sheet counts the days to a deadline, finds the last day of its month and counts the working days from a start date to it: the three calculations behind days to maturity, month-end cut-offs and settlement windows.
-
Project 09
FinanceGuard
The budget vs actual report finance teams send every month.
The course's budget vs actual dashboard, whose model writes a month label on every row from its key with DATE and TEXT inside LET, the way a forecast keyed by period gets labels a reader can scan.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
The course's PivotTable report on order-level sales, where a date placed in Rows groups itself into years, quarters and months: flows by period with no date formula, brought up to date by Refresh All.
-
Project 03
Sales Goal Tracker
The course's sales table of dates, regions, amounts and quotas, made for practising conditional totals: here SUMIFS and COUNTIFS learn to read a window of dates, the move behind every forecast week, and TODAY and MONTH meet a real date column.
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 of video. Each lesson keeps its number in the course.
Where to start
Lesson 37 SUMIFS and COUNTIFS in Excel
Open at Lesson 37 if SUMIFS is part of your week already: that is where it learns to read a window of dates, and TODAY, NOW and MONTH arrive soon after in Lesson 39. If those are second nature, skip ahead to Lesson 74 for EOMONTH and NETWORKDAYS, then to TaskFlow, whose starter workbook, layout and drop-downs (Lesson 79 to Lesson 81) deserve a quick pass before its date lessons. Conditional totals still unfamiliar? Work through Lesson 28 to Lesson 36 first; a reader opening Excel for the very first time starts with Lesson 1.
11 of 186 lessons · 1 h
04 Essential formulas and functions (IF, SUMIF and more) SUMIFS and COUNTIFS with several conditions, a pair of dates among them, which is how a forecast week or a month collects its own flows; the Insert Function dialog, searched by purpose, for any date function no lesson covers; then TODAY, NOW, MONTH and adding days to a date. The lessons use a sales table with a date on every row.
- 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 A PivotTable that groups a date column into years, quarters and months by itself, with levels removed to switch between quarterly, monthly and daily views: cash by period without a formula. The lesson works on order data.
- 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 side by side on a short list of tasks: the days left to a date, the last day of its month and the working days between two dates, which a treasury desk reads as days to maturity, the month-end cut-off and a settlement window.
- 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 rules that highlight overdue and completed tasks, and its timeline of every task's start and length against the dates, the picture of a maturity profile once deals take the tasks' place.
- 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 building working days planned, working days left and days past due on every row; sheet protection that stops a formula being typed over; and a test that adds a row and proves the date columns recalculate as the dates move.
- 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
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) FinanceGuard's model, where DATE and TEXT inside LET turn each key's year and month into a month label beside SORT, UNIQUE and SUMIFS. It sets budget against actual; a forecast keyed by week or month is labelled the same way, in a modern Excel.
- 117 Budget vs actual model in Excel SORT, UNIQUE, VSTACK, LET, TEXTSPLIT, SUMIFS 8 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.
Treasury analysts rely on EOMONTH, NETWORKDAYS and TODAY: can I learn those and the rest of a cash desk's date work from this Excel course?
Yes, all three, and in The Complete Excel Course with AI Integration from Coding Liquids they arrive with the formulas that put them to work, on industry-standard projects that were designed after talking with people from many different industries. TODAY with plain date subtraction counts the days to a maturity (Lesson 39). EOMONTH finds the last day of any month, the cut-off of a month-end report, and NETWORKDAYS counts the working days between two dates (Lesson 74). SUMIFS with a pair of date conditions totals whatever falls inside a forecast week (Lesson 37), and a custom format shows any date as its month name, ready for a report laid out month by month. The 11 lessons picked out here take 1 hour and finish inside TaskFlow, where working days left and days past due run live on every row (Lesson 85). You type every formula yourself on the course's files, with the finished workbooks to compare against, so the method moves straight onto your own deposit and payment schedules.
Will the days to maturity on every deposit and loan recount themselves each morning?
Yes: a formula that sets the maturity date against TODAY gives a new count each day the file is opened, and The Complete Excel Course with AI Integration builds exactly that. Lesson 39 subtracts a sale's date from TODAY and switches the result to the Number format, the fix for a day count that turns up looking like a date; Lesson 74 turns the subtraction round, a deadline minus TODAY, for the days still to run. NOW sits beside it as a stamp that moves with each recalculation, an as-at time for the morning position. Then Lesson 87 proves the habit treasury depends on: with a due date one day later, the past-due count drops by one, showing the column calculates rather than holding a copied figure. Put the same formula against your maturity column and the days to every repayment or rollover are never typed again.
The liquidity report closes at each month end: how does EOMONTH keep the cut-off right?
It returns the last day of the month for any date inside it, so a cut-off is never typed by hand. The Complete Excel Course with AI Integration teaches EOMONTH in Lesson 74, turning each deadline into the end of its month and showing the result as a month number through a custom format, which also explains the serial number it returns at first. For treasury, EOMONTH of TODAY gives the current month's close. Set against a maturity column in SUMIFS with two conditions on the date (Lesson 37), it totals everything falling due before the month end, and COUNTIFS counts the deals behind that figure. The function's second argument, zero in the lesson, moves the boundary by whole months, so last month's close or next month's comes from the same formula. The cut-off lives in one cell, and every total on the report follows it.
Can a thirteen-week cash forecast set its own week columns and total each week's receipts and payments?
Yes, by joining two things The Complete Excel Course with AI Integration teaches separately: date arithmetic and SUMIFS over a window of dates. Lesson 39 adds days to a date, a follow-up ten days after a sale, and the same addition, seven days onto the header before, builds a row of week-start dates that rolls forward the moment the first one changes. Lesson 37 teaches SUMIFS with several conditions, two dates among them, so each column totals the flows dated on or after its week start and before the next one, and COUNTIFS beside it counts the payments in each week, a quick check that none was missed. The lessons count sales inside one month; read for treasury, the same grid becomes the weekly forecast, and the week a large outflow lands is visible before it arrives.
Settlement and value dates run on working days: can Excel count them?
Yes: give NETWORKDAYS a start and an end and it returns the working days between them, a function The Complete Excel Course with AI Integration teaches in two places. Lesson 74 sets it beside TODAY and EOMONTH on a short list of tasks, and Lesson 85 puts it to work in TaskFlow as the working days planned for each task and the working days left before its due date, with an IF that returns zero once that date has passed. On a treasury desk the two dates might be the trade date and the value date, or today and the next payment run, so one column shows how many working days a settlement takes and another how many remain before cash must be in place. Moving a date forward by a set number of working days is a job for WORKDAY, which no lesson covers; the Insert Function search of Lesson 38, by purpose, finds it in seconds.
Interest accrues for every day a deposit is out: how do I count those days without DATEDIF?
Subtract the start date from the end date: Excel holds dates as numbers, so the difference is the number of days, and The Complete Excel Course with AI Integration builds on that from Lesson 39. The same lesson shows what to do when a subtraction comes back dressed as a date (set the cell to Number), and Lesson 74 counts down to a deadline the same way. For an accrual at the month end, the end date is EOMONTH of that month, so the days run from placement to the close; the day count basis your agreement names then turns them into a fraction of a year in your own formula. DATEDIF, which some lists still suggest, is neither taught nor needed for a count of days, and YEARFRAC has no lesson of its own. A plain subtraction stays readable in the cell, which is what a reviewer checking an accrual wants to see.
A deposit goes out for a set number of days or months: can Excel give its maturity date?
Yes: add the tenor to the placement date, the step The Complete Excel Course with AI Integration teaches in Lesson 39 with a follow-up date ten days after a sale. Seven-day, thirty-day and ninety-day placements all work that way, and the maturity moves by itself if the placement date is corrected. For a tenor that ends on a month end, EOMONTH (Lesson 74) lands on the last day of the month a chosen number of months ahead. A maturity on the same day of a later month belongs to EDATE, which no lesson teaches, and one falling on a weekend needs the rolling convention your agreement sets; the Insert Function dialog of Lesson 38, searched by what you need, finds EDATE and walks you through its arguments. Each maturity date then feeds the days-to-maturity column and the month-end totals that the other lessons on this page build.
Board packs show cash by month and by quarter: how does each flow get its period?
Three ways, and The Complete Excel Course with AI Integration teaches all of them. MONTH returns the month of any date, and a custom format of MMM or MMMM shows the date itself as a month name without changing the value underneath (Lesson 39). In FinanceGuard, Lesson 117 goes further: DATE and TEXT inside LET read the year and month out of each row's key and write a month label, the pattern for a forecast whose lines carry a period code. When the flows need only totals, a PivotTable does the grouping: put the date in Rows and Lesson 61 shows Excel group it into years, quarters and months, and taking a level away moves the table between a quarterly, a monthly and a daily view. The lessons use sales and budget data; receipts and payments carry dates in just the same way, and the board sees one set of periods throughout.
Can maturities be sorted into time bands for a maturity ladder?
Yes: days to maturity gives the number, and a labelling formula sets each one in its band. In The Complete Excel Course with AI Integration the count comes from TODAY and date subtraction (Lesson 39), and IFS, taught in Lesson 32 on sales labels, tests its thresholds in order and returns the first that fits, so a deal maturing within a week, a month or a quarter takes its band. SUMIFS and COUNTIFS (Lesson 37) then total and count each band, or a PivotTable does it with the band in Rows. Because every count rests on TODAY, the ladder moves on by itself: a deposit slides from one band to the next as its maturity nears, with nobody re-cutting the list. The bands and what they feed, a liquidity gap or a funding plan, are your treasury policy; the formulas that keep them current come from the course.
A bank statement carries a booking date and a value date: which should the cash position use, and can Excel handle both?
Both can sit side by side, with the choice set by your treasury policy and the formulas following it. The Complete Excel Course with AI Integration teaches the tools that make either date usable: SUMIFS totals by whichever date column you point it at, so one formula gives the position by value date, its twin gives it by booking date, and the gap between them shows what is still in transit (Lesson 37). A bank file that brings its dates in as text breaks every subtraction and total; Lesson 74 notes that an odd result usually means a date read as text, and the Power Query date lesson of the SalesFusion project (Lesson 159) clears placeholders and impossible dates out of a column and sets a true date type before a formula touches it. Real dates in both columns are what let the morning position and the month-end report agree.
Facility renewals, bank confirmations for the auditors, the month-end pack: can one sheet count down to every treasury deadline?
Yes: TaskFlow is built in The Complete Excel Course with AI Integration as a project tracker, and its date columns serve a treasury calendar unchanged. Lesson 85 adds working days planned, working days left and days past due to every row with NETWORKDAYS, TODAY and IF, so a renewal three weeks away and a confirmation two days late read differently at a glance. Lesson 82 adds rules that highlight overdue and completed rows, Lesson 86 protects the sheet so a colleague cannot type over a formula, and Lesson 87 tests the tracker by adding a row and checking that its dates and colours behave. Replace the tasks with mandate updates, KYC refreshes and renewals, and every row counts down without anyone working out a day by hand.
Can Excel show every deposit and facility on a timeline from start to maturity?
Yes: The Complete Excel Course with AI Integration builds a timeline in TaskFlow that shows each task's start and its length against the dates, and a deposit or a facility is described by exactly those two facts. Lesson 83, titled Gantt chart in Excel, has you build a project timeline with conditional formatting, and the finished timeline shows where tasks overlap across the calendar. Read for treasury, each line becomes a placement from its value date to its maturity, or a facility from signing to expiry, and the picture answers a question a table hides: where maturities bunch together and where the desk has little cover. The lesson uses project tasks; a deal's start date and length fill the same two columns. Set beside the ladder of totals by band, it gives the treasury committee the maturity profile at a glance.
Month end leaves little spare time: how long do these lessons take, and will they work in the Excel already on my laptop?
About 1 hour, and nearly all of it runs on whatever Excel your laptop holds, Windows or Mac. The Complete Excel Course with AI Integration keeps the date lessons short: TODAY, NOW and MONTH are covered together in Lesson 39, EOMONTH and NETWORKDAYS in Lesson 74, and TaskFlow's date columns are finished by Lesson 87. Nothing on this page touches Power Pivot or Power Automate, the only tools the course asks Windows for. The one formula that asks for a modern Excel such as Microsoft 365 is FinanceGuard's model in Lesson 117, built from dynamic arrays like SORT, UNIQUE and VSTACK. Taken a lesson a morning, the path fits between one month end and the next, and lifetime access keeps every lesson there for the day a new schedule needs a formula you have not used for a while.
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 treasury
- XLOOKUP and VLOOKUP for treasury
- Pivot tables for treasury
- Excel charts for treasury
- Excel dashboards for treasury
- Conditional formatting for treasury
- Data cleaning for treasury
- Data validation for treasury
- Excel tables for treasury
- Text functions for treasury
- Dynamic arrays for treasury
- Power Query for treasury
- Power Pivot and DAX for treasury
- Macros and VBA for treasury
- Power Automate for treasury
- Copilot in Excel for treasury
- ChatGPT for Excel for treasury
- Claude in Excel for treasury
Date functions for other jobs
- Date functions for financial controllers
- Date functions for credit controllers
- Date functions for AP clerks
- Date functions for financial planners
- Date functions for credit analysts
- Date functions for underwriters
- Date functions for claims handlers
- Date functions for reconciliations
- Date functions for every job