The Complete Excel Course with AI Integration

Excel dynamic arrays for payroll administrators

Every pay run, the same lists get rebuilt by copy and paste: exceptions to clear, the register sorted for the bank file, cost centres totalled, one person's history pulled when they query their pay. Spilled formulas rebuild themselves instead. The Complete Excel Course with AI Integration teaches FILTER, UNIQUE, SORT, SORTBY, VSTACK and LET on HR and budget workbooks built to industry standard, and the lessons gathered here turn each of those lists into one formula.

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:

  • List anyone marked as a leaver who still has pay on this period's register, with FILTER and two conditions joined by AND.
  • Show every department, cost centre and status the export really contains with UNIQUE, so a stray spelling surfaces before the totals are run.
  • Combine the cost centres of two payroll tables into one sorted list with SORT, UNIQUE and VSTACK, and total each payroll's cost beside it with SUMIFS.
  • Order a review list by overtime or start date with SORTBY, without showing the column it is sorted by.
  • Total the pay of staff in either of two statuses in one formula, with SUM wrapped round FILTER and its plus sign for OR.
  • Keep a sorted copy of the register for the bank file current with SORT, and pull one employee's whole pay history into view with FILTER when a query arrives.
  • Name the parts of a long pay formula with LET, so whoever checks the register can read it.
  • Build a review sheet of exception lists, each under its own heading, that shrinks as the register is put right.

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.

    An HR analytics workbook whose employee table, with its employment status, location and job level columns, is where UNIQUE, FILTER, SORT and SORTBY are learned: the shape of a payroll master file, so every spilled list carries straight over to yours.

  • Project 09

    FinanceGuard

    The budget vs actual report finance teams send every month.

    A budget vs actual project whose model spills one sorted list of keys from two tables with SORT, UNIQUE and VSTACK and names its steps with LET: the pattern for setting two payrolls, or two periods, side by side in one formula-driven summary.

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 tracker where FILTER first appears inside a SUM and UNIQUE inside a COUNTA: small formulas that total a chosen group or count distinct values on any register.

Lessons

The lessons that matter, in course order.

The Complete Excel Course with AI Integration has 186 lessons. This page picks out 7 of them, 38 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 already total and count columns: the first spilled formulas appear there inside SUM and COUNTA, and the HR and budget lessons follow straight on. Comfortable with SUMIFS and Excel tables? Go to Lesson 75, where UNIQUE, FILTER and SORT begin on employee data. Never built a formula before? The course opens at Lesson 1. Every function here needs a modern Excel, the kind the course itself is recorded in.

7 of 186 lessons · 38 min

04 Essential formulas and functions (IF, SUMIF and more) 2 of 13 lessons · 11 min The Sales Goal Tracker's summary block: SUM wrapped round FILTER to total one region's quota, COUNT for numeric entries, then COUNTA, including COUNTA round UNIQUE for a count of distinct products, the course's first dynamic arrays in a pair of short formulas.
  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 The PeopleInsight employee table: UNIQUE lists of employment status, location and work arrangement placed outside the table where they have room to spill, FILTER with one condition and then two combined, the asterisk standing for AND and the plus sign for OR, and SORT and SORTBY for lists that reorder themselves, hire-date order included.
  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) 2 of 10 lessons · 12 min FinanceGuard's two tables named, then the model: SORT, UNIQUE and VSTACK spill one sorted list of keys from both tables, LET builds month labels, TEXTSPLIT takes the department and category out of each key, and SUMIFS brings each table's figure beside its key, filled down with one double-click as new keys spill.
  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

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.

Leavers still being paid, stray cost centres, a register to re-sort for the bank: can Excel dynamic arrays take these off a payroll administrator's hands, and which lessons teach them?

Yes: each becomes one formula that spills its answer and rebuilds it whenever the register changes, and The Complete Excel Course with AI Integration from Coding Liquids shows how, in industry-standard projects designed after talking with people from many different industries. FILTER lists the leavers who still have pay, UNIQUE shows every cost centre the export holds so a stray stands out, and SORT keeps a copy of the register in the bank's order without anyone re-sorting it. Around them sit SORTBY for review lists in a chosen order, VSTACK to put two payroll tables into one and LET to name the parts of a long formula. For payroll that means exception lists that shrink as you fix them and summaries that take in a new code the day it appears. The lessons work on an HR employee table and a budget model, all in a modern Excel, and the 7 lessons that teach them add up to 38 minutes of video.

