The Complete Excel Course with AI Integration

Excel formulas for treasury analysts

For treasury analysts who rebuild the morning cash position, the maturity list and the limit checks by hand. The Complete Excel Course with AI Integration turns each into formulas on industry-standard projects, and the lessons gathered here follow a treasury day's order: references and errors, IF tests and bands, SUMIFS and COUNTIFS, maturity dates from EOMONTH and NETWORKDAYS, the FinanceGuard model for forecast against cleared flows, and XIRR with FV for rates.

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:

  • Total the day's cash per bank, per account and per value date with SUMIFS, and count payments above an approval level with COUNTIFS.
  • Prove the morning file is complete before the position goes out, setting COUNT beside COUNTA to catch a balance that arrived as text and counting balances against the accounts expected.
  • Grade every balance as within limit, close to limit or in breach with nested IF or IFS, and add a second condition with AND or OR.
  • Show days to maturity, month-end dates and the working days between trade and maturity using TODAY, EOMONTH and NETWORKDAYS.
  • Apply one FX or interest rate down a whole column with a locked reference, and express every bank's slice of total cash as a percentage.
  • Set a cash forecast against cleared flows in a SUMIFS model, read its variance and percent variance row by row, and colour each gap with a custom number format.
  • Project a deposit or placement forward with FV, after converting the XIRR a model assumes into its monthly rate.
  • Keep raw error codes out of the morning report with IFERROR, and know which errors to fix at the source instead.

Projects

What you will build.

The course has 14 industry-standard projects. These four matter most here.

  • Project 09

    FinanceGuard

    The budget vs actual report finance teams send every month.

    Built as a budget variance analyser, it hands treasury the formula model for a forecast check: one spilled list of keys, SUMIFS for both figures, a signed gap and its percentage on every row, and formats that colour them.

  • Project 10

    WealthFlow

    A retirement plan that shows how long the money lasts.

    Built as a personal retirement simulator, it lends a treasury desk its rate arithmetic: XIRR as the assumed annual return, the monthly rate drawn from it and FV formulas that carry a balance forward.

  • Project 01

    Personal Budget Tracker

    Your first workbook: where the money goes each month.

    Built as a household budget, it is where references, shares of a total and IFERROR are first practised, the ground every SUMIFS and limit test on this page stands on.

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

    A tracker of sales against quota in the course, it is where this page's formulas are first written in earnest: IF and IFS labels, AND and OR flags, SUMIF to COUNTIFS summaries and date arithmetic, each the shape of a treasury test, by bank, by day and against a limit.

Lessons

The lessons that matter, in course order.

The Complete Excel Course with AI Integration has 186 lessons. This page picks out 25 of them, 2 h 14 min of video. Each lesson keeps its number in the course.

Where to start

Lesson 30 IF function practice in Excel

Start at Lesson 30 if totals and formatting are already daily work: the Sales Goal Tracker opens there, and the limit tests, SUMIFS and the date formulas follow in the order a treasury morning uses them. Unsure when a reference should be locked? Take Lesson 10 first, since every rate applied down a column relies on it. Excel itself still unfamiliar? The course begins at Lesson 1, well before this path, and builds up to it. Writing SUMIFS without a second thought? Go straight to Lesson 74 for maturity dates, or to Lesson 117 for the forecast model.

25 of 186 lessons · 2 h 14 min

01 Microsoft Excel fundamentals: building a foundation from scratch 5 of 13 lessons · 19 min The arithmetic every cash sheet stands on: formulas built from cell references, SUM, AutoSum and MAX, a rate cell locked with F4 so one figure serves a whole column, each line shown as a share of a total, and the common errors made on purpose and handled with IFERROR. The workbook is a personal budget; a bank sheet takes the same habits.
  1. 8 Basic maths in Excel Add, subtract, multiply and divide with formulas 3 min
  2. 9 SUM and AutoSum in Excel Total income, expenses and savings with MAX 6 min
  3. 10 Relative vs absolute references in Excel Dollar signs and mixed references 3 min
  4. 11 Calculating percentages in Excel Each expense as a percentage of income 2 min
  5. 12 Common Excel errors and how to fix them DIV0, NAME, VALUE errors and IFERROR 4 min
