The Complete Excel Course with AI Integration

XLOOKUP and VLOOKUP for management consultants

Every case joins files: a transaction extract to the client's customer list, cost lines to a mapping of functions, sites to regions. The Complete Excel Course with AI Integration teaches management consultants to make those joins with XLOOKUP, VLOOKUP and INDEX with MATCH on industry-standard projects, and picks out the habits around them here: clean keys, missing codes shown plainly, every match returned, and the join moved into Power Query when files grow.

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:

  • Map a client's codes to the names and categories an analysis needs with VLOOKUP, XLOOKUP and INDEX with MATCH, across the sheets of one workbook.
  • Choose the lookup that survives a revised extract: XLOOKUP or INDEX with MATCH where columns move, VLOOKUP only where an older file demands it.
  • Look up an ID that sits to the right of the data, and fetch the figure where a row label and a column header meet with a two-way lookup.
  • Show a chosen message instead of #N/A with XLOOKUP's if-not-found answer or IFERROR, then filter for it to list the codes the client must explain.
  • Clean keys before matching, with TRIM and Find and Replace for stray spaces and spellings, and remove duplicate IDs from a mapping table.
  • Split packed codes with LEFT, RIGHT and MID, and join fields with TEXTJOIN or the ampersand when no single column identifies a row.
  • Return every matching row with FILTER and the distinct codes with UNIQUE, in a modern Excel.
  • Move a join into Power Query with a merge, or into a Power Pivot data model with a relationship, once a client file outgrows formulas.

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 on an HR team's employee, department and location sheets, it trains the joins a case depends on: codes mapped to names by VLOOKUP, XLOOKUP and INDEX with MATCH, gaps shown as messages, and packed codes split so every part can be matched.

  • Project 12

    SalesFusion

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

    Built on a folder of sales files, it moves the lookup off the worksheet: a Power Query merge adds product and region names to every sale at each refresh, and a Power Pivot data model relates the tables so no lookup column is needed.

  • Project 14

    Agentic AI in Excel

    AI finds and fixes the formula; you check it before it counts.

    The course's AI project ends with Claude working inside Excel, repairing a broken formula column one approved change at a time, the help you want when an inherited client workbook stops agreeing with its source.

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 an employee list to tidy, it supplies the key hygiene lookups rely on: stray spaces trimmed, spellings evened out and duplicate IDs removed, so every code in a reference table appears once.

Lessons

The lessons that matter, in course order.

The Complete Excel Course with AI Integration has 186 lessons. This page picks out 14 of them, 1 h 15 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 you already write SUM and IF: the lookup core runs from there to INDEX with MATCH in one sitting. If your client's codes are messy, take the clean-up in Lesson 22 and Lesson 23 first. New to Excel? Begin at Lesson 1. Already fluent in XLOOKUP? Test yourself on the challenge at Lesson 78, then move the join into Power Query at Lesson 163.

14 of 186 lessons · 1 h 15 min

03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) 2 of 9 lessons · 19 min Keys before lookups: TRIM, Paste Special values and Find and Replace remove the stray spaces and stray spellings that make identical codes fail to match, then duplicate IDs are highlighted and removed so a mapping table holds one row per code. The lessons clean an employee list.
  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 5 of 12 lessons · 21 min The lookup core on an HR workbook: why lookups replace copying between tabs, VLOOKUP with an exact match and a locked table range, XLOOKUP with its if-not-found answer and a two-way lookup, IFERROR for VLOOKUP's gaps, and INDEX with MATCH for lookups in any direction that survive inserted columns.
  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
08 Advanced Excel functions: lookups, text and arrays 2 of 12 lessons · 10 min Building and splitting keys: CONCAT, the ampersand and TEXTJOIN to join fields, then LEFT, RIGHT and MID to cut a packed code such as DAL-SAL-0001 into the parts a mapping table can match.
  1. 72 CONCAT and TEXTJOIN in Excel Combine employee names and text with a delimiter 3 min
  2. 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 2 of 12 lessons · 10 min Beyond the first match: UNIQUE spills the distinct codes a file holds, ready to set against a mapping table, and FILTER returns every row that meets one rule or several, with AND and OR logic. Both need a modern Excel.
  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
