The Complete Excel Course with AI Integration

Excel dynamic arrays for researchers

A research dataset keeps changing while data collection runs: cases arrive, codes drift and waves have to be matched. The Complete Excel Course with AI Integration teaches the dynamic array formulas that keep up, on industry-standard projects: UNIQUE to audit codes, FILTER to draw the analysis set, SORT and SORTBY to order it, and a VSTACK model that lines two tables up by key. Each is listed below in the order a study needs it.

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:

  • Audit a coded column with UNIQUE: every site, condition or ID the data really holds, spilled beside the table and rebuilt as entries arrive.
  • Draw the analysis set with FILTER, joining inclusion rules with an asterisk for AND and a plus sign for OR, while the raw rows stay exactly as entered.
  • Order participant lists by formula with SORT, or by a column kept out of view with SORTBY, so the order holds as rows are added.
  • Count distinct participants with COUNTA wrapped round UNIQUE, and total or average one group's values with FILTER inside SUM or AVERAGE.
  • Set COUNT against COUNTA on a score column to expose entries stored as text before any summary is built.
  • Stack the IDs of two waves or sites with VSTACK, cut them to one sorted list with UNIQUE and SORT, and bring each wave's measurement alongside with SUMIFS.
  • Split codes that pack a site, a wave and an ID into one cell with TEXTSPLIT, and name each step of a long formula with LET so a supervisor can follow it.

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.

    Built on employee records, it is where UNIQUE, FILTER, SORT and SORTBY first spill beside a live table: the distinct values of a column, the rows that meet two conditions and a list re-sorted by date, the same moves a researcher makes on a participant sheet.

  • Project 09

    FinanceGuard

    The budget vs actual report finance teams send every month.

    A budget against actual model in the course, it combines two tables by key with VSTACK, UNIQUE and SORT, splits each key with TEXTSPLIT and LET, and lets SUMIFS fetch both figures into neighbouring columns: the pattern for setting baseline beside follow-up, participant by participant.

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

    Built for sales targets, its sales table is where FILTER first works inside SUM and UNIQUE inside COUNTA, giving one group's total and a count of distinct entries, the figures a description of any sample opens with.

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 75 UNIQUE function in Excel

The natural first lesson is Lesson 75 for anyone whose data already sits in Excel tables and who writes SUMIFS: UNIQUE opens the dynamic arrays there, on an HR workbook whose tables are already named. Newer to formulas? Begin at Lesson 34, where FILTER first appears inside SUM, or from the very first lesson, Lesson 1, when Excel is new to you. Already fluent with FILTER and SORT? Go straight to Lesson 116 for the VSTACK model that lines two tables up by key.

7 of 186 lessons · 38 min

04 Essential formulas and functions (IF, SUMIF and more) 2 of 13 lessons · 11 min Dynamic arrays inside everyday counts: SUM wrapped round FILTER to total one group's rows, COUNT and COUNTA set side by side to show cells holding text where numbers belong, and COUNTA round UNIQUE for a count of distinct entries. The lessons use a sales table; a count of distinct participants or sites is written the same way.
  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 UNIQUE, FILTER, SORT and SORTBY on an HR table: distinct lists of status, location and work arrangement spilled beside the data, subsets by one condition and by AND and OR rules, a table re-sorted by formula and a list ordered by a column it does not show. Every result rebuilds when the source changes, in a modern Excel such as Microsoft 365.
  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) 2 of 10 lessons · 12 min Two named tables, then a model built on them: VSTACK stacks both tables' keys, UNIQUE and SORT cut them to one ordered list that spills by itself as the tables grow, LET and TEXTSPLIT turn each key into readable labels, and SUMIFS sets both tables' figures side by side. The lessons use budget and actual data; two waves of a study line up the same way.
  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.

How do researchers put Excel's dynamic arrays to work on study data, from code checks to matched waves?

On the checks and selections every study repeats, and The Complete Excel Course with AI Integration from Coding Liquids teaches each function on industry-standard projects designed after talking with people from many different industries. UNIQUE lists the distinct codes a column really holds and FILTER pulls out the cases that meet your rules (Lesson 75 and Lesson 76); SORT and SORTBY put any list in order by formula (Lesson 77). FinanceGuard then joins two tables with VSTACK, UNIQUE, SORT, LET, TEXTSPLIT and SUMIFS (Lesson 117), the pattern that sets two waves of a study side by side. Each formula is written once and spills its whole result, rebuilt whenever the data changes. The 7 lessons on this page run 38 minutes and replace a great deal of filtering and pasting by hand across a whole study.