04 Essential formulas and functions (IF, SUMIF and more) 13 lessons · 1 h 17 min Decisions and conditional totals, start to finish. TRUE and FALSE comparisons and a first IF come on a practice sheet of students' marks; from Lesson 30 the Sales Goal Tracker takes over, with IF labels, nested IF and IFS bands, AND and OR flags, SUM, COUNT and COUNTA checks, SUMIF and SUMIFS beside COUNTIF and COUNTIFS, the Insert Function dialog, TODAY, NOW, MONTH and date arithmetic, and a Ninja Challenge. For treasury these become limit bands, completeness checks, cash by bank and day, and days to a date.
  1. 28 Logical functions in Excel TRUE and FALSE comparisons for beginners 5 min
  2. 29 The IF function in Excel Pass or fail results with a single condition 3 min
  3. 30 Start here IF function practice in Excel Categorise sales data with IF formulas 6 min
  4. 31 Nested IF and IFS in Excel Customer value tiers with nested IF 6 min
  5. 32 Nested IF and IFS in Excel Sales performance labels with the IFS function 5 min
  6. 33 AND and OR with IF in Excel Flag high-value deals with multiple conditions 8 min
  7. 34 SUM, COUNT and COUNTA in Excel SUM with FILTER and counting numbers with COUNT 7 min
  8. 35 SUM, COUNT and COUNTA in Excel COUNTA, unique counts and completeness checks 4 min
  9. 36 SUMIF and COUNTIF in Excel Conditional sum and count with one criterion 8 min
  10. 37 SUMIFS and COUNTIFS in Excel Sum and count with multiple criteria 7 min
  11. 38 The Excel function library Insert Function dialog and Formula AutoComplete 5 min
  12. 39 Date and time functions in Excel TODAY, NOW, MONTH and date arithmetic 6 min
  13. 40 Excel Ninja Challenge COUNTIF, SUMIF, IF, COUNTIFS, SUMIFS and IFS practice 8 min
08 Advanced Excel functions: lookups, text and arrays 1 of 12 lessons · 5 min Three date functions on a small sheet of tasks and deadlines: days left to a date with TODAY, the last day of a date's month with EOMONTH, and the working days between two dates with NETWORKDAYS. Put maturity dates where the deadlines stand and the sheet becomes a maturity list.
  1. 74 TODAY, EOMONTH and NETWORKDAYS in Excel Date calculations for HR data 5 min
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) 3 of 10 lessons · 14 min FinanceGuard's model in formulas: SORT, UNIQUE and VSTACK spill one list of keys from two tables, LET and TEXTSPLIT read each key's parts, SUMIFS brings in both figures, then the variance columns with IFERROR, a status note from a nested IF, and custom number formats for signs and colours. Built on budgets and spending, the model reads straight across to a cash forecast and the flows that cleared.
  1. 117 Budget vs actual model in Excel SORT, UNIQUE, VSTACK, LET, TEXTSPLIT, SUMIFS 8 min
  2. 118 Budget variance in Excel Calculate variance and percent variance 4 min
  3. 119 Custom number formats in Excel Show budget variances with colours and signs 2 min
13 WealthFlow investment and retirement simulator 3 of 11 lessons · 19 min Rate arithmetic from WealthFlow: typed input assumptions, XIRR taken as the annual return across the months invested, a monthly rate derived from that annual figure, a stepped-up table whose FV formulas project the balance year by year, then values deflated for inflation and a running total whose range starts at a locked cell. The plan modelled is a personal one; a deposit projected forward, or a balance kept running down a statement, uses the same formulas.
  1. 127 WealthFlow SIP model in Excel Input assumptions, XIRR and monthly rate 6 min
  2. 128 WealthFlow SIP model in Excel Step-up SIP table and FV formulas 6 min
  3. 129 WealthFlow SIP model in Excel Real portfolio value, inflation and charts 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.

Is there one set of Excel formulas that covers a treasury analyst's cash, maturity and limit work?

Yes, and The Complete Excel Course with AI Integration from Coding Liquids covers the whole set in one path. The set is smaller than the long finance lists suggest: SUMIFS and COUNTIFS turn statement lines into the position per bank, per account and per day; nested IF and IFS, with AND and OR, grade each balance against its limit; COUNT and COUNTA prove the file is complete; TODAY, EOMONTH and NETWORKDAYS run the maturity dates; a locked reference applies one rate down a column; and XIRR with FV projects a placement forward. The 25 lessons on this page, 2 hours 14 minutes of video, teach them on the Sales Goal Tracker, FinanceGuard and WealthFlow, industry-standard projects designed after talking with people from many different industries, each with a starter file to build in and a finished one to check against. A function list names the formulas; this path has you write each one until it is second nature.

Can SUMIFS build the morning cash position by bank, account and value date?

Yes, and it is the formula a treasury sheet leans on hardest. The Complete Excel Course with AI Integration builds it in two steps: SUMIF totals the rows that meet one condition (Lesson 36), then SUMIFS takes the sum range first and stacks as many criteria ranges as the question needs (Lesson 37). Give it the bank, the account and the value date, and one formula fills one cell of the position; copied across a grid of banks and days with the right parts locked, the whole morning sheet calculates from the statement lines. Lesson 36 also shows the fault that matters most on a cash sheet: when the sum range and the criteria range cover different rows, the logic looks right and the total comes out quietly short, so a figure that looks off is traced before it goes upstairs. The lessons total sales by region and product; bank lines total the same way.