Can FILTER catch anyone marked as a leaver who still has pay on this period's register?

Yes: two conditions joined by AND do it, and The Complete Excel Course with AI Integration teaches the build in Lesson 76. There FILTER lists the employees whose status is Active and whose job level is 5, the two tests multiplied together inside the function, after a bracket slip shows why both must sit inside it. Swap the tests for a leaving status, or a leaving date before the period began, and a pay amount above zero, and the list that spills is every former employee the run is about to pay: one of the costliest mistakes in payroll, and one of the hardest to recover. Put the formula on the sheet you check before sign-off. On a clean run it finds no one, and if a leaver's line slips in later, it appears the moment the register changes, before any money leaves.

Before the run, can one formula show every department and status the export really contains, strays included?

Yes: UNIQUE lists each value a column holds exactly once, and The Complete Excel Course with AI Integration names that check among its uses in Lesson 75. The lesson spills the distinct employment statuses of its HR table, Terminated, Active and On Leave, then its location codes and work arrangements, each list outside the table where it has room to spill. Point it at your export's department, cost centre and status columns and any stray stands out at a glance: a department with a trailing space, a cost centre keyed two ways, a status nobody recognises. Each of those would split a total or slip past a filter, so clear them before the run. Excel treats capitals alone as the same value here, so the strays UNIQUE exposes are the real ones, extra spaces and second spellings. Wrap SORT round it, as Lesson 77 does, and the list reads alphabetically.

Weekly and monthly payrolls sit in separate tables: can one formula list every cost centre across both, with each payroll's cost beside it?

Yes, with the pattern The Complete Excel Course with AI Integration builds in Lesson 117. In FinanceGuard, the budget vs actual project, SORT wrapped round UNIQUE wrapped round VSTACK takes the key column of two tables, stacks them, keeps each key once and puts the list in order, all in one cell. SUMIFS then brings each table's figure beside its key, so budget and actual sit side by side. Point the same three functions at the cost centre columns of your weekly and monthly payroll tables and one sorted list covers both, with each payroll's cost and their sum beside it. When a new cost centre appears in either table, the list spills it by itself; the SUMIFS columns beside it are filled down with one double-click on the fill handle, the step the lesson uses too. Lesson 116 names the tables first, since SUMIFS fails on a name that is one letter off.

Can a review list be ordered by overtime hours, highest first, without showing the hours themselves?

Yes: SORTBY sorts by a column it does not have to display, and The Complete Excel Course with AI Integration teaches it in Lesson 77. The lesson takes a range of employee columns and orders it by hire date, a column outside what is shown, and makes the point plainly: SORTBY separates what you display from how you sort. For payroll that separation earns its keep twice. A list for a line manager can run from the heaviest overtime to the lightest, so the claims worth a second look come first, without the hours appearing on a sheet that travels. A service list can follow start dates without printing them. Set the sort order to descending for highest first. Like every spilled list, it reorders itself the moment the register changes, so each review starts from the top of the right list.

Can one formula total the gross pay of staff who are on leave or suspended, when SUMIFS only tests AND?

Yes: SUM wrapped round FILTER does it, with the plus sign standing for OR. The Complete Excel Course with AI Integration builds the pair in Lesson 34, where SUM over FILTER totals one region's quota from a sales table, and Lesson 76 shows the plus sign joining two conditions so that a row meeting either one is kept. Put the two together on a register and one formula adds the pay of everyone on leave or suspended, or of either of two cost centres, without a helper column and without two SUMIFS added together. That matters at month end, when finance asks for the cost of a group your register has no single code for. The same shape takes an asterisk for AND, so FILTER inside SUM handles any mix of conditions, and the total moves the moment a status changes.

A pro-rata formula on the register has grown long: can LET make it readable for whoever checks it?

