The Complete Excel Course with AI Integration

XLOOKUP and VLOOKUP for financial controllers

Accounts to pack lines, entity codes to names, rates to each line of a schedule: a controller's month runs on lookups, and one wrong match moves a figure without a warning. The Complete Excel Course with AI Integration teaches VLOOKUP, XLOOKUP and INDEX with MATCH on industry-standard projects, and this page picks out the lessons a controller needs: exact matches, not-found labels, keys from several codes, every match with FILTER, a two-sided list and a Power Query merge.

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 account codes to the lines of the monthly pack with XLOOKUP, exact by default and pointed at its return column, so a column inserted in the mapping table changes nothing.
  • Keep the VLOOKUP templates the team already runs, with FALSE for an exact match and the table range locked, and know when a template is worth moving to XLOOKUP.
  • Decide how an unmapped account appears: XLOOKUP's own not-found answer or IFERROR returns a label you can count, never a zero that hides a gap in a total.
  • Pair records on two codes at once, such as entity and counterparty, by joining them into one key with & or TEXTJOIN, and cut a segmented account string apart with LEFT, RIGHT and MID.
  • Fetch a value from a grid by row and column with a two-way lookup, and look in either direction with XLOOKUP or with INDEX and MATCH.
  • Bring back every line that meets a condition with FILTER, list each code once with UNIQUE and order the result with SORT and SORTBY.
  • Build a reconciliation list from two sources with SORT, UNIQUE and VSTACK, so an item held on one side only still appears, and fetch each side's figure beside it.
  • Map codes for every row of every future export with a Power Query merge, and keep worksheet lookups for the pack's own review sheets.

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.

    Master data in miniature: coded rows on one sheet and lookup tables of departments and locations on others, the same shape as ledger lines beside a chart of accounts and an entity list, so each mapping a controller writes, and every missing code it must catch, is practised here first.

  • Project 09

    FinanceGuard

    The budget vs actual report finance teams send every month.

    Lookups meeting the monthly report: budget and actual in two named tables joined through one key of month, department and category, every key from both sides listed once by SORT, UNIQUE and VSTACK, and SUMIFS fetching each side's figure, the pattern of a reconciliation where an item held on one side only still gets its row.

  • Project 12

    SalesFusion

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

    The lookup done once for a whole table: a Power Query merge adds product and region names beside their codes through a left outer join, the right home for a mapping that must reach every row of every month's export at a 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 2 min of video. Each lesson keeps its number in the course.

Where to start

Lesson 67 Lookup functions in Excel

Start at Lesson 67: the lookups begin there on a workbook of their own and need nothing from earlier projects. If SUMIFS is still new, take Lesson 37 first, since the reconciliation pattern leans on it; if Excel itself is new, Lesson 1 is the way in. Fluent in VLOOKUP already? Begin at Lesson 69 with XLOOKUP. The merge in Lesson 163 reads queries built from Lesson 153, so take SalesFusion from its start if you have not.

13 of 186 lessons · 1 h 2 min

08 Advanced Excel functions: lookups, text and arrays 5 of 12 lessons · 21 min The lookup core on one HR workbook: why lookups replace copying between tabs, VLOOKUP with an exact match and a locked table range, XLOOKUP with its own not-found answer and a two-way lookup, IFERROR to turn a failed match into a message a reviewer understands, and INDEX with MATCH for templates built the older way.
  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 Keys for a controller's codes: CONCAT, the & operator and TEXTJOIN join several codes into one key to match on, and LEFT, RIGHT and MID cut a packed code into its parts, as a segmented account string needs.
  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 4 of 12 lessons · 18 min The lists a review sheet needs: UNIQUE for each code once, FILTER for every line that meets AND or OR conditions, SORT and SORTBY to put them in order, then a lookup challenge solved before its answers are shown. These dynamic arrays 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
  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) 1 of 10 lessons · 8 min FinanceGuard's model: one list of keys from two tables with SORT, UNIQUE and VSTACK, each key split by TEXTSPLIT, and SUMIFS fetching budget and actual through it, the build of a two-sided reconciliation.
  1. 117 Budget vs actual model in Excel SORT, UNIQUE, VSTACK, LET, TEXTSPLIT, SUMIFS 8 min
15 SalesFusion: advanced data tools and a Power Query modelling system 1 of 21 lessons · 5 min A merge in Power Query: product and region names joined to every sales row with a left outer join, so no row is lost and the mapping repeats on each refresh. It reads the SalesFusion queries built in the lessons before it.
  1. 163 Merge queries in Power Query Look up product and region names with a left join 5 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 does a financial controller put XLOOKUP and VLOOKUP to work, and where are they taught on real workbooks?

