The Complete Excel Course with AI Integration

Excel dynamic arrays for FP&A analysts

A variance table should grow when a new cost line appears, re-sort when the figures move and never drop a line nobody budgeted. Dynamic arrays do all three, and The Complete Excel Course with AI Integration teaches them, then writes FinanceGuard, an industry-standard budget vs actual model, with them. This page picks out those lessons: UNIQUE, FILTER, SORT and SORTBY, quick spilled totals and counts, and the model's VSTACK, LET, TEXTSPLIT and SUMIFS.

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 a sorted list of every department, cost centre or account with SORT and UNIQUE, so the rows of a variance table grow by themselves when a new line appears.
  • Stack the keys of a budget table and an actuals table with VSTACK, so spend that was never budgeted still gets a row of its own in the model.
  • Pull one department's lines, or every line that meets two conditions, with FILTER and AND or OR logic, as a live view that changes with the data.
  • Order a variance table by any column with SORT or SORTBY, including a column you never need to display.
  • Name the steps of a long model formula with LET, and split a planning key into period, department and category with TEXTSPLIT.
  • Total one group with SUM wrapped round FILTER, and count distinct entries with COUNTA wrapped round UNIQUE before a model refreshes.
  • Bring budget and actual into each spilled line with SUMIFS, then work variance and percent variance beside them with IFERROR.
  • Recognise why a spill fails, from a formula placed inside a table to a misplaced bracket, and keep dynamic arrays to a modern Excel.

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 is written in dynamic arrays: both tables' keys stacked, de-duplicated and sorted in one spill, so a line that appears only in actuals still gets its row, with LET and TEXTSPLIT naming the period, department and category beside SUMIFS.

  • Project 06

    PeopleInsight HR workbook

    Employee data joined across sheets with one formula.

    Where the dynamic array functions are learned one by one: distinct lists with UNIQUE, filtered sets with AND and OR logic in FILTER, and self-sorting copies with SORT and SORTBY, each spilling beside a table of employee records.

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

    Your first spilled formulas on a sales table: SUM wrapped round FILTER for one region's total and COUNTA round UNIQUE for a count of distinct products, beside COUNT checks that expose a number stored as text.

Lessons

The lessons that matter, in course order.

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

Where to start

Lesson 75 UNIQUE function in Excel

Start at Lesson 75 if SUMIFS and Excel tables are routine for you: UNIQUE, FILTER and SORT come first, then the FinanceGuard model from Lesson 115 puts them to work on budget and actuals. Newer to formulas? Take Lesson 34 for the first spilled formulas and Lesson 37 for SUMIFS, or begin at Lesson 1 if Excel itself is new. Already spilling UNIQUE and FILTER at work? Go straight to Lesson 117, where VSTACK, LET and TEXTSPLIT write the model.

9 of 186 lessons · 45 min

04 Essential formulas and functions (IF, SUMIF and more) 2 of 13 lessons · 11 min The first spilled formulas, on the Sales Goal Tracker: SUM wrapped round FILTER totals one region's quota, COUNT checks that a column really holds numbers, and COUNTA round UNIQUE counts distinct products, the quick completeness checks a planner runs on new actuals before building on them.
  1. 34 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 The core functions, each spilling beside a table of employee records: UNIQUE for distinct lists that update with the source, FILTER with AND and OR conditions for live subsets, and SORT and SORTBY for copies that re-sort themselves, including sorting by a column that is not displayed. They need a modern Excel.
  1. 75 Start here 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) 4 of 10 lessons · 19 min FinanceGuard's model end to end: budget and actuals as named tables, then one spill that stacks, de-duplicates and sorts both tables' keys, LET and TEXTSPLIT to read period, department and category from each key, SUMIFS for budget and actual, and variance and percent variance columns with a status note on every row.
  1. 115 FinanceGuard budget vs actual dashboard Excel project overview 3 min
  2. 116 Excel tables for budget and actual data Organise the FinanceGuard datasets 4 min
  3. 117 Budget vs actual model in Excel SORT, UNIQUE, VSTACK, LET, TEXTSPLIT, SUMIFS 8 min
  4. 118 Budget variance in Excel Calculate variance and percent variance 4 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.

Which Excel course shows FP&A analysts how to model with dynamic arrays?

The Complete Excel Course with AI Integration from Coding Liquids does, and it teaches the functions by modelling with them rather than by listing them. FinanceGuard, an industry-standard project designed after talking with people from many different industries, is a budget vs actual model whose spine is a single spilled formula: the keys of both source tables joined, stripped of repeats and put in order, with each line's period, department and category read out of its key and both figures fetched beside it (Lesson 117), then the gap measured as an amount and as a percentage (Lesson 118). Before that, each function gets a short lesson of its own on a staff dataset, from distinct lists to two-condition filters to copies that keep themselves sorted (Lesson 75 to Lesson 77). This page picks out the 9 lessons involved, 45 minutes in all, with starter and finished workbooks to build from and check against.