Will UNIQUE show the stray spellings of a site code that crept into my data?

Yes: each stray spelling or trailing space stands on a line of its own, and The Complete Excel Course with AI Integration teaches the check in Lesson 75. UNIQUE spills one line per distinct value it finds in the column, so a site code typed with an extra space, a second spelling or an abbreviation someone invented sits right beside the correct one. Capitals are the exception: UNIQUE reads LON and lon as one value, just as COUNTIFS and the lookups do, so tidy capitals are for a dataset that reads cleanly and for Power Query, which does tell them apart. Wrap the list in SORT (Lesson 77) and the near twins land next to each other. The list needs room to spill, so the lesson places it outside the table. Repair what it reveals, stray spaces with TRIM and second spellings by Find and Replace in Lesson 22, and the stray line vanishes.

Can FILTER pull out the participants who meet my inclusion criteria?

Yes, as a live subset that leaves the raw data untouched, and The Complete Excel Course with AI Integration builds it in stages in Lesson 76. FILTER returns every row that meets a rule: first one condition, then two joined with an asterisk, meaning both must hold, then two joined with a plus sign, meaning either may. On the lesson's HR table that is active staff at one job level, and staff at one location or another. In a study the same shapes read completers in the intervention arm, or participants recruited at either of two sites. The result spills under a heading of its own and rebuilds the moment a case changes status, so the analysis set is never a stale copy. Misplaced brackets are the usual slip, and the lesson shows how to read the error. FILTER needs a modern Excel, such as Microsoft 365.

Why use a FILTER formula to select cases when the filter button does the same?

Because a formula keeps the rule, and the rule is what a reviewer asks for. The Complete Excel Course with AI Integration teaches both: the filter button on the employee database in Lesson 21, and FILTER in Lesson 76, which does by formula what the button does by hand. A filter clicked on and off leaves no record of which cases were chosen, while a FILTER formula states its conditions in the cell, so you, a co-author or an examiner can read exactly how the analysis set was drawn. The source rows are never hidden or moved, the subset updates when a case is corrected, and two subsets can stand side by side for comparison, which the button cannot manage. Keep the button for a quick look, and let FILTER carry any selection that ends up described in a methods section.

How do I count distinct participants when each one fills several rows?

With COUNTA wrapped round UNIQUE, a pattern The Complete Excel Course with AI Integration teaches in Lesson 35. UNIQUE first cuts the ID column to one line per participant, however many visits or items each has, and COUNTA counts the lines; the lesson does it on a product column and gets the number of distinct products. Set COUNT against COUNTA on the same column as well (Lesson 34): any gap shows cells holding text where a number belongs, a score typed with a stray character or a note such as N/A. Neither function counts a blank, so blanks show when a column's count falls short of the count of the ID column. For a full data model, Power Pivot's distinct count measure does the same job across related tables, taught in Lesson 170 for Excel on Windows.

Can dynamic arrays line up baseline and follow-up measurements by participant?

Yes, with the model The Complete Excel Course with AI Integration builds for budget against actual in Lesson 117. SORT, UNIQUE and VSTACK together stack the key columns of two tables, keep each key once and put them in order, so a single list holds every key found in either table. SUMIFS then fetches each table's figure for each key into two columns side by side. Swap the budget and actual tables for a baseline table and a follow-up table keyed by participant ID, and every participant appears once with both measurements next to each other, ready for a change column. The key list spills by itself when a new ID arrives; the columns beside it are completed with one double-click on the fill handle. A participant missing from one wave shows a zero there, so check zeros against the raw table before reading them as scores.

Can a formula split a sample code that packs site, wave and ID into one cell?

Yes: TEXTSPLIT breaks a code at its separator, and The Complete Excel Course with AI Integration uses it on exactly that kind of key in Lesson 117. The FinanceGuard keys pack a period, a department and a category into one cell, divided by a pipe; INDEX round TEXTSPLIT takes the second part for the department and the third for the category, and the formulas fill down beside the spilled keys. A sample code that joins a site, a wave and a participant number with a separator splits the same way, into columns you can filter, count and sort. Where each part sits at a fixed position instead, LEFT, RIGHT and MID do the work (Lesson 73), and Text to Columns (Lesson 25) suits a split made once. The formula routes keep working as new codes arrive, which a split made once never does.

