The Complete Excel Course with AI Integration

Excel dynamic arrays for management accountants

Month after month the same schedules break when a new cost centre, month or category appears, because ranges and sorted lists were fixed by hand. The Complete Excel Course with AI Integration teaches the dynamic arrays that grow with the data, and this page picks out where: FILTER inside SUM, distinct counts, UNIQUE, FILTER, SORT and SORTBY on a real table, and the industry-standard FinanceGuard model built on SORT, UNIQUE, VSTACK, LET and TEXTSPLIT.

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:

  • Spill one sorted list of every key from the budget and actual tables with SORT, UNIQUE and VSTACK, so spend with no budget line still gets its row.
  • Total a cost pool that spans two cost centres or regions in a single formula with SUM and FILTER, where SUMIFS would need two.
  • Count the distinct cost centres, suppliers or products in a period with COUNTA wrapped round UNIQUE.
  • Pull exception lists out of a cost table with FILTER, joining tests with the asterisk for AND and the plus sign for OR.
  • Rank departments or lines with SORT and SORTBY, ordering by a variance column that need not even be shown.
  • Split a combined key into department and category with TEXTSPLIT, and build readable month labels inside LET.
  • Keep a budget vs actual model current: the key list grows by itself, one double-click fills the columns beside it, and the pivots read a fresh copy of the values.

Projects

What you will build.

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

  • Project 09

    FinanceGuard

    The budget vs actual report finance teams send every month.

    Its model sheet is the dynamic-array build in full: one spilled, sorted list of every key from both tables, month labels from LET, departments and categories from TEXTSPLIT, and SUMIFS totals beside each key, ready for variance.

  • Project 06

    PeopleInsight HR workbook

    Employee data joined across sheets with one formula.

    Built on employee records, it is where UNIQUE, FILTER, SORT and SORTBY are first learnt, each spilling beside the table: the same functions that list a ledger's cost centres, pull out exceptions and rank lines by size.

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 sales target tracker in the course, it is where FILTER first appears inside SUM to total one region and UNIQUE inside COUNTA to count distinct products, two moves a cost report uses for pools and active lines.

Lessons

The lessons that matter, in course order.

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

Where to start

Lesson 34 SUM, COUNT and COUNTA in Excel

Start at Lesson 34 if you work in a modern Excel such as Microsoft 365 and already use SUMIFS: FILTER first appears there, inside SUM, with a distinct count straight after. New to Excel? Begin at Lesson 1, where a personal budget teaches the basics. Already spilling UNIQUE and FILTER? Go to Lesson 116, where FinanceGuard's budget and actual tables become a model built on SORT, UNIQUE, VSTACK, LET and TEXTSPLIT.

10 of 186 lessons · 52 min

04 Essential formulas and functions (IF, SUMIF and more) 2 of 13 lessons · 11 min SUM wrapped round FILTER to total one region, and COUNTA wrapped round UNIQUE to count distinct products: the first dynamic arrays, on a sales table, and the two moves behind an either-or pool total and a count of active cost centres.
  1. 34 Start here SUM, COUNT and COUNTA in Excel SUM with FILTER and counting numbers with COUNT 7 min
  2. 35 SUM, COUNT and COUNTA in Excel COUNTA, unique counts and completeness checks 4 min
08 Advanced Excel functions: lookups, text and arrays 3 of 12 lessons · 15 min UNIQUE, FILTER, SORT and SORTBY on an employee table: distinct lists spilled beside the table, filters with AND and OR, and sorting by a column that is not shown, the tools for cost centre lists, exception schedules and rankings.
  1. 75 UNIQUE function in Excel Extract a distinct list with dynamic arrays 6 min
  2. 76 FILTER function in Excel Dynamic array filtering with AND and OR criteria 5 min
  3. 77 SORT and SORTBY in Excel Sort data dynamically with formulas 4 min
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) 5 of 10 lessons · 26 min FinanceGuard's budget and actual tables, then the model built on SORT, UNIQUE, VSTACK, LET, TEXTSPLIT and SUMIFS, variance and percent variance, custom number formats, and the pivot workspace that reads a copy of the model's values.
  1. 116 Excel tables for budget and actual data Organise the FinanceGuard datasets 4 min
  2. 117 Budget vs actual model in Excel SORT, UNIQUE, VSTACK, LET, TEXTSPLIT, SUMIFS 8 min
  3. 118 Budget variance in Excel Calculate variance and percent variance 4 min
  4. 119 Custom number formats in Excel Show budget variances with colours and signs 2 min
  5. 120 PivotTables for budget vs actual The FinanceGuard pivot workspace 8 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.

My variance schedule breaks whenever a cost centre or a month is added: can Excel's dynamic arrays fix that, and where is a management accountant taught them?