Guides for FP&A list FILTER, UNIQUE, SORT, VSTACK, TAKE and SEQUENCE: which of these does the course teach?

Most of the list, and the ones that carry a budget model. The Complete Excel Course with AI Integration teaches UNIQUE, FILTER, SORT and SORTBY as lessons of their own (Lesson 75 to Lesson 77), SUM wrapped round FILTER and COUNTA round UNIQUE as quick totals and counts (Lesson 34 and Lesson 35), and VSTACK, LET and TEXTSPLIT inside the FinanceGuard model (Lesson 117). In FP&A terms: UNIQUE lists the lines a report needs, FILTER carves out one department or every exception, SORT and SORTBY order a table by any column, VSTACK joins two lists so nothing is lost, and LET keeps a long formula readable. TAKE, CHOOSECOLS, HSTACK and SEQUENCE have no lesson of their own; they spill exactly as the taught functions do, so after FinanceGuard each one is a short read in the Function Arguments window that Lesson 38 teaches.

What happens in the FinanceGuard model when a cost line appears in actuals but was never budgeted?

It still gets a row, which is the point of building the line list from both tables. In Lesson 117 of The Complete Excel Course with AI Integration, the model's first column is one formula: VSTACK places the keys of the budget table and the actuals table in a single column, UNIQUE removes the repeats and SORT orders what is left, so a key that exists only in actuals, spend nobody planned, appears in the model like any other. SUMIFS then fetches each key's budget and actual from the two named tables, and for a line with no budget the budget figure is simply zero. Lesson 118 works out variance and percent variance, and IFERROR returns zero instead of an error where a budget is zero, so the unplanned line shows its spend without breaking the column. A model built from the budget's keys alone would have dropped it silently, exactly the kind of gap a variance review exists to catch.

Can FILTER give each budget holder a live view of only their department?

Yes, with one FILTER formula and a cell that names the department. The Complete Excel Course with AI Integration teaches FILTER in Lesson 76: it returns every row of a table that meets a condition, then two conditions joined with an asterisk for AND, then either of two values joined with a plus sign for OR, each result spilling into place and changing when the data does. Point the condition at a cell holding a department name and the view follows whatever that cell says. UNIQUE supplies the list of departments (Lesson 75), and the lesson notes that a distinct list makes a ready source for drop-downs, which Lesson 45 teaches. Put the three together and each budget holder picks a department from a drop-down and sees only their lines, live from the same table that feeds the full model, with no copies to keep in step. The lessons filter employee records; budget lines filter the same way.

Can a formula keep the variance table in order of variance as the figures change?

Yes: SORT re-orders by itself whenever the numbers move. In Lesson 77 of The Complete Excel Course with AI Integration, SORT returns a whole table ordered by a chosen column, SORT round UNIQUE gives a sorted list of distinct entries, and SORTBY orders one range by another range that need not even be displayed, which separates what a reader sees from how the rows are arranged. Applied to a variance table, that means a copy ordered by the variance column or the percent variance column, so the lines that need a sentence in the commentary sit together at one end, and next month's figures re-sort the moment they arrive. The lesson's own contrast is the reason to use it: the filter arrows sort once by hand, while a SORT formula keeps sorting. FinanceGuard already sorts its key list with SORT (Lesson 117), so the habit runs through the whole model.

When a new month of actuals lands, what in the model updates by itself?

The line list and every figure in it. In The Complete Excel Course with AI Integration, the budget and actuals sit in named Excel tables (Lesson 116), and a table takes in rows added at its foot. The spilled formula of Lesson 117 that stacks, de-duplicates and sorts the keys of both tables re-spills as soon as they grow, so a new month's keys join the list without anyone extending a range. Every SUMIFS recalculates, so budget and actual refresh for existing lines, and the variance columns follow. The row formulas beside the keys, the ones that read period, department and category, are filled down in the lesson with a double-click on the fill handle, and the same double-click carries them onto rows the list adds. Compared with a model of hard-typed ranges, the month-end routine shrinks to adding the actuals and checking the result.

Why does FinanceGuard paste its dynamic model as values before building the PivotTables?

Because live formulas and PivotTables do not mix well, and the lesson says so. In Lesson 120 of The Complete Excel Course with AI Integration, the finished model is pasted into a fresh sheet with its key, period, department, category, budget, actual and notes as plain values, made into a table, and only then turned into PivotTables of the total, month, department and category, plus a department by month matrix. The model stays live for working; the pivot workspace reads a stable copy that cannot shift underneath a report. For an FP&A month that split is valuable in itself: the formula model is where you rework numbers as late actuals land, and the values copy is what the pack, its KPI cards, its charts and its slicers are built from. When the month's figures change, paste the values again and Refresh All brings every pivot up to date.

Will a model built on dynamic arrays open properly for colleagues on an older Excel?