08 Advanced Excel functions: lookups, text and arrays 1 of 12 lessons · 3 min A lookup challenge to solve alone: product names and per-unit figures fetched by XLOOKUP onto an orders sheet, a line total and order IDs rebuilt with joined text, and the stray @ that breaks a whole-column lookup found and fixed.
  1. 78 Excel Ninja Challenge XLOOKUP, totals and text concatenation lookup challenge 3 min
15 SalesFusion: advanced data tools and a Power Query modelling system 1 of 21 lessons · 5 min Lookups at the scale of a client data set: a Power Query merge brings product and region names in beside every sales row through a left outer join, and reruns at each refresh instead of being filled down again.
  1. 163 Merge queries in Power Query Look up product and region names with a left join 5 min
15 SalesFusion: advanced data tools and a Power Query modelling system 1 of 21 lessons · 6 min Relationships in place of lookup columns: sales, product and region tables related one to many in a Power Pivot data model and mapped in Diagram View. This lesson needs Excel for Windows.
  1. 169 Power Pivot Data Model in Excel Relationships and Diagram View 6 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.

Client workbooks arrive full of VLOOKUP while new models want XLOOKUP: can one course make a management consultant fluent in both?

Yes. The Complete Excel Course with AI Integration from Coding Liquids teaches VLOOKUP, XLOOKUP and INDEX with MATCH side by side on one industry-standard HR workbook, so you learn where each fits and why each breaks. VLOOKUP with an exact match (Lesson 68) is the formula you will meet in inherited client files; XLOOKUP with its own if-not-found answer and a two-way lookup (Lesson 69) is the one to write into a new model; INDEX with MATCH (Lesson 71) reads in any direction. IFERROR turns a failed match into a readable message (Lesson 70). Around them sit the habits a consultant needs: clean keys, one record per code, every match returned with FILTER, and the join moved into Power Query when files grow. This path runs 14 lessons, 1 hour 15 minutes in all, on projects designed after talking with people from many different industries.

Why do so many client files still run on VLOOKUP when XLOOKUP exists?

Because many client workbooks were built before XLOOKUP arrived, and some clients still run an Excel without it, so The Complete Excel Course with AI Integration teaches both and shows exactly where each breaks. In Lesson 68, VLOOKUP fetches department names with column index 2 and FALSE for an exact match; then a column inserted in the lookup table turns the results to zero, the classic fault of a formula that counts columns by number. Lesson 69 shows why XLOOKUP is sturdier: it points straight at the return column and searches left or right. The course flags XLOOKUP among the functions that need a modern Excel, so a model going to a client on an older version is better written with INDEX and MATCH (Lesson 71), which has neither weakness. Knowing all three, you can read the old file, repair it and pick the right formula for the next one.

Which lookup survives when a client adds or moves columns in its export?

XLOOKUP and INDEX with MATCH, and The Complete Excel Course with AI Integration demonstrates the difference rather than asserting it. In Lesson 68, a column inserted into the lookup table quietly turns VLOOKUP's answers to zero, because its column index still counts to the old position. Lesson 69 builds XLOOKUP with a separate lookup range and return range, so an inserted column moves nothing it depends on, and Lesson 71 gets the same safety from INDEX for the return column and MATCH for the position. For a consultant this matters every time the client sends a revised extract with an extra field: a model built on XLOOKUP absorbs the change, while one built on VLOOKUP returns wrong numbers that look right. The lessons also turn the lookup sheets into named Excel tables, which take in new rows as they arrive.

Can I look up a client ID that sits to the right of the data I need?