On every mapping the month depends on, and The Complete Excel Course with AI Integration from Coding Liquids teaches both on industry-standard projects. A controller's lookups give each account its line in the pack, each entity code its name and each cost centre its owner, and they flag any code the mapping does not know before a total is struck. This page picks out 13 lessons, 1 hour 2 minutes in all: VLOOKUP and XLOOKUP side by side with IFERROR and INDEX with MATCH, keys built from several codes or cut out of one, FILTER, UNIQUE and SORT for the lists a review needs, FinanceGuard's two-sided list of keys and a Power Query merge. The projects were designed after talking with people from many different industries, and each comes with a finished workbook to check yours against, so the habits are proven before they touch the live pack.

Should my team standardise on XLOOKUP, or keep VLOOKUP so our files still open in an older Excel?

XLOOKUP for new work wherever everyone runs a modern Excel, and VLOOKUP where a file must still open in an older one; The Complete Excel Course with AI Integration teaches both, so you can set that standard with confidence. Lesson 68 writes VLOOKUP with FALSE for an exact match and shows its weak point live: insert a column into the lookup table and the results turn to zeros, because VLOOKUP counts its columns by number. Lesson 69 writes XLOOKUP, which points straight at the column to return, looks left as easily as right and carries its own answer for a missing code. The course flags XLOOKUP and the dynamic arrays as modern Excel when they first appear. For a pack template that several people edit every month, those differences decide how often a mapping fails without anyone noticing.

When an account is missing from the mapping, should the pack show a zero, a label or an error?

A label, and The Complete Excel Course with AI Integration shows both ways to produce one. A zero is the risky choice: the line falls out of its total and nothing on the page admits it. A raw #N/A at least stops the eye, but it tells a director nothing. Lesson 69 gives XLOOKUP its own answer for a code it cannot find, and Lesson 70 breaks a code on purpose, a single letter is enough, then wraps the VLOOKUP formulas in IFERROR so the cells read NOT MATCHED; for XLOOKUP the built-in answer does that job without IFERROR. Once every unmapped line carries the same label, a COUNTIF on it (Lesson 36) says how many accounts still need mapping before the pack can close, and the label shows the preparer exactly where to look.

What should I check in a lookup before I sign off a schedule that depends on it?

Five things, and The Complete Excel Course with AI Integration teaches the reason behind each one. The match type: VLOOKUP needs FALSE for an exact match, or a near neighbour can come back in its place (Lesson 68). The locked range: errors or zeros that appear only further down a column usually mean the table range was not locked before filling down (Lesson 68 and Lesson 69). The column count: a VLOOKUP's number goes stale when someone inserts a column, while XLOOKUP and INDEX with MATCH name their return column (Lesson 71). The not-found answer: a visible label, never a silent blank. The table reference: an @ in a structured reference reads one row instead of the whole column, and in Lesson 78 removing it clears the error. Run those checks and you can sign a lookup off; skip them and you are only trusting it.

Intercompany balances have to be paired by two entity codes: can a lookup match on both at once?

Yes, through one key built from both codes, and The Complete Excel Course with AI Integration teaches each half of the method. Lesson 72 joins text with the & operator and with TEXTJOIN, which puts a separator of your choice between the parts, so entity and counterparty become a single code to look up with XLOOKUP. FinanceGuard runs on the same idea: every line carries one key of month, department and category split by a separator, SUMIFS matches budget to actual through it, and TEXTSPLIT takes the key apart again when a report needs the pieces (Lesson 117). For intercompany, build each side's key so both read the same pair of codes, and the two balances meet on one row, with any unpaired item flagged by the not-found label. Eliminations are not taught and stay your judgement; the pairing becomes a formula you fill down.

Our month-end rates sit in a grid, codes down the side and months across the top: can one formula fetch the right rate for each line?

Yes: that is a two-way lookup, and The Complete Excel Course with AI Integration names it in the title of Lesson 69, XLOOKUP in Excel: exact match, if not found and two-way lookup. A two-way lookup finds the row for the code and the column for the month and returns the cell where they cross, so each line of a schedule picks up its own rate as the period changes. Lesson 71 teaches the other route, INDEX with MATCH, where MATCH returns a position and INDEX reads the value found there, which is how many older templates do the same job. The lessons work on HR codes and location tables; a grid of rates, allocation shares or budget figures reads exactly the same way. Your translation method stays yours; fetching the right rate for every line becomes one formula.

XLOOKUP stops at the first match: how do I bring back every line for one account or entity?

With FILTER, the function made for that job, and The Complete Excel Course with AI Integration teaches it in Lesson 76. FILTER returns every row that meets a condition and spills them below the formula, so all of one entity's lines, or every posting to one account, land on a review sheet at once and change when the data does. Conditions combine: an asterisk between them means AND and a plus sign means OR, so lines for one entity above a limit, or lines for either of two entities, take one formula each. UNIQUE lists each code once (Lesson 75), and SORT and SORTBY order the result by a column you choose, even one you leave off the sheet (Lesson 77). Nothing has replaced XLOOKUP; FILTER works beside it for every match, and both need a modern Excel.

