The Complete Excel Course with AI Integration
Excel dynamic arrays for government officers
Registers, staff lists and allocation sheets change every day, and a list filtered or copied by hand is out of date by the next entry. The Complete Excel Course with AI Integration teaches the dynamic arrays that keep up, on industry-standard projects, and this page picks out the lessons: FILTER with AND and OR, UNIQUE lists and distinct counts, SORT and SORTBY, then the FinanceGuard 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 the open cases, pending applications or active staff of one district or grade into a list of their own with FILTER, using AND and OR conditions, without touching the shared register.
- Keep a distinct list of schemes, offices or statuses with UNIQUE that grows as entries arrive, ready to sort or to feed a drop-down on an intake form.
- Count how many different beneficiaries, applicants or suppliers a register holds with COUNTA wrapped round UNIQUE, however many rows each one has.
- Rank districts, projects or requests with SORT and SORTBY in a copy beside the register, leaving the register itself in reference-number order.
- Total one district's spend in a single cell with SUM around FILTER, with no helper column and no filter left switched on.
- Line allocations up against spending by period, department and budget head in a model that lists every key once with SORT, UNIQUE and VSTACK and splits each key with LET and TEXTSPLIT.
- Work out variance and percent variance on that model, and know which parts grow by themselves when a new month or budget head appears.
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.
Built as a budget vs actual report, its model sheet is where dynamic arrays carry the most weight: SORT, UNIQUE and VSTACK list every key from both tables, LET and TEXTSPLIT read the period, department and category out of each key, and SUMIFS lines allocation up with spend.
-
Project 06
PeopleInsight HR workbook
Employee data joined across sheets with one formula.
Built on an HR dataset, it is where UNIQUE, FILTER, SORT and SORTBY are learnt on rows shaped like a staff list: distinct statuses and locations, active staff at one job level, and copies sorted by name or hire date, each spilling beside the table and following its changes.
-
Project 03
Sales Goal Tracker
The course's sales target workbook, it is where FILTER first works inside SUM to total one region's quota and COUNTA wrapped round UNIQUE counts distinct products, the two moves behind a district's spend and a count of distinct beneficiaries.
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 34 SUM, COUNT and COUNTA in Excel
Start at Lesson 34 if you write SUM and use the Filter button: FILTER first appears there inside a SUM, and the path climbs from it to the budget model. New to Excel? Begin at Lesson 1, and take Lesson 19 for tables before the dynamic arrays. Already using UNIQUE and FILTER at work? Go straight to Lesson 117, where FinanceGuard joins them with VSTACK, LET and TEXTSPLIT.
9 of 186 lessons · 45 min
04 Essential formulas and functions (IF, SUMIF and more) SUM with FILTER totals one region's quota in a single cell, then COUNT, COUNTA and COUNTA wrapped round UNIQUE give numeric counts, filled-cell counts and a count of distinct products. The lessons use a sales table; a district's spend and a count of distinct beneficiaries work the same way.
- 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 UNIQUE, FILTER, SORT and SORTBY on the PeopleInsight HR dataset: distinct statuses, locations and work arrangements, staff filtered by location, job level and status with AND and OR, and sorted copies by name, job title and hire date, each spilling beside the table and updating with it.
- 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
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) FinanceGuard's model: budget and actual tables, every key listed once by SORT, UNIQUE and VSTACK, each key's period, department and category read out with LET and TEXTSPLIT, SUMIFS bringing in both figures, then variance and percent variance with a status note on every row.
- 115 FinanceGuard budget vs actual dashboard Excel project overview 3 min
- 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
Instructors
Who teaches it.
Instructor, Excel with AI
Virginia Thorn
Emmy Award winner. Teaches Excel with AI at Coding Liquids.
Questions
Asked before starting.
Excel dynamic arrays for government officers: what changes when a register's summaries are formulas instead of filtered copies?
They turn lists you rebuild by hand into lists that rebuild themselves, and The Complete Excel Course with AI Integration from Coding Liquids teaches them on industry-standard projects designed after talking with people from many different industries. One FILTER formula holds every record that meets your conditions; UNIQUE keeps a distinct list of offices, statuses or schemes; SORT and SORTBY rank a copy while the register stays as it is; VSTACK, LET and TEXTSPLIT build a budget model that lines allocations up with spending. This page picks out the 9 lessons that teach them, 45 minutes in all, on an HR dataset, a sales target workbook and the FinanceGuard budget model, each with a starter workbook and a finished one to check against. The data is the course's own, and every formula carries straight to a staff list, a case register or an allocation sheet.
Registers, establishment lists, allocation sheets: which dynamic array suits which piece of a government officer's work?
Each function has its natural home, and The Complete Excel Course with AI Integration teaches all of them. FILTER suits the register: every open case, pending application or active member of staff that meets your conditions, in a list of its own (Lesson 76). UNIQUE suits reference lists, the districts, schemes or statuses a column holds, and wrapped in COUNTA it counts distinct people (Lesson 75, Lesson 35). SORT and SORTBY suit the summary sheet, where districts are ranked by spend or requests by age without disturbing the source (Lesson 77). VSTACK, LET and TEXTSPLIT suit the allocation sheet: FinanceGuard stacks the keys of a budget table and an actuals table, splits each key into its parts and totals both sides with SUMIFS (Lesson 117). Learnt in that order, each one builds on the last, and by the budget model none of them is new.
Colleagues leave filters switched on in our shared register and rows vanish from view: is FILTER a safer way to give each team its own view?
Yes: FILTER gives every team its own list while the register itself stays untouched. The Filter button, which The Complete Excel Course with AI Integration teaches in Lesson 21, hides rows in the shared sheet, so the next person to open it may not notice that half the cases are out of sight. FILTER, taught in Lesson 76, works by formula instead: it writes the matching rows into a separate list beside or below the data and hides nothing. The lesson builds four such lists from one HR table, by location, by job level, by status and job level together, and by either of two locations, using the asterisk for AND and the plus sign for OR. For a shared register, that means a sheet per team, each with its own FILTER, all reading the same source and all current the moment an entry is added.
Can FILTER list the active staff of one division at one grade for an establishment return?
Yes, in one formula, and The Complete Excel Course with AI Integration builds almost exactly that list. Lesson 76 works on the PeopleInsight HR table, whose rows hold each employee's location code, job level and employment status, much like an establishment list. It filters by one location first, then by job level, then by two conditions at once, active status and one job level, multiplied together inside FILTER so only rows meeting both come through. Put a division where the lesson has a location and a grade where it has a job level, and the list for your return is done. The result spills into as many rows as it needs, with a heading above it, and changes when a status changes in the source. Wrap it in COUNTA, the counting function of Lesson 35, and the headcount on the return comes from the same formula as the names behind it.
Many beneficiaries were paid more than once this quarter: how do I count how many different people were paid?
COUNTA wrapped round UNIQUE gives the answer in one cell, and The Complete Excel Course with AI Integration teaches that formula in Lesson 35. There it counts how many different products appear in a sales table, however many rows each has: UNIQUE reduces the column to one entry per product and COUNTA counts what is left. Point it at the beneficiary ID column of a payment register and the answer is the number of different people paid, with repeat payments counted once. Work on the ID rather than the name, since a name with a stray space or a second spelling would count as two people. Lesson 75 goes further with UNIQUE, spilling the distinct values themselves beside the table, so the list behind the count can be read and checked. For one district alone, narrow the rows first with the FILTER of Lesson 76 and count the distinct IDs in what remains.
The schemes on our intake form change from year to year: can a formula keep the drop-down's list current?
Yes: UNIQUE builds the list and keeps it current, and The Complete Excel Course with AI Integration teaches it in Lesson 75, a lesson that names drop-down sources among the uses of UNIQUE. The formula reads a column, such as the scheme column of your register or a short table of live schemes, and spills each value once; add a scheme and the list grows, remove one from the source and it drops out. Wrapped in SORT, as Lesson 77 does with job titles, the list comes out in alphabetical order. The drop-down itself is taught in Lesson 45 and again in TaskFlow's status and priority lists (Lesson 81), so an intake form offers only the schemes that exist. A second drop-down that narrows by the choice in the first is not among the lessons; a current, sorted list of schemes that nobody retypes is, and it removes the misspelt scheme names that spoil a count.
Our register has to stay in reference-number order: can a ranked list by spend or by days open sit beside it?
Yes, and that is the job SORT and SORTBY were made for, as The Complete Excel Course with AI Integration teaches in Lesson 77. Sorting with the column arrows rearranges the register itself, which upsets everyone who finds entries by their reference number. SORT returns a sorted copy instead: the lesson sorts a whole HR table A to Z by first name in one formula, then wraps SORT round UNIQUE for an alphabetical list of job titles. SORTBY sorts by a column that need not be shown, the lesson's example ordering staff by hire date, so requests can be ranked by days open while the list shows only the reference and the subject. Both re-sort by themselves when the data changes. The register keeps its entry order for the people who maintain it, and the summary sheet always puts the largest spend or the oldest request first.
Allocations and spending sit in two tables keyed by period, department and budget head: can formulas line them up into one model?
They can, and the FinanceGuard model of The Complete Excel Course with AI Integration is the pattern to copy. It starts from the problem you describe: a budget table and an actuals table, every row tagged with one key that packs together the year and month, the department and the category. Lesson 117 writes a single spilled formula, SORT round UNIQUE round VSTACK, that gathers the keys from both tables into one ordered list with no repeats, so a key present in only one table still gets its line. Beside it, LET builds a month label from the year and month at the front of the key, TEXTSPLIT cuts the key at its separators for the department and category, and SUMIFS fetches each side's figure. Read budget head wherever the lesson says category. Then Lesson 118 works out variance and percent variance, and a nested IF writes over or under budget beside each line, so an overspent head names itself.
A new budget head is created mid-year: will the model pick it up, or must I add rows by hand?
The list picks it up by itself, and one double-click completes the row. In the FinanceGuard model of The Complete Excel Course with AI Integration, the keys are spilled by SORT, UNIQUE and VSTACK over both tables (Lesson 117), so a new month, department or category added to either table appears in the list on its own, in sorted order, with no row inserted by you. The columns beside the list, the month label, the department, the category and the SUMIFS totals, are filled down with a double-click on the fill handle, as the lesson does when it first builds them, and the variance columns of Lesson 118 follow the same way. A moment's work replaces the old routine of finding where a new line belongs, inserting it and copying formulas round it, and the key list itself can never miss a head that the tables hold.
Is VSTACK the way to stack the returns each district office keeps on its own sheet, or is Power Query?
Both are taught in The Complete Excel Course with AI Integration, and the choice depends on where the returns live. VSTACK stacks ranges one under another: in Lesson 117 it stacks the key columns of two tables so that UNIQUE and SORT can treat them as one list, and the same function will stack matching ranges from several sheets of one workbook. That suits returns kept on sheets in a single workbook with identical columns. Returns that arrive as separate files every month are Power Query's work: an append combines tables (Lesson 165), and a folder query takes in every file in a folder, next month's included, on refresh (Lesson 166). A formula for the workbook you already hold, a query for the files that keep coming, and an officer who knows both picks the right one for each return.
A district office still runs an older Excel: can my FILTER and UNIQUE workbook go to them?
Send them the results as values, and The Complete Excel Course with AI Integration teaches both the functions and that safe way to share them. FILTER, UNIQUE, SORT and the other dynamic arrays need a modern Excel, and the lessons point this out when the functions appear, so a colleague on an older version should not be sent the live formulas. Send what they need instead: a copy with the spilled results turned into plain values with Paste Special, taught in Lesson 22, or a PivotTable summary. FinanceGuard does something similar for its own reasons, pasting the model as values before its pivot sheet is built (Lesson 120). Keep the live workbook on your side, let it update as entries arrive, and send a values copy each time: the office gets accurate figures and nothing that fails on their machine.
Our returns sometimes need one figure for two districts together: is that a job for SUMIFS or for FILTER?
FILTER handles it most neatly, and The Complete Excel Course with AI Integration teaches both routes so you can choose. SUMIFS, taught in Lesson 37, adds up the rows that meet all of its conditions at once, district and month for instance, so two districts together means two SUMIFS added up. SUM around FILTER, from Lesson 34, where it totals one region's quota, picks out the rows first and adds what is left, and with the plus sign that Lesson 76 teaches for OR, a single formula takes in either district. FILTER also lets you see the rows behind a figure before adding them, a useful check when a total looks wrong. SUMIFS remains the everyday choice for a plain district-and-month return; FILTER earns its place when the condition is an either-or. Knowing both, you write each total the way that reads most clearly to the next person who opens the file.
The lessons use an HR dataset and a budget: how close is that to a government officer's files?
Close enough that the formulas transfer row for row, and The Complete Excel Course with AI Integration chose its data with that in mind. PeopleInsight's main table holds staff with an ID, a department, a location code, a job level, an employment status and a hire date: the shape of an establishment list, and near enough the shape of a case register, with a status, a place and a date on every row. FinanceGuard holds a budget table and an actuals table keyed by month, department and category, which is how allocation and spending sit in most offices. The functions do not care what the rows describe: a FILTER on status and job level (Lesson 76) works on status and grade, and a model keyed by department and category (Lesson 117) works keyed by department and budget head. The projects are industry standard, so the habits built there are the ones your own files need.
I use SUM and the Filter button and little else: how far is it from there to dynamic arrays?
Shorter than it looks, and The Complete Excel Course with AI Integration lays the steps out in order. FILTER first appears inside a SUM in Lesson 34, totalling one region's figures, a small step from the totals you already write. UNIQUE follows in Lesson 75, then FILTER with AND and OR, then SORT and SORTBY, each lesson brief and on the same HR table, so nothing new arrives all at once. The FinanceGuard model of Lesson 117 combines them, and by then every function in it is familiar. The path on this page takes 45 minutes. If tables are new to you, Lesson 19 turns a range into a table first, which matters because a dynamic array reading a table takes in its new rows by itself. Each project comes with a starter file and a finished one, so every result can be checked against a working answer.
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 government officers
- Lookups for government officers
- PivotTables for government officers
- Charts for government officers
- Dashboards for government officers
- Conditional formatting for government
- Data cleaning for government officers
- Data validation for government officers
- Excel tables for government officers
- Text functions for government officers
- Date functions for government officers
- Power Query for government officers
- Power Pivot and DAX for government
- Copilot in Excel for government officers
- ChatGPT for government officers