Yes, with XLOOKUP or INDEX and MATCH, and The Complete Excel Course with AI Integration explains why VLOOKUP cannot. VLOOKUP needs the value it searches for in the first column of its table and reads only to the right, so an export with the ID in its last column defeats it. Lesson 69 shows XLOOKUP searching left or right, because it takes the column to search and the column to return as two separate arguments. Lesson 71 reaches the same freedom with INDEX and MATCH: MATCH finds the row's position, with 0 for an exact match, and INDEX returns whatever column you name at that position. Client systems rarely export columns in the order an analysis wants, so this is the lookup you reach for most on a case, and the lessons leave you able to choose between the two with confidence.

Can lookups map a client's raw codes to the categories my analysis uses?

Yes, and mapping tables are the whole subject of the lookup lessons. In The Complete Excel Course with AI Integration, the HR workbook keeps its departments and locations on lookup sheets, and each lesson maps a code to the names an analysis needs: department codes such as SAL and ENG to department names and HR partners with VLOOKUP (Lesson 68), location codes to city, state, region and work arrangement with XLOOKUP (Lesson 69). Where one code packs several facts into a single string, Lesson 73 cuts it apart with LEFT, RIGHT and MID, so the department or site part can be matched on its own. On a case, the same pattern maps cost centres to functions, SKUs to product families and branch codes to regions, and the mapping table becomes a visible, reviewable record of how every row was classified.

What appears on the page when a code is missing from my mapping table?

A message you chose instead of #N/A, and The Complete Excel Course with AI Integration teaches two ways to put it there. XLOOKUP carries its own if-not-found argument, so Lesson 69 returns n/a for an unknown location code with nothing wrapped around it. For VLOOKUP, Lesson 70 breaks one department code on purpose, watches both lookup columns fill with errors, then wraps each in IFERROR so the cells read NOT MATCHED. One stray letter is all it takes to break a match, the lesson warns, and a plain label tells a reviewer what happened where #N/A leaves them guessing. On an engagement that label becomes a work list: filter the column, copy the unmapped codes into the data request, and send them back to the client team before any total built on them goes into the steering pack.

Why does a lookup fail on codes that look identical, and does the course fix that?

Usually a hidden difference in the key, and The Complete Excel Course with AI Integration teaches the clean-up that removes it. A trailing space makes two codes that look the same fail an exact match; Lesson 22 strips such spaces with TRIM in a helper column, pastes the clean values back with Paste Special and evens out spellings with Find and Replace. A code typed as a number in one file and held as text in another fails the same way, and the COUNT against COUNTA check in Lesson 35 exposes a column of numbers held as text before you rely on it. On larger files, Power Query sets each column's data type once and applies it at every refresh (Lesson 158). Cleaning keys first is the habit consulting teams preach, and it is what turns a lookup from mostly right to right.

A client's master list holds the same code twice: what does that do to my lookups?

It hides the second record, because a lookup returns the first match it finds, and The Complete Excel Course with AI Integration teaches you to catch the repeat before it costs you. Lesson 23 highlights repeated IDs with the Duplicate Values rule, then removes them three ways: Expand the selection deletes whole rows, Continue with the current selection clears values from one column only, and a table filter lets you choose which of two records goes. Its test, one ID for one record like a passport number, is the right test for any mapping table a client sends. Lesson 75 then spills the distinct codes with UNIQUE, so you can set the codes in the data beside the codes in the mapping table and see what is missing or repeated before a single figure is fetched.

Can one formula fetch a figure by row and column at once, such as a region against a month?

Yes, and The Complete Excel Course with AI Integration names it in a lesson title: XLOOKUP with an exact match, an if-not-found answer and a two-way lookup (Lesson 69). A two-way lookup finds the value where a row label and a column header meet, such as one region's figure for one month in a grid, which is the shape of most summary tables a client sends. Lesson 71 builds the other classic route, INDEX and MATCH: INDEX returns the cell at a given row and column of a table, and MATCH finds the position with 0 for an exact match. Together they let a model pull the right cell from a client's benchmark grid or rate card as the inputs change, instead of someone copying it in by hand. The lessons work on employees and locations; a grid of regions against months reads the same way.

