The Complete Excel Course with AI Integration

XLOOKUP and VLOOKUP for MBA students

Case packs rarely arrive as one table: orders sit on one sheet, customers or products on another, and the exhibit needs them side by side. The Complete Excel Course with AI Integration teaches the lookups that join them on industry-standard projects, and the run collected here covers VLOOKUP and XLOOKUP, IFERROR, INDEX and MATCH, keys built and split with text formulas, FILTER and UNIQUE, and a budget joined to its actuals by key.

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:

  • Bring a name, a region or a segment from a side table into a case's main table with VLOOKUP and an exact match, the table range locked before the formula is filled down.
  • Write XLOOKUP with a return column of its own and an if-not-found answer, so an inserted column or a missing code never breaks an exhibit.
  • Replace raw #N/A results with a readable message, using IFERROR round VLOOKUP and XLOOKUP formulas and XLOOKUP's own if-not-found argument.
  • Look up in either direction, and by row and column at once, with XLOOKUP's two-way lookup and with INDEX and MATCH on named tables.
  • Build or cut out the key a lookup matches on, joining text with CONCAT, the & operator and TEXTJOIN and extracting parts of a code with LEFT, RIGHT and MID.
  • Return every matching row rather than the first with FILTER, list each distinct key with UNIQUE, and order results with SORT and SORTBY.
  • Line up a budget table and an actuals table on a shared key with SUMIFS, the join beneath any variance analysis.
  • Choose VLOOKUP, XLOOKUP or INDEX and MATCH for a given workbook, knowing which survives an inserted column and which opens in an older Excel.

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 for an HR team, its lookup tables mirror a case pack: a main table keyed by IDs and codes, side tables of departments and locations, and lookups that bring names, regions and partners in beside each row, with IFERROR catching the codes that fail to match.

  • Project 09

    FinanceGuard

    The budget vs actual report finance teams send every month.

    Its model joins two tables on a composite key: SUMIFS pulls each key's budget and actual from separate named tables, and TEXTSPLIT with INDEX splits the key back into department and category, the join a variance case is built on.

  • Project 12

    SalesFusion

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

    Built as a sales reporting pipeline, it shows where a lookup goes once a case dataset outgrows formulas: a merge query that adds product and region names to every row through a left outer join (Lesson 163), set up once and rerun at each refresh.

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

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 1 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 can write a SUM and a SUMIF: the PeopleInsight workbook opens there with the problem lookups solve, related facts spread over separate sheets. Shaky on references? Watch Lesson 10 first, since a lookup copied down without a locked table fails; a complete newcomer to Excel starts from Lesson 1. Already writing VLOOKUP? Go to Lesson 69 for XLOOKUP, then Lesson 117 for the budget join.

13 of 186 lessons · 1 h 1 min

08 Advanced Excel functions: lookups, text and arrays 7 of 12 lessons · 31 min The lookup run in full on the PeopleInsight workbook: why lookups beat copy and paste, VLOOKUP with an exact match and a locked table, XLOOKUP with its own return column, an if-not-found answer and a two-way lookup, IFERROR for codes that fail, INDEX with MATCH, then CONCAT, TEXTJOIN, LEFT, RIGHT and MID to build and split the keys a lookup matches on.
  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 Lookups that return more than one answer: UNIQUE for a distinct list of keys, FILTER for every row that meets AND or OR criteria, SORT and SORTBY for ordered results, then a Ninja Challenge that fills an orders sheet with product names and per-unit figures by XLOOKUP. These need a modern Excel to spill.
  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
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) 2 of 10 lessons · 12 min A two-table join for a budget case: the budget and the actuals set up as named tables, then a model that lists every key once and pulls each side in with SUMIFS, the key itself split by TEXTSPLIT into department and category.
  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.

An MBA case rarely fits on one sheet: is learning XLOOKUP and VLOOKUP online the quickest way to stitch its tables into a single model?

Yes, and The Complete Excel Course with AI Integration from Coding Liquids teaches every lookup a case calls for, online and on worked files. The PeopleInsight workbook, an industry-standard project designed after talking with people from many different industries, spreads its facts the way a case pack does: a main table of IDs and codes, with departments and locations on separate sheets. Lesson 68 joins them with VLOOKUP and an exact match, Lesson 69 with XLOOKUP, an if-not-found answer and a two-way lookup, Lesson 70 handles the errors, and Lesson 71 adds INDEX with MATCH. Text formulas then build and split keys, FILTER and UNIQUE return whole sets of matches, and FinanceGuard joins a budget to its actuals. The lessons use HR records; an orders sheet and a customer list join the same way. The whole run takes 13 lessons and 1 hour 1 minute, short enough to finish before the next case lands.

My professor's templates are full of VLOOKUP, but my own models use XLOOKUP: do I really need both?