The lookup lessons use an HR dataset: will they carry over to a chart of accounts and an entity list?

Yes, almost formula for formula, because the shapes are the same. In The Complete Excel Course with AI Integration the PeopleInsight workbook holds coded rows on one sheet and lookup tables on others: department codes resolved to department names and their business partner, location codes resolved to city, region and working arrangement. Swap the employee rows for ledger lines, the department table for your chart of accounts and the location table for your entity list, and every formula from Lesson 68 to Lesson 71 reads the same way. The position codes of Lesson 73, location, department and number packed into one string, are cut apart with LEFT, RIGHT and MID, just as a segmented account string is. The lessons use HR records; your finance files work identically, and practising on the course's data keeps the live pack safe while you learn.

If our consolidation already runs through Power Query, where do XLOOKUP and VLOOKUP still earn their keep?

On every sheet the queries do not reach, and The Complete Excel Course with AI Integration teaches both tools so each gets its proper job. In SalesFusion a merge with a left outer join adds names to codes for every row the query loads, and next month's file receives the same mapping at a refresh (Lesson 163). The pack itself is another matter: review sheets, commentary tables, a one-off file from a subsidiary, a check that sets a reported figure beside its source. Those are worksheet lookups, written in a cell and read by whoever reviews it, and that is where XLOOKUP, VLOOKUP and INDEX with MATCH belong (Lesson 68 to Lesson 71). A controller fluent in both can move a mapping into the query when it repeats every month, and leave it on the sheet when it does not.

Can lookups help me reconcile a subledger to the general ledger, account by account?

Yes, and The Complete Excel Course with AI Integration supplies every piece of that schedule. Begin with one list of accounts drawn from both sides: in FinanceGuard, SORT, UNIQUE and VSTACK combine the keys of two tables into one sorted list, so a key present on only one side still gets its own row (Lesson 117). Beside each account, SUMIFS totals the subledger (Lesson 37) and XLOOKUP brings in the ledger balance, with a not-found label for any account the ledger lacks (Lesson 69). A difference column finishes the schedule, and FILTER lists only the accounts whose difference is not zero (Lesson 76). The lessons build it on budget and actual tables; a subledger and a trial balance fit the same pattern. Next month the list of keys grows by itself, and one double-click on the fill handle completes the columns beside it.

Several people work in our pack template: how do I stop their edits breaking the lookups?

By choosing formulas that survive editing and then locking what must not move, and The Complete Excel Course with AI Integration covers both. XLOOKUP names its return column, so an inserted column leaves it intact (Lesson 69), and INDEX with MATCH does the same in files that also have to open in an older Excel (Lesson 71). Turning each mapping range into a named Excel table, as Lesson 71 does on the Table Design tab, lets a formula read the table by its name and take in new rows as the table grows. TaskFlow's protection lesson then sets which cells stay locked, protects the sheet and protects the workbook's structure, so no sheet can be deleted or renamed by accident (Lesson 86). A template built that way keeps its mappings whole through a month of other people's hands.

I left lookups to my team for years: can I get back up to speed quickly enough to review their work?

Yes, in about 1 hour 2 minutes, and The Complete Excel Course with AI Integration is laid out for exactly that kind of return. Lesson 67 sets out why lookups exist at all, linking sheets through a shared code instead of copying between tabs, and the lessons after it take one function each: VLOOKUP, XLOOKUP, IFERROR, then INDEX with MATCH, all on the same workbook so the differences stand out. Lesson 78 then sets a challenge to solve before the solution is shown, the honest test of whether you could spot a fault in someone else's formula. The lessons are short, the starter and finished files come with the course, and the instructor support plan answers your questions in writing for two months from the day you switch it on. Lifetime access keeps every lookup lesson open for the next template you inherit.

The pack is due and a lookup column shows #N/A: can Copilot or Claude find the fault for me?

They can help, and The Complete Excel Course with AI Integration teaches you to check what they offer before it stands. In Lesson 100 an error forced into a formula brings up Copilot's offered fix, and the fix itself needs reading: it added up the wrong cells. In Lesson 104 Claude in Excel calculates a profit percentage on request and repairs an error in another column, one permitted change at a time. Neither replaces knowing what a sound lookup looks like, and the lookup lessons give you exactly that: a code that differs by one letter, an unlocked range or a stale column number become faults you can name on sight once you have built and broken them yourself (Lesson 70). AI can shorten the search; the sign-off on the pack stays yours.

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.