On any modern Excel, yes, and the course shows the move for colleagues who are not there yet. FILTER, UNIQUE, SORT, SORTBY, VSTACK, LET and TEXTSPLIT belong to a modern Excel, which The Complete Excel Course with AI Integration says in its overview and points out again where each function appears, so a model built on them is for colleagues on the same kind of Excel. For anyone else, send results rather than formulas: Paste Special values, taught in Lesson 22, turns a spilled output into fixed figures that open anywhere, and FinanceGuard itself builds its pivots from a values copy of the model (Lesson 120). SUMIFS, IFERROR and the variance arithmetic work in older versions as well. Windows is not needed for any lesson on this page, so the model builds the same on a Mac running a modern Excel.

Before the model runs, how do I check that every department's actuals have arrived?

With two quick counts the course teaches before any model is built. In Lesson 35 of The Complete Excel Course with AI Integration, COUNTA wrapped round UNIQUE returns how many distinct values a column holds, the number of products in the lesson's sales table, and the same pair over the department column of a month's actuals tells you how many departments have reported. The lesson's other check guards the figures themselves: COUNT counts only cells holding numbers, so set against the row count or against COUNTA, it exposes a blank or a number stored as text before it reaches a KPI. Lesson 34 adds SUM wrapped round FILTER, a total for one group without a helper column. Run those against the expected list before the model refreshes, and a missing submission or an amount typed as text is caught at the door rather than in the variance commentary.

I put UNIQUE inside the budget table and it returned an error: what is going on?

Dynamic arrays need room to spill, and a table cannot give them that. The Complete Excel Course with AI Integration shows exactly this in Lesson 75: UNIQUE typed in a column inside the employee table returns an error, and the same formula one column outside the table spills the distinct list at once. The lessons cover the other common causes too. In Lesson 76, a FILTER with two conditions breaks over a misplaced bracket, fixed by keeping both conditions inside the function, and the lesson's advice is to read the error instead of panicking. In Lesson 117, the warning is that SUMIFS fails if a table name is off by a single letter, and that table names must be unique, which is why the model renames its tables through a temporary name. Place spills beside the tables, not in them, keep the names exact, and the model behaves.

Is a model written with LET and spilled formulas easier or harder for a finance director to review?

Easier, when it is written the way the course writes it. A copied-down model holds thousands of formulas that can each drift; FinanceGuard's line list is one formula, and every column beside it follows one pattern, so a director checks a column by reading a single cell. In Lesson 117 of The Complete Excel Course with AI Integration, LET gives each step of the period-label formula a name, so a reader follows it like a short list of instructions, and the two source tables carry plain names, BudgetTbl and ActualTbl, that make every SUMIFS read like a sentence. Lesson 118 adds a status note in words beside each variance, from over budget to under budget, so the reviewer sees the judgement as well as the number. Named tables, named steps and words beside figures are what turn a model into something the next person can trust.

Where should the clean-up end and the formulas begin: Power Query or dynamic arrays?

Clean in Power Query, calculate with dynamic arrays, and The Complete Excel Course with AI Integration teaches both ends of that line. Power Query is where a raw export becomes a trustworthy table: text trimmed, symbols removed, data types fixed and a whole folder of monthly files combined, with every step replayed at each refresh (Lesson 157, Lesson 166). Dynamic arrays are where the planning logic lives: FinanceGuard's line list, period labels, budget and actual lookups and variance columns, all in formulas a reviewer can read on the sheet (Lesson 117). Each tool has its own strength: the query makes the same clean-up identical every month, and the formulas keep the planning logic in plain view. Formulas pointed at an export full of text amounts calculate wrong, so let the query hand over clean actuals and let the model do the arithmetic.

How long until I can rebuild my own variance table with dynamic arrays?

About 45 minutes for the 9 lessons on this page, and the first payoff comes well before the end. The Complete Excel Course with AI Integration teaches UNIQUE, FILTER, SORT and SORTBY first (Lesson 75 to Lesson 77), short lessons that are enough to replace a hand-kept list of departments or a manually sorted exceptions table the same afternoon. FinanceGuard's model follows in Lesson 117, the lesson that shows how one spilled key list, LET, TEXTSPLIT and SUMIFS make a budget vs actual table, and Lesson 118 adds the variance columns. Build it alongside the lesson from the starter workbook, compare with the finished one, then point the same pattern at your own budget and actuals tables. With lifetime access, the lessons stay on hand for the day a new reporting line or a second entity needs adding.

Is dynamic-array modelling within reach of a junior analyst still learning SUMIFS?

Yes: the path starts below SUMIFS and climbs one step at a time. The Complete Excel Course with AI Integration opens it with SUM wrapped round FILTER and COUNTA round UNIQUE (Lesson 34 and Lesson 35), short formulas that show what spilling means before anything complex arrives, and SUMIFS itself follows in Lesson 37. The functions then get a lesson each, on a dataset with nothing financial to distract from the formula, and FinanceGuard combines them only once each is familiar. Each project on this path comes with a starter and a finished workbook, so a junior analyst can compare every formula with a working version, and the instructor support plan adds written answers to questions under each lesson for two months from the day it is switched on. Most of the difficulty in dynamic arrays is the first spill; after that, a model like FinanceGuard reads as a sequence of familiar steps.

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.