Yes, and The Complete Excel Course with AI Integration from Coding Liquids teaches them on a real budget vs actual model, not on a list of functions. UNIQUE, FILTER, SORT and SORTBY are learnt first on a table of employee records, each result spilling beside it and updating when the source changes (Lesson 75 to Lesson 77). FinanceGuard, an industry-standard project designed after talking with people from many different industries, then puts them to work: SORT, UNIQUE and VSTACK spill one sorted list of every key from the budget and actual tables, LET builds the month label, TEXTSPLIT splits out department and category, and SUMIFS fetches both figures (Lesson 117). Earlier still, FILTER sits inside SUM and UNIQUE inside COUNTA (Lesson 34, Lesson 35). SEQUENCE, HSTACK and GROUPBY are not among the lessons; the functions that are carry a variance schedule from end to end. Like every dynamic array, they need a modern Excel such as Microsoft 365.

Spend sometimes lands on a line that was never budgeted: will a dynamic-array model still give it a row?

Yes, and that is one of the strongest reasons to build the model the way FinanceGuard does in The Complete Excel Course with AI Integration. In Lesson 117 VSTACK stacks the key column of the budget table on top of the key column of the actual table, UNIQUE removes the repeats and SORT orders what is left, so the list holds every key found in either table. A line with spend but no budget is in it, and SUMIFS fetches its actual beside a budget of zero; the variance and percent variance of Lesson 118 follow, with IFERROR returning zero for the percentage wherever a budget is nil, so the amount column tells that line's story. A budget nobody spent appears the same way, beside an actual of zero. Built from one table's keys alone, either kind of line would drop out of the report without a sound, which is exactly the omission a review meeting finds first.

When next month's budget and actual rows arrive, what updates by itself and what is left for me to do?

Three steps, and The Complete Excel Course with AI Integration makes each plain in FinanceGuard. First, nothing at all: the SORT, UNIQUE and VSTACK formula of Lesson 117 reads both tables whole, so a new month, department or category joins the key list the moment its lines sit in a table. Second, one double-click on the fill handle carries the label, department, category and SUMIFS formulas down beside the new keys. Third, the PIVOTS sheet of Lesson 120 works from a pasted copy of the model's values, since formulas are fragile under a PivotTable, so paste that copy afresh and press Refresh All (Lesson 65). For a management accountant this is the close of the model itself: a known, short routine with a check at each step, so an absent cost centre is noticed at your desk long before the review meeting asks about it.

How many cost centres, suppliers or products were actually active this month: can one formula count them?

Yes: COUNTA wrapped round UNIQUE counts each distinct value once, and The Complete Excel Course with AI Integration builds it in Lesson 35, where it counts the distinct products in a sales table and Excel's corrected formula is accepted along the way. UNIQUE itself is taught in full in Lesson 75, spilling the distinct statuses, location codes and work arrangements of an employee table as lists that update when the source changes. For one month's activity, the list UNIQUE reads can itself come from FILTER (Lesson 76), so only that period's rows are counted. The count answers questions a management accountant is asked constantly: how many suppliers were used, how many products sold at all, how many cost centres posted spend. The spilled list beside it shows which ones, and because both rebuild with the data, next month's answer arrives with next month's rows.

Can one formula list the lines that are over budget and above our materiality level, or that belong to either of two departments under review?

Yes, with FILTER, and The Complete Excel Course with AI Integration teaches both kinds of test in Lesson 76. FILTER keeps the rows of a table that meet a rule and spills them out as a new list: the lesson filters by one location, then by job level, then by two conditions together, active status and job level five, multiplied with an asterisk so both must hold, and finally by either of two locations, joined with a plus sign so either may. On a variance table the same shapes become over budget times above your materiality figure, or department A plus department B. The lesson also meets the slip everyone makes, a misplaced bracket that throws an error, and fixes it by keeping both conditions inside FILTER. Put a heading above each spill, as the lesson does, and your exceptions schedule rebuilds itself whenever the figures behind it move.

Can the report rank departments by percentage variance while showing only the amounts?

Yes: SORTBY orders a list by a column that need not be displayed, and The Complete Excel Course with AI Integration teaches it in Lesson 77. The lesson sorts a block of employee columns by hire date and makes the point that SORTBY separates what you show from how you sort. On a variance schedule that means the departments and their amounts on the page, ranked by the percentage column, so a small department with a large overrun is not buried beneath a big one with a modest gap. SORT does the simpler job in the same lesson, ordering a whole table by one of its own columns, and wrapped round UNIQUE it gives a sorted list of distinct values. Both re-sort by themselves when the data changes, which the column drop-downs never do, so the ranking in next month's pack needs no work at all once the figures are in.

Our overhead pool spans two cost centres: is SUM with FILTER better than SUMIFS for that total?

SUM with FILTER wins whenever either of two cost centres counts, and The Complete Excel Course with AI Integration teaches both tools so you can choose. SUMIFS needs every condition to hold at once; the Ninja Challenge of Lesson 40 meets its limit when one SUMIF cannot add two customer ratings, so two are added together. FILTER inside SUM removes that limit: Lesson 34 totals one region's quota with SUM wrapped round FILTER, and Lesson 76 shows the plus sign joining two conditions so either may hold. Combined, one formula totals the spend of cost centre A or cost centre B, and a third condition, the month, can be multiplied in. For a single cost centre or a plain AND, SUMIFS (Lesson 37) stays the quicker read for a reviewer. Knowing both, you write each pool's total in the clearest form, and the workings stay a formula rather than a pair of totals added by hand.