What if I need every matching row from a client file, not just the first?

FILTER returns them all, and The Complete Excel Course with AI Integration teaches it on the same HR data as the lookups. XLOOKUP and VLOOKUP stop at the first match; Lesson 76 has FILTER spill every row that meets a rule: all employees at one location code, all at one job level, then rules combined, with the asterisk working as AND and the plus sign as OR. On a case that means every transaction for one customer, every supplier in two categories, every account above a threshold in one region, delivered as a live list that updates when the data does. Lesson 75 adds UNIQUE for the distinct list of codes, and both need room to spill outside a table. These dynamic array functions need a modern Excel, which the course points out where they appear.

Are VLOOKUP, XLOOKUP and INDEX MATCH the whole story, or does lookup work move elsewhere on big client files?

They are the core, and The Complete Excel Course with AI Integration takes lookups further, to where large client files need them. All three formulas are taught: VLOOKUP (Lesson 68), XLOOKUP (Lesson 69) and INDEX with MATCH (Lesson 71). When a file outgrows formulas filled down thousands of rows, SalesFusion, the course's Power Query project, moves the join into a query: Lesson 163 merges sales rows with product and region tables through a left outer join, so the names arrive at every refresh. Lesson 169 goes a step further and relates the tables in a Power Pivot data model, where a relationship replaces the lookup column altogether; that lesson needs Excel for Windows. Nothing has replaced XLOOKUP in the cell: the merge and the relationship are the same idea at the scale of a whole client data set.

A client hands over a workbook of someone else's lookups: will I be able to audit and repair them?

Yes: The Complete Excel Course with AI Integration teaches you to read a lookup's parts and the fault each one causes. Lesson 68 shows two classic VLOOKUP faults as they happen, a table range left unlocked so rows further down return errors, and a column inserted in the lookup table that turns answers to zero, and explains why FALSE, the exact match, belongs in almost every client lookup. Lesson 78 adds a subtler one: an @ in a table reference takes only the current row, which breaks a lookup that needs the whole column. The Insert Function dialog (Lesson 38) lays out any formula's arguments one by one, and Claude in Excel (Lesson 104) repairs a broken column while you approve each change. Inheriting a client's model, you find quickly why its numbers disagree with the source, then rewrite the fragile lookups in XLOOKUP.

Which finished workbooks do I keep from these lessons to reopen on my next engagement?

A finished HR analytics workbook and a solved lookup challenge, both yours to reopen on any engagement. In The Complete Excel Course with AI Integration, PeopleInsight, the course's HR workbook, starts as an employee sheet full of codes and ends with department names and HR partners fetched by VLOOKUP and INDEX with MATCH, city, state, region and work arrangement by XLOOKUP, messages in place of #N/A, full names joined with TEXTJOIN, position codes split into their parts, and spilled lists of distinct values and filtered employees beside the table. The Ninja Challenge (Lesson 78) then hands you an orders sheet to complete alone: product names and each product's per-unit figure by XLOOKUP, a line total, and order IDs rebuilt by joining a text prefix. The starter and finished files of each let you check every column against a working answer.

How soon can I make these joins on a live case, and will a Mac do?

Soon: the whole path is 1 hour 15 minutes, and the core comes first. By Lesson 71 you have written all three lookups in The Complete Excel Course with AI Integration on its HR data, with the starter file and the finished workbook to compare against, which is enough to join a client's transaction file to its master lists that same week. The lessons after it deepen the habit: clean keys, duplicates, FILTER and the Power Query merge. On a Mac, every lesson here runs in Excel from Microsoft 365 apart from Lesson 169, whose Power Pivot data model needs Excel for Windows. XLOOKUP, FILTER and UNIQUE need a modern Excel, and the course says so where they appear. Lifetime access keeps the lessons ready for the next engagement, and completing the course earns a Certificate of Completion with a verification link an employer can check.

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.