The Complete Excel Course with AI Integration

XLOOKUP and VLOOKUP for compliance officers

Much of compliance is one list held against another: the staff list against training completions, system users against HR's leavers, payees against an approved list. The Complete Excel Course with AI Integration teaches the lookups that do it in one formula, on industry-standard projects, and this page picks out those lessons: VLOOKUP read safely, XLOOKUP with its own not-found answer, INDEX and MATCH, FILTER for every match, and keys cleaned first.

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:

  • Set a training, attestation or certification export against the staff list with XLOOKUP, and name everyone who has no matching record.
  • Bring each user's employment status from the HR list into a system access list, so an account belonging to a leaver stands out.
  • Read and repair the VLOOKUP formulas in an inherited register: FALSE for an exact match, a locked table range and the column number an inserted column throws out.
  • Replace raw #N/A errors with a label a reviewer understands, through XLOOKUP's own not-found answer or IFERROR round VLOOKUP.
  • Look to the left as well as the right, and across a grid by row and column, with a two-way XLOOKUP and with INDEX and MATCH.
  • Return every matching row instead of only the first with FILTER, and list the distinct values of a field with UNIQUE.
  • Make keys fit to match before any lookup runs, with TRIM, Find and Replace, Remove Duplicates, and LEFT, RIGHT and MID to cut a reference code to its shared part.
  • Give every customer or entity in a register its risk rating and review cycle from one small table and one formula filled down.

Projects

What you will build.

The course has 14 industry-standard projects. These four matter most here.

  • Project 06

    PeopleInsight HR workbook

    Employee data joined across sheets with one formula.

    Built as an HR analytics workbook, it has the shape of most compliance matching: a master list of people keyed by ID, separate sheets of departments and locations to fetch from, and an employment status column that shows who is active, on leave or gone.

  • Project 09

    FinanceGuard

    The budget vs actual report finance teams send every month.

    Built for budget against actual, it matches two tables on a key that joins month, department and category, the method for any check that needs more than one field to find the right record, with SUMIFS fetching each key's figures.

  • Project 12

    SalesFusion

    A sales report that refreshes itself from a folder of files.

    Built as a sales report fed by Power Query, its merge is a lookup for a whole export at once: a left join that keeps every row and brings names in beside codes, so each month's file is matched on refresh rather than by a formula filled down.

Tap or pinch to zoom in, drag to move around. Click or scroll to zoom in, drag to move around.

  • Project 02

    Dunder Michael Paper Company employee database

    Built as a company's employee list, it is where keys are made fit to match: stray spaces trimmed, second spellings settled with Find and Replace and repeated IDs removed, so each value a lookup reads exists once and in one form.

Lessons

The lessons that matter, in course order.

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

Where to start

Lesson 67 Lookup functions in Excel

Start at Lesson 67 if your lists already sit in Excel tables: PeopleInsight opens there and the lookups follow one move at a time. Lists that arrive from several systems with stray spaces and repeated IDs? Begin with Lesson 22 and Lesson 23, which clean the keys first. New to tables? Take Lesson 19 before anything else, or Lesson 1 if Excel itself is new to you. Already writing VLOOKUP every week? Go straight to Lesson 69 for XLOOKUP and on to Lesson 76 for FILTER.

13 of 186 lessons · 1 h 8 min

03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) 2 of 9 lessons · 19 min Keys fit to match before any lookup runs: TRIM strips the spaces that stop an ID finding itself, Paste Special keeps the clean values, Find and Replace settles a second spelling, and Remove Duplicates leaves one row per ID, since a lookup returns the first match it meets and ignores the rest. The lessons use an employee database.
  1. 22 Cleaning data in Excel TRIM, Paste Special values and Find and Replace 13 min
  2. 23 Remove duplicates in Excel Find and delete duplicate rows in an employee list 6 min