Learn both, because case work hands you both, and The Complete Excel Course with AI Integration teaches them side by side on one workbook. VLOOKUP fills older templates and models built by other people, and it opens in every version of Excel, so you need to read it, repair it and extend it (Lesson 68). XLOOKUP is the stronger choice for a model of your own: it points straight at the column it returns, searches left or right and carries its own if-not-found answer (Lesson 69). INDEX with MATCH (Lesson 71) is the third form inherited files contain, and the lesson shows how it lifts the limits VLOOKUP sets. Lesson 70 then handles lookup errors in VLOOKUP and XLOOKUP formulas with IFERROR. After these lessons a professor's template and your own model read equally clearly, whichever lookup each was built on.

Leaving VLOOKUP's last argument blank can put a wrong figure into an exhibit: does the course teach exact matching properly?

The Complete Excel Course with AI Integration sets the exact match deliberately every time, so a lookup never quietly returns a near miss. In Lesson 68, VLOOKUP's last argument is FALSE, which asks for an exact match, and the lesson explains what that argument does rather than leaving it to a default. Lesson 69 gives XLOOKUP a 0 for an exact match alongside its if-not-found answer, and MATCH in Lesson 71 takes 0 for the same reason, returning a position only when the key is really there. For a case exhibit that matters more than speed: a lookup that settles for the nearest code puts a wrong margin or region beside a row, and nothing on the screen looks wrong. The lessons also show the other silent failure, a table range left unlocked so that rows further down return errors, and fix it with F4.

In our group model a teammate inserted a column and every VLOOKUP went wrong: how does the course handle that?

With XLOOKUP and INDEX with MATCH, and The Complete Excel Course with AI Integration shows the break before it shows the cure. In Lesson 68 a column is inserted into the lookup table on purpose and the VLOOKUP results turn to zero, because VLOOKUP counts its return column by number and the count has just shifted; the insert is then undone. Lesson 69 rebuilds the lookups with XLOOKUP, which points at the return column itself, so an inserted column leaves it untouched, and fills in city, state, region and work arrangement by moving the return range a column at a time. Lesson 71 adds INDEX with MATCH, which survives the same insert for the same reason. In a model that several classmates edit, that difference decides whether a late change quietly breaks the exhibits on the night before a submission.

Some codes in my case data have no match in the master list: will the exhibit fill up with #N/A?

You get a readable message instead, and The Complete Excel Course with AI Integration teaches it two ways. Lesson 70 breaks a lookup on purpose by changing one department code so it no longer matches, watches errors appear in both lookup columns, then wraps each VLOOKUP in IFERROR with a NOT MATCHED message; the lesson's title carries the same handling to XLOOKUP formulas. Lesson 69 gives XLOOKUP its own if-not-found answer, typed into the formula itself. The point for a case is the reviewer: a message tells a teammate or a professor which row failed, where a raw #N/A tells them nothing and breaks every total built on it. The lesson's warning is worth keeping, too: a single extra letter in a code is enough to break a match, so a flagged row is often a typing slip in the source rather than a missing record.

Case tables often need one figure by row and column at once, or a key that sits to the right of the value: does the course teach those lookups?

Yes, both, and The Complete Excel Course with AI Integration teaches the two forms case data asks for. VLOOKUP can only look to the right of its key column, which is why Lesson 69 moves to XLOOKUP: its lookup range and its return range are separate, so the value can sit on either side of the key, and the lesson ends with a two-way lookup, the kind that returns one figure by its row and its column together, such as a metric for one region in one period. Lesson 71 builds the classic alternative, INDEX with MATCH: INDEX returns the value at a given row and column of a table, MATCH finds where a key sits, and together they lift VLOOKUP's limits. The lesson finishes with INDEX and MATCH on named tables, returning an HR business partner's name for every row.

The key I need is buried inside a longer code, or split over two columns: can I still look it up?

Yes: The Complete Excel Course with AI Integration teaches you to build the key a lookup needs and to cut one out of a longer code. Lesson 72 joins text with CONCAT, the & operator and TEXTJOIN, so two columns, a region and a product, say, become one value to match on, with the space or separator typed in quotes. Lesson 73 takes codes apart with LEFT, RIGHT and MID, extracting the location, department and ID packed into a position code, the pattern of any product, customer or account code that carries several facts in one cell. FinanceGuard's keys hold a month, a department and a category together, and Lesson 117 splits them with TEXTSPLIT and INDEX while SUMIFS matches on the whole key. The Ninja Challenge in Lesson 78 even reformats order IDs by joining a text prefix to each one.

For a segment analysis I need every matching row, not just the first: does the course go beyond single lookups?