Our model's formulas have grown too long for anyone to review: do LET and TEXTSPLIT help?

Yes, both make a formula easier to read and check, and The Complete Excel Course with AI Integration uses them together in FinanceGuard's model (Lesson 117). LET gives names to the pieces of a calculation and then uses the names, so a long formula reads as a short series of steps; in the lesson it holds LEFT, MID, DATE and TEXT, which take the year and month out of each key and return a short month label. TEXTSPLIT breaks a key at its separator into its parts, and INDEX picks the one wanted: position two for the department, position three for the category. Where a key once needed nested FIND and MID to cut out a middle segment, one readable formula now does it, however long each part is. A reviewer can follow a model built this way line by line, which matters when that model carries the monthly variance to the leadership.

Our cost data lives in Excel tables: where do these spilling formulas go, and will they clash?

Beside the table, never inside it, and The Complete Excel Course with AI Integration shows why in Lesson 75. UNIQUE typed into a column of the employee table returns an error; moved one column outside, it spills the distinct statuses without trouble, because a dynamic array needs empty room to spill into and a table cannot give it that. Tables remain the best source: FILTER and SORT read the named table whole (Lesson 76, Lesson 77), so rows added to it flow into every result, and the lessons advise naming tables first. One more trap is taught in the Ninja Challenge of Lesson 78: an @ in a table reference takes only the current row, which breaks a formula that needs the whole column. Kept apart like this, the cost table holds the data and the spilled schedules sit beside it, each rebuilding as the table grows.

Budget holders open our pack in whatever Excel their laptop has: will these spilling formulas still work for them?

Every colleague on Microsoft 365 gets them working exactly as you do, and The Complete Excel Course with AI Integration is built on that Excel: it is recorded in Microsoft 365, and the dynamic array functions need a modern Excel, which the course points out when they appear. For anyone on something older, FinanceGuard shows the safe way to hand figures on: its pivot workspace reads a copy of the model pasted as values (Lesson 120), and Paste Special values (Lesson 22) turns any spilled schedule into plain figures that open the same everywhere. So the model stays live on your machine, where SORT, UNIQUE, VSTACK and FILTER do the work, and a budget holder on an older Excel receives values, a formatted table and a clear note of the period. Where the whole team shares Microsoft 365, the live workbook can travel as it is, every spilled list rebuilding on each machine.

Should the monthly variance schedule be built with formulas or with a PivotTable?

Both, each where it is strongest, and The Complete Excel Course with AI Integration builds FinanceGuard exactly that way. The line-by-line schedule is formulas: a spilled list of keys, SUMIFS for budget and actual, variance and percent variance, a status note per row and custom number formats that put negatives in red brackets (Lesson 117 to Lesson 119). That gives a fixed layout a reviewer can read row by row, with notes beside the numbers. The summaries are PivotTables: the total, by month, by department, by category and a department by month matrix of percent variance (Lesson 120), the views a manager wants to slice. Formulas own the detail and the logic; PivotTables own the angles and, with slicers, the interaction. Knowing both lets you build each part of a management pack in the tool that keeps it simplest to maintain.

Is there a finished FinanceGuard model to set my spilled formulas against when they will not behave?

Yes, and The Complete Excel Course with AI Integration gives you a complete version of each workbook on this page to hold your own against. FinanceGuard's complete file shows the Model sheet of Lesson 117 as it should end: every key from both tables spilled and sorted, labels, departments and categories split out, SUMIFS totals in place and the variance columns beside them. The PeopleInsight HR workbook's complete file shows the UNIQUE lists, the four FILTER results with single, AND and OR tests, and the SORT and SORTBY results (Lesson 75 to Lesson 77), and the Sales Goal Tracker's shows SUM with FILTER and the distinct count. When a spill errors or a total disagrees, open the finished file beside yours and compare formula by formula; the difference is usually one bracket, one table name or one unlocked reference, the very slips the lessons name.

How soon could next month's variance schedule run on dynamic arrays rather than copy and paste?

After about 52 minutes, the 10 lessons picked out here, and The Complete Excel Course with AI Integration orders them so each adds a working piece. FILTER inside SUM and a distinct count come first (Lesson 34, Lesson 35); UNIQUE, FILTER, SORT and SORTBY follow on a real table (Lesson 75 to Lesson 77); then FinanceGuard turns them into a budget vs actual model, with variance, custom formats and its pivot workspace (Lesson 116 to Lesson 120). By the end of the FinanceGuard lessons the pattern for your own schedule is complete: your budget and actual exports as two tables, one spilled list of keys, totals beside it. A modern Excel is the only requirement beyond the lessons themselves. The Certificate of Completion follows the whole course, with a verification link an employer can check, and lifetime access keeps the lessons ready for the next model.

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.