Can a formula work out how much each account needs topping up to reach its minimum balance?

Yes: IF can return a calculation as easily as a label, and The Complete Excel Course with AI Integration gives you every piece of this one. In Lesson 29 IF tests one condition and returns one value when it holds and another when it does not; give it the test of a balance below its minimum, the minimum less the balance as the true result and zero as the false one, and the column shows each account's top-up. MAX from Lesson 9 offers a shorter route, the larger of zero and the shortfall, which reads the same on every row. A SUM at the foot then gives the day's total funding need, the figure the funding call starts from. If one minimum applies to every account, lock that cell with F4 as Lesson 10 shows; if each account has its own, it sits in the next column and the formula fills down unchanged. The lessons test marks against a pass mark; a balance against its minimum is the same test.

Can a formula warn me when a counterparty balance is getting close to its limit, not only when it breaks it?

Yes: a nested IF adds the middle band, and The Complete Excel Course with AI Integration builds exactly that shape. In Lesson 31 a deal above its quota is Achieved, one at nine tenths of quota or more is Near Target and the rest Underperformed; set the counterparty limit where the quota stands and the same test returns in breach, close to limit or within limit, so the warning arrives while there is still room to act. Lesson 32 writes such tiers with IFS, testing conditions in order without layers of brackets, with TRUE at the end to catch everything else. Lesson 33 adds AND and OR, so a flag can demand two things at once, such as a balance near its limit with a counterparty already on watch, and the not-equal sign leaves out the one bank a rule should skip. The labels then feed COUNTIF, so the morning note can say how many balances sit in each band.

When a treasury task needs a function the lessons never name, such as an average daily balance, how will I find and write it?

Through the function library, which The Complete Excel Course with AI Integration teaches as a skill of its own in Lesson 38. Search the Insert Function dialog by purpose rather than by name: the lesson's search for average turns up AVERAGE, AVERAGEIF and AVERAGEIFS together, and AVERAGEIFS takes its conditions in the same order as the SUMIFS you already know, so an average balance by bank and month is one formula away. The Function Arguments window then lays out each argument with a live preview, so the brackets, commas and order look after themselves, which matters on a figure going to the treasurer. Formula AutoComplete offers the names as you type. The lesson sets this against asking an AI for a formula: the dialog shows every variant side by side, so you pick the most efficient one yourself. Every function the course does teach becomes a template for the ones it does not.

Our statement holds one signed amount column: can formulas total receipts and payments separately for each bank?

Yes, by letting the sign do the sorting, and The Complete Excel Course with AI Integration teaches every piece. Lesson 36 writes a condition such as greater than a figure inside quotation marks, so SUMIF with greater than zero totals the receipts and less than zero the payments, straight from the one column. Lesson 37 adds the bank as a second condition with SUMIFS, so a small grid of banks against receipts and payments fills from two formulas copied down. Where a label reads better than a sign, Lesson 30 shows IF writing one word or another from a test, Receipt or Payment, down a table column, and the totals can then run on the label. COUNTIFS does the same for the number of lines on each side. The lessons test sales against quota and a threshold; a sign is simply a threshold set at zero, and the same formulas read it without help.

Lists for treasury name XNPV, PMT and IPMT: which finance functions does the course cover?

XIRR and FV, inside a working rate model, and The Complete Excel Course with AI Integration teaches them where a treasury analyst needs them most: projecting a balance forward. In WealthFlow, Lesson 127 sets out the input assumptions, takes XIRR as the annual return across the months invested and works out a monthly rate from it, and Lesson 128 builds a table whose FV formulas show the balance growing as the yearly amount steps up. The FV function first appears earlier, in the budget project's growth calculator (Lesson 18), and Lesson 130 turns a return and an inflation rate into a real rate. For money placed on deposit, those are the core moves: one rate, one period, one projected figure. XNPV, PMT and IPMT have no lesson, so discounting and loan schedules sit outside this path; the section models a personal plan and says itself that it is not financial advice.

My rate sits in one cell, yet the formula is right in the first row and wrong below it: what fixes that?

A locked reference, which The Complete Excel Course with AI Integration teaches early because one unlocked cell spoils a whole column. In Lesson 10 every amount is multiplied by a rate held in one cell; filled down unlocked, the reference to the rate moves with each row, exactly the symptom of a column that is right at the top and wrong beneath. F4 fixes the rate cell while the amount's row stays free, and pressed again it gives the mixed forms, the column locked and the row free or the reverse, which a grid of balances by bank and day needs when one formula is copied both ways. Lesson 11 uses the same lock to divide each expense by a single income total, the formula behind every bank's percentage of the day's cash. Point the method at one FX rate and a column of foreign balances, or one interest rate and a list of deposits, and nothing changes.