Yes: FILTER returns every row that matches, and The Complete Excel Course with AI Integration teaches it with UNIQUE, SORT and SORTBY in a modern Excel. Lesson 76 filters a table by one condition, then by two at once with AND logic, then by either of two values with OR logic, each result spilling onto the sheet under a heading, the way a segment is pulled out for a case: every account in one region and tier, for instance. Lesson 75 lists each distinct value of a column with UNIQUE, which gives the categories a segment analysis runs over, and Lesson 77 orders results with SORT, and with SORTBY by a column you need not display. All of them update when the source changes, so a revised dataset from the case team redraws the segment by itself. Each needs room to spill outside the table, as Lesson 75 shows.

In a budget-versus-actual case the budget and the actuals come as separate tables: how do I line them up row by row?

With SUMIFS on a shared key, the method FinanceGuard builds in The Complete Excel Course with AI Integration. Lesson 116 turns the budget and the actuals into named tables, and Lesson 117 builds the model: one formula of SORT, UNIQUE and VSTACK lists every key of both tables once and grows by itself when either table gains a month, department or category; SUMIFS against each table's key column then brings budget and actual in beside every key through a mixed reference, and one double-click on the fill handle completes those columns. SUMIFS suits this join because it adds every match, so a key with several lines still returns its full figure, and a key absent from one side shows a zero rather than an error. The lesson's warning matters in a rush: SUMIFS fails if a table's name is off by even one letter.

My cases join orders to customers and products: do the lessons practise anything that close to case data?

Yes: the run closes on a challenge built like a slice of a case pack, and The Complete Excel Course with AI Integration saves it for after the HR lessons. Lesson 78 hands you two sheets, one of orders with blank columns and one of products, and asks for four answers: each order's product name and its per-unit figure fetched by XLOOKUP on the product ID, a line total from that figure and the quantity, and an order reference rebuilt with a text prefix. Try them unaided, then follow the walkthrough and hold your workbook against the solution file. It also teaches a fix worth knowing: an @ in a structured reference reads one row only, and removing it is what lets the lookup see the whole column. Swap the products for customers, or the orders for transactions, and the moves are the ones your next case will ask of you.

If I ask Copilot to join my case's orders and customers, what must I still check myself?

Three things, each taught by The Complete Excel Course with AI Integration well before the AI arrives. First the key: does it match exactly on both sides, or has a stray character left rows unmatched, the failure Lesson 70 produces on purpose? Then the range: does the formula point at the right return column, locked so the rows below still read the table (Lesson 68)? Finally the gaps: what comes back when a code is missing, a message or a raw error? Copilot and ChatGPT do write formula columns, which you verify, in Lesson 95, and Lesson 99 adds a quick checklist for AI output before it counts. Ask an AI to join a case's orders to its customers and it may well get it right; after these lessons you can tell, row by row, when it has not.

Our group model passes between laptops, and some carry an older Excel: which lookup keeps it working for everyone?

Share it as VLOOKUP or INDEX with MATCH whenever a group member's Excel is older, and The Complete Excel Course with AI Integration makes that switch painless by teaching all three joins on one workbook. XLOOKUP and the spilling functions beside it, FILTER, UNIQUE, SORT and SORTBY, belong to a modern Excel, and the course flags each one where it first appears; in an older copy those cells will not calculate. VLOOKUP (Lesson 68) and INDEX with MATCH (Lesson 71) are long-standing functions that an older copy reads as written, and wrapping either in IFERROR (Lesson 70) keeps the exhibit tidy. A practical routine for group work: settle at the kick-off which Excel everyone has, build in the lookup all of you can open, and convert to XLOOKUP later if the whole group moves to a modern Excel.

VLOOKUP tutorials are free online: what does an MBA student gain by learning lookups from a course?

A path from the first VLOOKUP to a budget join, on files you build in, which a free clip does not give. The Complete Excel Course with AI Integration puts the lookups in order on the PeopleInsight workbook: VLOOKUP, XLOOKUP, IFERROR, INDEX with MATCH, then the text formulas for keys and the dynamic arrays, each lesson building on the last, with a starter workbook to work in and the finished one to compare against. The Ninja Challenge tests you on an orders sheet before it shows its solution, and FinanceGuard carries the join into a budget case. You can watch the course page's free lessons before deciding, and finishing the course brings a Certificate of Completion that anyone can verify through its link, with lifetime access for the next case that needs a lookup.

Our case competition is a week away: can I learn lookups in time to use them?

Yes: the run takes about 1 hour 1 minute, and The Complete Excel Course with AI Integration keeps each lesson short enough to fit between classes. The core joins, VLOOKUP, XLOOKUP, IFERROR and INDEX with MATCH, come first, Lesson 67 to Lesson 71, and on their own they cover most of what a case pack asks; the key-building text formulas, the dynamic arrays, the Ninja Challenge and the FinanceGuard join complete the set. Work through them with the starter workbook open and you will have written every lookup yourself rather than watched it written. If time is short, do the core first and the Ninja Challenge in Lesson 78 straight after, since its orders and products are the closest thing in the course to a case's own tables. With lifetime access the rest waits for the week after the competition.

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.