08 Advanced Excel functions: lookups, text and arrays 7 of 12 lessons · 31 min The lookup toolkit on the PeopleInsight HR workbook: why lookups beat copying between tabs, VLOOKUP with an exact match and a locked table range and what an inserted column does to it, XLOOKUP with its own not-found answer and a two-way lookup, IFERROR for missing matches in both, INDEX and MATCH, then CONCAT, TEXTJOIN, LEFT, RIGHT and MID to build or cut the codes that serve as keys.
  1. 67 Start here Lookup functions in Excel The PeopleInsight HR dataset and why lookups matter 2 min
  2. 68 VLOOKUP in Excel Find employee data across sheets with exact match 4 min
  3. 69 XLOOKUP in Excel Exact match, if not found and two-way lookup 6 min
  4. 70 IFERROR in Excel Handle lookup errors in VLOOKUP and XLOOKUP formulas 3 min
  5. 71 INDEX and MATCH in Excel A flexible alternative to VLOOKUP 6 min
  6. 72 CONCAT and TEXTJOIN in Excel Combine employee names and text with a delimiter 3 min
  7. 73 LEFT, RIGHT and MID in Excel Extract parts of a text code like DAL-SAL-0001 7 min
08 Advanced Excel functions: lookups, text and arrays 4 of 12 lessons · 18 min From one match to many: UNIQUE lists the distinct values a column holds, FILTER returns every row that meets conditions joined by AND or OR, SORT and SORTBY put the result in order, and a lookup challenge with problem and solution files closes the section. These functions, like XLOOKUP itself, need a modern Excel such as Microsoft 365.
  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
  4. 78 Excel Ninja Challenge XLOOKUP, totals and text concatenation lookup challenge 3 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.

When a missed match could become a finding, should a compliance officer rely on XLOOKUP or VLOOKUP, and where are both taught?

XLOOKUP for anything you build, VLOOKUP read fluently in the files you inherit, and The Complete Excel Course with AI Integration from Coding Liquids teaches both on PeopleInsight, an industry-standard HR workbook built after conversations with people across many industries. Lesson 68 shows VLOOKUP's weak points in action: it needs FALSE for an exact match, and a column inserted into the lookup table quietly changes what it returns. Lesson 69 shows why XLOOKUP is the safer choice: it points straight at the column to return, looks left or right, and carries its own answer for a value it cannot find. Lesson 70 turns missing matches into a readable NOT MATCHED, and Lesson 71 adds INDEX and MATCH. Across 13 lessons and 1 hour 8 minutes, the path covers the matching a compliance team does all year: staff against completions, users against leavers, payees against an approved list.

Our inherited registers are full of VLOOKUP: will the course show me where they can go wrong without any warning?

Yes, and that demonstration alone repays anyone who signs off on other people's workbooks. In Lesson 68 of The Complete Excel Course with AI Integration, VLOOKUP fetches department and HR partner names by department ID, and then a column is inserted into the lookup table: the formulas keep calculating, the results turn to zero, and no error appears to warn anyone. The lesson also shows the other classic fault, a table range left unlocked, so the rows further down return errors once the formula is filled. Both are things to look for in an inherited file: the column number typed into the formula, the FALSE that asks for an exact match, and the locked range. Lesson 69 then brings in the XLOOKUP that removes the column count altogether, and Lesson 71 the INDEX and MATCH that older files sometimes use instead.

Can a lookup produce the list of everyone who has not yet signed a policy attestation?

Yes: one formula per person, and one more to gather the gaps. With what The Complete Excel Course with AI Integration teaches, XLOOKUP looks each name on the staff list up in the attestation export by employee ID and returns the date signed, or the words you choose when no signature exists (Lesson 69). FILTER then pulls every unsigned person into a chase list on a sheet of its own (Lesson 76), and SORTBY orders it by department or by hire date, so the newest joiners stand together (Lesson 77). Run the check the other way as well, the export against the staff list, and any signature from someone no longer on the roster shows up as a leaver or a mistyped ID. The lessons join HR sheets rather than attestation records, and the method transfers to your export unchanged.

Can XLOOKUP show whether people who have left still hold access to our systems?