Yes: LET names each part of a formula once and then uses the names, and The Complete Excel Course with AI Integration puts it to work in Lesson 117. FinanceGuard's model uses LET with LEFT, MID, DATE and TEXT to turn a key into a month label in a single cell, each step held under its own name instead of nested out of sight. A pro-rata formula gains the same way: name the working days in the period, the days worked and the monthly rate, then write the result in those names, and a reviewer reads the calculation like a sentence. Each value is worked out once, which also stops the same NETWORKDAYS count being typed three times with three chances of a slip; the working days themselves come from Lesson 74. In a modern Excel, LET sits beside FILTER and UNIQUE among the functions that make a long workbook auditable.

Can one review sheet hold every exception list for the run, each shrinking as I fix the register?

Yes: several FILTER formulas on one sheet, each under its own heading, which is how The Complete Excel Course with AI Integration lays out its spilled results in Lesson 76. Give each list one rule: active employees with no hours, leavers with pay, overtime above your limit, a net figure below zero. Every list rebuilds itself from the register, so as you correct a line it drops off, and the sheet shows at a glance what is left before sign-off. Give FILTER its optional message for no matches, a word such as None, and a clean list says so in plain text. Leave each list room to spill below its heading, the lesson of Lesson 75, where UNIQUE typed inside a table fails and spills freely beside it. Lock the sheet with the protection taught in Lesson 86 and it can go to a reviewer as it stands.

An employee queries their pay: can one formula pull every line of their history into view?

Yes: FILTER on the employee's ID returns every matching row, and The Complete Excel Course with AI Integration teaches it in Lesson 76, where FILTER lists all the employees of one location from an HR table. Point it at a register that holds the year's pay lines, with an input cell for the ID, and the person's lines spill in full: each period, each pay element, each amount. SORTBY from Lesson 77 puts them in pay-date order, and SUM wrapped round FILTER, as Lesson 34 builds it, totals what they received. Type the next ID into the same cell and the next history appears, so one small sheet answers every query of the year. Unlike a lookup, which returns one match, FILTER returns them all, which is what a pay query needs: the full story, laid out before you reply.

The bank file wants the register in employee-number order: can a formula keep a sorted copy current as starters join?

Yes: SORT returns a whole table in the order you choose and re-sorts by itself, and The Complete Excel Course with AI Integration teaches it in Lesson 77, where one SORT formula returns the entire HR table ordered by first name. Point it at the register with the employee number as the sort column and the copy beside it stays in number order through every change: a starter added at the bottom of the register takes their place in the sorted copy at once, and nobody re-sorts by hand before the file is prepared. The source itself is never reordered, so the formulas that read it are untouched. The lesson's own aside applies too: dates in a sorted copy can arrive as numbers and need the Date format again. Combine SORT with FILTER to send only the employees being paid this run, in the order the bank wants.

What should I be comfortable with before the dynamic array lessons?

Excel tables and conditional totals, both of which The Complete Excel Course with AI Integration teaches first. Dynamic arrays read named tables most cleanly, so Lesson 19 on tables and structured references comes before them, and Lesson 76 itself reminds you to name a table before filtering it. SUMIFS from Lesson 37 matters because spilled lists are usually totalled with it, as FinanceGuard does beside its keys. A lookup such as XLOOKUP (Lesson 69) helps too, since these lessons sit in the same section on the same HR table. Beyond that you need a modern Excel, because these functions are not in older versions. With those in place the path on this page is short, and every list you then build on your own register is one less thing to rebuild by hand each period.

Which of the lists I rebuild by hand every pay run should become spilled formulas first?

The ones you paste fresh every period and check under time pressure, and The Complete Excel Course with AI Integration gives you a formula for each. Start with the exception lists, because they protect the run: FILTER with the conditions that matter, leavers with pay and active staff with no hours, taught in Lesson 76. Then the lists other people receive: the register sorted for the bank file and each manager's list, with SORT and SORTBY from Lesson 77. Then the summaries: cost centres listed once with UNIQUE (Lesson 75) and totalled beside it, or across two payrolls with VSTACK as FinanceGuard does in Lesson 117. Each conversion removes a copy-and-paste step from the period's routine, and with it a chance of pasting last month's figures into this month's report.

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.