What does LET add to a long formula my supervisor has to read?

Names for each step, so the formula reads like the method it applies. The Complete Excel Course with AI Integration teaches LET in Lesson 117, where one formula takes a key apart with LEFT and MID, builds a date with DATE and shows it as a short month label with TEXT, each intermediate value given a name inside the formula. Without LET the same logic is a knot of nested brackets only its author can untangle. With it, a supervisor sees the baseline, the follow-up and the change named in turn, and a co-author can correct one step without rewriting the rest. A named value is also worked out once and reused, which keeps a long calculation shorter and quicker. For a dataset that has to survive a viva or a reviewer's questions, a formula that explains itself is worth the few extra words it takes.

Can SORTBY order a participant list by enrolment date without showing the date?

Yes: SORTBY orders a list by a column that need not appear in the result, and The Complete Excel Course with AI Integration teaches it in Lesson 77. The lesson sorts the columns from employee ID to last name by hire date, a column outside that range, and uses SORT alone to put the whole table in order by first name. For a study that means participant IDs in enrolment order with the dates kept out of view, or sites in order of a recruitment total held elsewhere. Because it is a formula, the order holds as new rows arrive, where a sort applied with the column arrows has to be repeated by hand. Wrap SORT round UNIQUE and you get an alphabetical list of distinct values, the lesson's route to a clean list of job titles, and a fast index of every condition or site label in your data.

New participants are added every week: do the spilled lists keep up by themselves?

Yes: every spilled list takes in new rows by itself, and where a model sits beside one, a single double-click completes it. The Complete Excel Course with AI Integration shows UNIQUE, FILTER, SORT and SORTBY results updating when their source changes (Lesson 75 to Lesson 77), and a structured reference to a whole table column keeps a formula connected as rows are added (Lesson 34). In FinanceGuard (Lesson 117) the list of keys spills by itself when a table gains a new month, department or category; the columns beside it, the labels and the SUMIFS totals, are completed with one double-click on the fill handle. In a study, that means new participants appear in your lists as soon as they are entered, and their figures follow that double-click. Set against rebuilding a filtered copy after every recruitment week, it is a different way of running a dataset.

How do I share FILTER and UNIQUE results with a co-author whose Excel is older than mine?

As values pasted into a copy, a step The Complete Excel Course with AI Integration teaches in Lesson 22. Dynamic arrays need a modern Excel, such as the Microsoft 365 the course is recorded in, and the course overview says so plainly, so a co-author on an older Excel cannot be expected to recalculate your FILTER or UNIQUE formulas. Keep the live workbook as your working file, then copy the spilled results and use Paste Special values in the file you share: the figures travel, the formulas stay with you. Note in the sheet which formula produced each list, so the selection rule stays on record. Once your co-author moves to a current Excel, send the live file again and every spill rebuilds on their machine. None of these lessons needs Windows: the functions work in Excel on a Mac as well.

When should a researcher reach for FILTER and UNIQUE instead of a PivotTable?

Whenever you need the cases themselves, or a list, rather than a summary. The Complete Excel Course with AI Integration teaches both tools, and they answer different questions. A PivotTable, from Lesson 57 onwards, gives counts and averages by group and needs a refresh when the data changes. FILTER hands back the actual rows that meet a rule and UNIQUE the actual codes in use, and both sit beside the data as formulas that feed other formulas and recalculate at once. FinanceGuard uses the pair in sequence: a spilled model of keys and totals first (Lesson 117), then PivotTables built from a pasted copy of its values for the dashboard. A researcher can work the same way: dynamic arrays to define and check the analysis set, then PivotTables to describe it by condition, site or wave.

Can one formula give the mean score of a single condition without a helper column?

Yes: wrap AVERAGE round FILTER, a pairing The Complete Excel Course with AI Integration teaches with SUM in Lesson 34. The lesson totals one region's quota by letting FILTER keep only that region's rows and SUM add what is left, all in a single cell. AVERAGE, taught on the budget tracker in Lesson 14, slots into SUM's place, so the mean score of one condition, one site or one wave needs no helper column and no copied subset. Change the condition inside the formula, or point it at a cell holding the condition's name, and the same formula serves every group in turn. For many groups at once a PivotTable is quicker; for the single figure a sentence of your results quotes, a formula you can read in the cell is the clearer record of how it was reached.

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.