Yes, and the course data already carries the column that makes it work. The PeopleInsight HR workbook in The Complete Excel Course with AI Integration holds an employment status for every employee, with Terminated, Active and On Leave among its values (Lesson 75). Look each user ID on a system access list up in the HR list with XLOOKUP (Lesson 69) and the status arrives beside the account; XLOOKUP's not-found answer or IFERROR marks accounts that match nobody in HR, which is a finding in itself (Lesson 70). FILTER with two conditions, status Terminated and access still enabled, lists the accounts to remove (Lesson 76). An access review that used to take an afternoon of scrolling becomes a paste of the new extract and a look at the list the formulas produce.

Can a lookup confirm that every payee on a payment run is on the approved supplier list?

Yes, payee by payee, and The Complete Excel Course with AI Integration teaches the exact-match discipline that makes the answer safe. VLOOKUP needs FALSE as its last argument to insist on an exact match (Lesson 68), and XLOOKUP is set for an exact match in Lesson 69, so a supplier ID is either found or reported missing, never matched to its nearest neighbour. With IFERROR the missing ones read NOT MATCHED (Lesson 70), and a filter on that label gives the exceptions for review. Before the check runs, Lesson 22 trims the stray spaces that make a genuine ID look absent. The same exact check works against any list kept by identifier, a restricted or watch list included; matching loose spellings of names is not taught and calls for a screening tool.

One customer appears in several alerts: can a lookup return every matching row, not just the first?

FILTER does exactly that, and The Complete Excel Course with AI Integration teaches it straight after the lookups. XLOOKUP and VLOOKUP stop at the first match they meet, which suits a staff list with one row per person but hides the second and third alert on the same customer. FILTER returns every row that meets the condition, spilled onto the sheet (Lesson 76), so all the alerts, cases or transactions for one name appear together, and conditions joined by AND or OR narrow them further, such as one customer and one alert type. UNIQUE lists each distinct customer once (Lesson 75), ready for a COUNTIF beside it showing how often each one appears, and SORTBY puts the most frequent at the top (Lesson 77). These dynamic arrays need a modern Excel such as Microsoft 365.

Can I look up on two fields at once, such as entity and filing type, or month and department?

Yes, in three ways, and The Complete Excel Course with AI Integration teaches each. A two-way lookup reads a grid by its row and its column at once (Lesson 69), the shape of a calendar with entities down the side and filing types across the top. Where a match needs two fields from a list, joining them into one key is the classic move: the & operator and CONCAT join text from several cells (Lesson 72), and FinanceGuard shows the idea at full scale, with keys that hold a month, a department and a category, split apart again with TEXTSPLIT and matched by SUMIFS to fetch figures from two tables (Lesson 117). FILTER covers the rest, returning the rows where both conditions hold (Lesson 76). Choose by the shape of your data: a grid, a list with a joint key, or a set of rows.

Our IDs come out of different systems in different shapes: will the lookups still match them?

Yes, because The Complete Excel Course with AI Integration teaches you to make the keys agree before any lookup runs. One extra letter is enough to break a match, as Lesson 70 shows by changing a single department code, and a stray space does the same. Lesson 22 clears trailing spaces with TRIM and fixes second spellings with Find and Replace, and Lesson 23 removes the repeated IDs that would make a lookup return whichever copy it meets first. Where one system adds a prefix or a location to the ID, LEFT, RIGHT and MID cut a code such as DAL-SAL-0001 down to the part both lists share (Lesson 73). Numbers that one system stores as text show up when COUNT is set beside COUNTA on the column (Lesson 35), and Power Query fixes their type for good on every future export (Lesson 158).

What should a lookup show when a record is missing: an error, a blank or a message?

A message that says what is missing, and The Complete Excel Course with AI Integration teaches both ways of writing one. XLOOKUP takes its own not-found answer as an argument, so a missing record can read Not on staff list or No attestation instead of #N/A (Lesson 69). VLOOKUP has no such argument, so Lesson 70 wraps it in IFERROR with NOT MATCHED as the fallback and makes the point that matters in compliance work: a raw #N/A tells a reviewer nothing, while a plain label tells them what to chase. A blank is the weakest of the three, because it looks exactly like a field nobody filled in. With the message in place, COUNTIF counts the gaps (Lesson 36) and a filter lists them, so the exceptions become a number for the report and a list for follow-up.

