The Complete Excel Course with AI Integration
Excel dynamic arrays for data analysts
Analysts rebuild the same views all week: the distinct list behind a drop-down, the filtered extract for one region, the ranking that went stale the moment new rows arrived. The Complete Excel Course with AI Integration replaces those copies with formulas that spill and update themselves, on industry-standard projects, and this page picks out where: array logic inside SUM and COUNTA, UNIQUE, FILTER, SORT and SORTBY on an HR table, and a model built on VSTACK, LET and TEXTSPLIT.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Pull a distinct list out of any column with UNIQUE, ready to feed a drop-down, a summary or a check of which values a field really holds.
- Count distinct values with COUNTA wrapped round UNIQUE, and total only the rows that pass a test with SUM wrapped round FILTER, with no helper column.
- Return every record that meets a set of conditions with FILTER, joining them as AND with an asterisk and as OR with a plus sign.
- Keep an ordered view live with SORT and SORTBY, including a sort by a column the result never shows.
- Merge the keys of two tables into one sorted list with nothing repeated using SORT, UNIQUE and VSTACK, and split each key into its parts with TEXTSPLIT.
- Name the steps of a long formula with LET, so a model's logic reads in order from the first step to the result.
- Build a model whose key list maintains itself, with SUMIFS bringing budget and actual figures beside each key and variance and percent variance on every row.
- Diagnose the faults spilled formulas throw: no room to spill inside a table, a bracket out of place in FILTER and an @ that shrinks a whole column to a single row.
Projects
What you will build.
The course has 14 industry-standard projects. These three matter most here.
-
Project 06
PeopleInsight HR workbook
Employee data joined across sheets with one formula.
Where each spilling function first works on real records: distinct statuses, locations and work arrangements from UNIQUE, staff lists cut four ways by FILTER, a sorted copy of the table and of its job titles from SORT, and a hire-date ordering from SORTBY.
-
Project 09
FinanceGuard
The budget vs actual report finance teams send every month.
A model built on spills instead of copied rows: SORT, UNIQUE and VSTACK merge the keys of two tables, LET and TEXTSPLIT read each key apart and SUMIFS fills in the figures, so the key list rebuilds itself whenever either table gains a line.
-
Project 03
Sales Goal Tracker
The first taste of array logic on a sales table: SUM wrapped round FILTER totals one region's quota and COUNTA wrapped round UNIQUE counts the distinct products, both inside the summary blocks beside the data.
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 SUMIF and COUNTIF are already familiar: FILTER and UNIQUE first appear there inside SUM and COUNTA, and the HR lessons that follow give each function its own lesson. New to Excel? Begin at Lesson 1, and take Excel tables from Lesson 19 before this path. Already filtering and sorting with formulas? Go straight to Lesson 116 for the FinanceGuard model built on VSTACK, LET and TEXTSPLIT.
10 of 186 lessons · 52 min
04 Essential formulas and functions (IF, SUMIF and more) Array logic inside familiar functions: SUM wrapped round FILTER totals one region's quota in a single formula, COUNT exposes a blank or a number stored as text in a column meant to be numeric, and COUNTA wrapped round UNIQUE counts distinct products, with the warning that selecting a column from its header counts the header too.
- 34 Start here 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
08 Advanced Excel functions: lookups, text and arrays The core spilling functions on an HR table: UNIQUE for distinct statuses, locations and work arrangements, placed outside the table because a spill needs room; FILTER with AND written as an asterisk and OR as a plus sign; SORT for a whole table and a sorted list of distinct job titles, SORTBY by hire date; then a lookup challenge in which a stray @ breaks a formula that needs the whole column. Every spilling function here needs a modern Excel, and the course flags each one as it appears.
- 75 UNIQUE function in Excel Extract a distinct list with dynamic arrays 6 min
- 76 FILTER function in Excel Dynamic array filtering with AND and OR criteria 5 min
- 77 SORT and SORTBY in Excel Sort data dynamically with formulas 4 min
- 78 Excel Ninja Challenge XLOOKUP, totals and text concatenation lookup challenge 3 min
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) A model that spills: budget and actual data set up as named tables, SORT, UNIQUE and VSTACK producing one sorted list of every key from both, LET and TEXTSPLIT reading each key's period, department and category, SUMIFS bringing in the figures, then variance and percent variance with a status note on every row.
- 116 Excel tables for budget and actual data Organise the FinanceGuard datasets 4 min
- 117 Budget vs actual model in Excel SORT, UNIQUE, VSTACK, LET, TEXTSPLIT, SUMIFS 8 min
- 118 Budget variance in Excel Calculate variance and percent variance 4 min
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) From spilled model to report: the model pasted as values into a fresh table, because formulas are fragile under a PivotTable, then five PivotTables on one sheet covering the total, the months, the departments, the categories and a department-by-month matrix.
- 120 PivotTables for budget vs actual The FinanceGuard pivot workspace 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.
Where do data analysts learn FILTER, UNIQUE and the other dynamic arrays properly?
In The Complete Excel Course with AI Integration from Coding Liquids, where spilled formulas carry real analysis inside industry-standard projects, each one designed after talking with people from many different industries. This path runs to 10 lessons and 52 minutes, and array logic starts small there, as FILTER inside a SUM and UNIQUE inside a COUNTA, before a run of HR lessons gives it room: distinct lists, views cut with AND and OR, and orderings that refresh themselves the instant the records change. The payoff is FinanceGuard, a budget vs actual model whose key list is a single formula: VSTACK joins two tables' keys, UNIQUE and SORT tidy them, LET and TEXTSPLIT take each key apart, and SUMIFS lines up the figures. Starter and finished workbooks come with every project, so each spill you write can be checked against a working answer and then pointed at your own extracts.
FILTER, UNIQUE, SORT, VSTACK, TAKE: how much of the dynamic array family is covered?
The functions an analyst reaches for every week, each on a real dataset in The Complete Excel Course with AI Integration. FILTER returns the rows that meet your conditions (Lesson 76) and first appears inside SUM to total one region (Lesson 34). UNIQUE lists distinct values (Lesson 75) and, wrapped in COUNTA, counts them (Lesson 35). SORT orders a table or a list, and SORTBY orders it by a column you need not show (Lesson 77). VSTACK stacks ranges into one array, LET names the steps of a long formula and TEXTSPLIT breaks a text key into its parts, all three working together in FinanceGuard's model (Lesson 117). TAKE, DROP, HSTACK, SEQUENCE and RANDARRAY are not taught by name; they follow the same spill rules the lessons drill, so each one is a short step once these are second nature.
Can I nest dynamic arrays, such as a sorted list of distinct values?
Yes, and The Complete Excel Course with AI Integration nests them from the start, because that is where most of their power lies. SUM wrapped round FILTER totals only the rows that pass a test, such as one region's quota (Lesson 34), and COUNTA wrapped round UNIQUE turns a distinct list into a distinct count (Lesson 35). SORT wrapped round UNIQUE gives an alphabetical list of every job title without a duplicate (Lesson 77). FinanceGuard goes three deep: SORT, UNIQUE and VSTACK together merge the keys of two tables into one sorted list with nothing repeated, and INDEX wrapped round TEXTSPLIT picks one part out of each key (Lesson 117). LET keeps a formula of that depth readable by naming its steps. The same pattern carries straight over to FILTER inside UNIQUE, for the distinct values that meet a condition.
Can FILTER replace the filter button for the views I rebuild every week?
Yes: FILTER does by formula what the filter button does by hand, and its result stays live. In The Complete Excel Course with AI Integration the HR table is filtered four ways in Lesson 76: one location, one job level, active staff at that level with AND written as an asterisk, and two locations at once with OR written as a plus sign, each spilled under its own heading. Change the source and every view changes with it, which a filtered copy pasted elsewhere never does. The lesson also meets the commonest fault, a bracket out of place when two conditions are combined, and fixes it by keeping both conditions inside FILTER. For comparison, Lesson 21 teaches the filter button itself, still the quickest tool for a one-off look; FILTER is for the view a report or a colleague depends on, which then never needs rebuilding.
Can a formula give a distinct count, or show every value a field really holds?
Yes, both, and they are the first checks an analyst runs on a new extract. The Complete Excel Course with AI Integration counts distinct values with COUNTA wrapped round UNIQUE, returning the number of different products in a sales table (Lesson 35), and lists them with UNIQUE alone, spilling the statuses, location codes and work arrangements an HR table actually holds (Lesson 75). A list like that exposes a stray category before it splits a total, and it can feed a drop-down so new entries match it. The same sales lesson supplies the companion checks: COUNT exposes a blank or a number stored as text in a column that must be numeric, and COUNTA measures completeness, with the warning that selecting a column from its header counts the header as a row. Together they profile a field in a few formulas, before any PivotTable is built on it.
Can SORT and SORTBY keep a ranking up to date without re-sorting by hand?
Yes: a sorted spill re-sorts itself whenever the data changes, which is the whole point. In Lesson 77, The Complete Excel Course with AI Integration sorts the entire HR table A to Z by first name with one SORT formula, wraps SORT round UNIQUE for an alphabetical list of distinct job titles, and uses SORTBY to order staff by hire date, a column the result does not even need to show, which separates what you display from how you sort. The drop-down arrows on a column sort by hand and stay sorted only until the next change; the formula never goes stale. Sort by a measure in descending order and the same function gives a live ranking for a leaderboard or a list of top sellers. TAKE, which would cut such a ranking to its first rows, is not taught by name.
What does a model built on spilled formulas look like in practice?
Like FinanceGuard's Model sheet, which The Complete Excel Course with AI Integration builds in Lesson 117. Budget and actual data sit in two named tables (Lesson 116). One formula, SORT round UNIQUE round VSTACK, stacks the key column of both tables, removes the repeats and sorts what is left, so every key from either side appears exactly once. LET then reads the year and month out of each key and labels the period, INDEX with TEXTSPLIT pulls out the department and the category, and SUMIFS brings in the budget and actual figures for each key. Lesson 118 adds variance and percent variance with a status note on every row. Change a table and the list of keys rebuilds itself. The lesson also shows a trap worth knowing: SUMIFS fails if a table name is even one letter off, so the names are worth checking before anything else.
What are the usual traps when spilled formulas meet Excel tables?
Three come up again and again, and The Complete Excel Course with AI Integration lets you hit each one on screen. A spill needs empty cells to land in, so UNIQUE typed inside a table fails and works the moment it moves to a column outside it (Lesson 75). The @ sign in a structured reference means this row only, which suits a formula filled down a table but breaks a lookup that needs the whole column, as the challenge in Lesson 78 shows when removing it clears the error. And combining conditions in FILTER invites a misplaced bracket, fixed by keeping both conditions inside the function (Lesson 76). Smaller surprises follow: hire dates that spill as plain numbers until they are given a date format (Lesson 77), and table names that must match exactly for SUMIFS to find them (Lesson 117).
Spilled lists or a PivotTable: which suits an ad hoc question better?
A PivotTable for exploring, a spilled formula for anything other cells must read, and The Complete Excel Course with AI Integration teaches both so you can choose. A PivotTable answers a new question by drag and drop, groups dates by itself and takes slicers (Lesson 60 to Lesson 62), but it does not update until someone presses Refresh (Lesson 65). A spill recalculates on its own the moment its source changes, sits in ordinary cells that other formulas, charts and drop-downs can point at, and can feed a model, as FinanceGuard's does. The two also work together: FinanceGuard pastes its finished model as values into a table and builds five PivotTables on it (Lesson 120), because formulas are fragile under a PivotTable. So the habit worth keeping is to explore in a PivotTable, then turn the view you will reuse into a formula.
When should VSTACK do the stacking, and when should Power Query?
VSTACK for ranges that already live in your workbook, Power Query for files that arrive from outside, and The Complete Excel Course with AI Integration teaches both. In FinanceGuard, VSTACK stacks the key columns of two tables inside one formula, live, with no refresh needed, and SORT and UNIQUE tidy the result on the spot (Lesson 117). In SalesFusion, Append stacks two years of cleaned sales queries (Lesson 165) and From Folder combines every file dropped into a folder at the next refresh (Lesson 166), each with its cleaning steps recorded. The rule of thumb that follows: when the stack is small, sits in the same workbook and is needed instantly, use VSTACK; when it means importing, cleaning or a growing pile of files, use Power Query. Both work on a Mac, since neither involves Power Pivot or Power Automate.
If I share a workbook built on dynamic arrays, what do colleagues need to open it?
A modern Excel, the same one the functions need for you. The Complete Excel Course with AI Integration is recorded in Microsoft 365 and says plainly in its overview that dynamic arrays need a modern version (Lesson 2), so FILTER, UNIQUE, SORT, SORTBY, VSTACK, LET and TEXTSPLIT belong in workbooks shared with colleagues on a current Excel, on Windows or Mac. For anyone still on an older version, FinanceGuard shows the safe hand-off: its model is pasted as values into a fresh table before the PivotTables and dashboard are built on it (Lesson 120), so the people who read the report never depend on the formulas behind it. Ask before you build, too: a quick check of which Excel your stakeholders run decides whether a report should spill or be delivered as values and PivotTables.
I already work in SUMIFS and XLOOKUP every day: what do dynamic arrays add?
Whole answers from one formula instead of one cell at a time. SUMIFS and XLOOKUP return a value per cell, filled down row by row; the functions The Complete Excel Course with AI Integration teaches from Lesson 75 to Lesson 77 return a complete list that resizes itself, whether every matching record from FILTER, every distinct value from UNIQUE or a whole table re-ordered by SORT. That removes the helper columns and the copied ranges that go stale, and it changes how a report is built, as FinanceGuard shows: the list of keys spills, and your familiar SUMIFS works beside it (Lesson 117). Your existing skills are the foundation here, not something to replace, and the lookup lessons of the same section, XLOOKUP from Lesson 69 included, sit just before the spilling functions, so the step from one answer per cell to one answer per list is a short one.
How long before dynamic arrays are part of my everyday analysis?
Sooner than the length of the path suggests, and that path takes 52 minutes altogether. The Complete Excel Course with AI Integration has FILTER and UNIQUE working inside SUM and COUNTA within its first quarter of an hour, and UNIQUE, FILTER, SORT and SORTBY on the HR table straight after, enough to replace a copied list or a hand-sorted ranking in your own work the same week. FinanceGuard then shows the larger payoff, a model whose list of keys builds itself from two tables, and the PivotTable lesson after it shows how such a model hands its results to a report. Each project comes with a starter workbook and the finished one, so every formula can be compared with a working answer before it touches your data. Lifetime access keeps the lessons on hand whenever a new kind of list needs a formula, and completing the course earns a Certificate of Completion with a verification link.
Do I need the old Ctrl+Shift+Enter array formulas before starting?
No: dynamic arrays replaced that method, and The Complete Excel Course with AI Integration starts where modern Excel starts. A formula such as UNIQUE or FILTER is typed and entered like any other, and Excel spills the result into as many cells as it needs, so there is no special key combination to learn and no output range to select in advance. The course eases you in: array logic first appears inside SUM and COUNTA on a sales table (Lesson 34 and Lesson 35), before the HR lessons give each function its own lesson. What you do need is comfort with ordinary formulas and Excel tables, both taught earlier in the course, tables from Lesson 19. And if an old workbook of yours still holds a formula entered the old way, its logic will read clearly once spilled formulas are second nature.
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 data analysts
- Lookups for data analysts
- PivotTables for data analysts
- Charts for data analysts
- Dashboards for data analysts
- Conditional formatting for data analysts
- Data cleaning for data analysts
- Data validation for data analysts
- Excel tables for data analysts
- Text functions for data analysts
- Date functions for data analysts
- Power Query for data analysts
- Power Pivot and DAX for data analysts
- Macros and VBA for data analysts
- Power Automate for data analysts
- Copilot for data analysts
- ChatGPT for data analysts
- Claude in Excel for data analysts