Can a formula keep a running balance down the statement as each line posts?

Yes: a SUM whose range starts at a locked cell and ends at a free one, and The Complete Excel Course with AI Integration builds exactly that in Lesson 129. WealthFlow's cumulative column adds every contribution from the first row to the current one, and as the formula fills down, the locked start stays put while the free end moves a row at a time, so each row shows the total so far. Put the opening balance above the first statement line, point the same pattern at the amount column, and every line shows the balance after it posts; the last row is the closing balance, ready to be checked against the bank's own figure. The locking itself is the subject of Lesson 10, where F4 cycles through the locked, mixed and relative forms, and a running total is the clearest everyday use of it. The same WealthFlow lesson then charts its running figures as lines, a quick picture of a balance across the period.

What keeps #DIV/0! and #VALUE! out of the morning cash report?

Knowing where each error comes from, and The Complete Excel Course with AI Integration produces each of them deliberately so you know it on sight. Lesson 12 divides by zero, calls a function Excel cannot read and does arithmetic on text, then wraps the division in IFERROR so a readable message replaces the raw code. The lesson's point is the one a treasury report needs: IFERROR manages an error rather than hiding it, keeping the calculation while changing only what the reader sees. On a cash sheet the usual causes are a percentage of a zero forecast, which IFERROR covers cleanly, as the FinanceGuard variance column does on every row (Lesson 118), and a balance that arrived as text, which setting COUNT beside COUNTA exposes (Lesson 35) and which is corrected at the source rather than covered up. A report free of raw error codes is one a treasurer reads without stopping.

Can I count the large payments, or total one bank's receipts, without building a PivotTable?

Yes, with COUNTIF, COUNTIFS and SUMIFS, which The Complete Excel Course with AI Integration teaches as one-formula answers to one business question each. Lesson 36 counts the rows over a threshold, the condition written inside quotation marks, which is the same test that counts payments above an approval level. Lesson 37 stacks conditions, so one formula counts one bank's receipts above a set amount or totals one entity's outflows in a date window, with no helper columns. The lesson's own date test returns zero for one month and reads the zero as a finding, no activity in that period, a habit that suits treasury, where a quiet week from a large customer is news. The Ninja Challenge in Lesson 40 then sets a run of such questions to answer alone before the solution file opens. A PivotTable suits browsing; these formulas suit the fixed figures a daily report repeats.

My SUMIFS totals leave out the statement lines pasted below the old range: why, and what fixes it for good?

The SUMIFS still points at a fixed range, and a table column fixes it for good, which is why The Complete Excel Course with AI Integration builds its formulas on Excel tables. Lesson 34 totals a whole column through its structured reference, the table's own name for that column, and the lesson's point is that such a total stays connected as rows are added beneath. Give every SUMIFS and COUNTIFS on your cash sheet ranges of that kind, and tomorrow's statement lines, pasted under today's, fall inside them the moment the table grows to take them in. A typed range ending at a fixed row has no such reach: the line below it simply drops out of the total, one of the quietest errors a cash sheet can carry. The Sales Goal Tracker works as a table from Lesson 30, where formulas in a table column also fill themselves down, so the habit is set before the first SUMIFS is written.

Restricted accounts must stay out of available cash: can SUMIFS leave them out?

Yes: one more condition does it, and The Complete Excel Course with AI Integration covers each part of the formula. SUMIFS stacks as many conditions as the question needs (Lesson 37), and a condition can exclude as easily as include: the not-equal sign, which Lesson 33 uses to leave one region out of a performance flag, goes inside quotation marks with the word Restricted, as Lesson 36 writes its thresholds, and every pledged or blocked account drops out of the total while the bank and entity conditions stay as they were. Keep a status column on the account list, brought onto each statement line by lookup, and available cash, total cash and the restricted amount become three SUMIFS that always reconcile: the first plus the third equals the second. That cross-check earns a line in the morning report, since a status changed on one account moves two figures at once.

I only use SUM and simple totals today: can I keep up with this path?

Yes, because the path starts at your level and adds one idea at a time. The Complete Excel Course with AI Integration opens this page's run with formulas built from cell references (Lesson 8), then SUM, AutoSum and MAX (Lesson 9), so the first new step is small; locked references, percentages and errors follow, and IF is met on a practice sheet of students' marks (Lesson 28 and Lesson 29) before the Sales Goal Tracker asks more of it. Each lesson is short and ends with something working, and each project has a finished file to compare against. If a step stops making sense, the instructor support plan has the instructor answer you in writing through the inbox under each lesson, and Ask AI replies at once from that lesson's own material. Someone who has never opened Excel can go back to Lesson 1, where the course starts from the very first spreadsheet.

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.