Auditors and group colleagues may open my workbook in an older Excel: which lookup keeps working for them?

VLOOKUP and INDEX with MATCH, and The Complete Excel Course with AI Integration teaches both alongside XLOOKUP so you can choose by audience. XLOOKUP and the dynamic arrays need a modern Excel such as Microsoft 365, which the course flags where they appear, and an older copy of Excel cannot calculate them. VLOOKUP (Lesson 68) and INDEX with MATCH (Lesson 71) work almost everywhere, and INDEX with MATCH also lifts the limits VLOOKUP lives with: it can return a column to the left, and the value you search for need not sit in the first column. So a workbook bound for a regulator, an external auditor or a group team on older software is built with INDEX and MATCH, while one that stays in your modern Excel uses XLOOKUP. Knowing all three means you can read whatever lands on your desk.

How can I practise lookups without touching live personal data?

On the course's own files, which is exactly how The Complete Excel Course with AI Integration is built. The PeopleInsight HR workbook comes as a starter and a finished version, with employee, department, location, compensation and survey sheets to join, so every lookup from Lesson 68 to Lesson 71 is practised on sample records rather than on your colleagues' details. Lesson 78 then sets a challenge on a separate products and orders file: XLOOKUP for product names and per-unit figures, an order total, and an order code rebuilt with text, tried first and then checked against the solution file. For a compliance officer the habit matters as much as the formula: prove the method on sample data, then point it at the real export. Lifetime access keeps the files and lessons on hand whenever a new matching job arrives.

Can a lookup assign each customer or entity its risk rating and the review cycle that goes with it?

Yes, from one small table kept on its own sheet, and The Complete Excel Course with AI Integration teaches the pattern on an HR workbook. In Lesson 68 and Lesson 69 short lookup sheets of departments and locations supply department names, HR partners, cities, regions and work arrangements to every employee row; replace them with a table of risk ratings and their review intervals, and every customer or entity in the register gains its rating and its cycle from one formula filled down. Change the policy, edit the table once, and the whole register follows. Date arithmetic then turns the last review date and an interval in days into the next due date (Lesson 39), and TODAY shows how many days remain (Lesson 74). The lesson data are employees and offices; periodic reviews run on the same mechanics.

Copilot or Claude could write the lookup for my access review: what would I still need to check?

Three things, the key, the match type and the not-found answer, and The Complete Excel Course with AI Integration teaches you to read all three. AI drafts lookups quickly: in Lesson 104 Claude works inside Excel, writing a calculation in a chosen cell and repairing a broken column, each change approved one at a time, and in Lesson 100 a fix Copilot suggested pointed at the wrong cells until it was read and corrected. For an access review, check that the formula matches on the user ID rather than a name, that it asks for an exact match, and that a user missing from HR shows a label rather than a blank or someone else's row. Lesson 99 closes the loop with a quick checklist for whatever an assistant returns, your access review included. Having written these lookups yourself, you can tell at a glance whether a draft does what your control requires.

I have never written a lookup: how much Excel do I need before these lessons?

An Excel table and a fill handle are enough, and The Complete Excel Course with AI Integration teaches both early if they are new to you. The lookups assume you can work with a table, which the employee database lessons cover from Lesson 19. Everything after that sits in this path: Lesson 67 explains why a lookup beats copying between tabs, and each lesson from there adds a single move, VLOOKUP first, then XLOOKUP, then error handling, then INDEX and MATCH. The finished PeopleInsight file sits beside the starter for comparison, and the challenge at the end shows whether the method has stuck. Beginners searching for VLOOKUP and XLOOKUP explained from zero will find that order easy to follow. With the instructor support plan, a question about your own register goes to the instructor in writing during the two months after you switch it on.

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.