The Complete Excel Course with AI Integration
XLOOKUP and VLOOKUP for credit controllers
Cash arrives with a remittance that quotes invoice numbers, the aged debt report needs each customer's limit and terms from the master list, and a colleague's file still runs on VLOOKUP. The Complete Excel Course with AI Integration teaches the lookups for all three on an industry-standard workbook, and this page picks out the lessons a credit controller needs: VLOOKUP and XLOOKUP, IFERROR, INDEX and MATCH, keys built from text, then FILTER for every open item.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Bring each customer's credit limit, payment terms and account manager into the aged debt report from the customer master with XLOOKUP, its ranges locked so it fills down the whole ledger.
- Match each receipt or remittance line to its open invoice by invoice number, and have XLOOKUP write Unmatched itself when the ledger holds no such invoice.
- Read and repair the VLOOKUP formulas in inherited workbooks: an exact match, a locked table, IFERROR round the misses, and the column number that an inserted column breaks.
- Look to the left of the key with XLOOKUP or INDEX and MATCH, when the customer code sits to the right of the name or region you need.
- Join customer code and invoice number into one key with CONCAT or the ampersand, so a lookup on two conditions finds the right line.
- Cut the invoice number out of a remittance reference with LEFT, RIGHT and MID when it sits at a fixed place in the text.
- List every open invoice of one customer with FILTER, and each customer once with UNIQUE, instead of the single match a lookup returns.
- Read one figure from a grid by its row and its column at once with a two-way XLOOKUP, such as the limit for one risk band and one customer type.
Projects
What you will build.
The course has 14 industry-standard projects. These two matter most here.
-
Project 06
PeopleInsight HR workbook
Employee data joined across sheets with one formula.
Its lookup sheets stand in for a customer master: codes on one sheet, names, regions and arrangements on another, fetched by VLOOKUP, XLOOKUP and INDEX with MATCH, then broken on purpose with a mistyped code so you meet an unmatched line before it reaches a report.
-
Project 01
Personal Budget Tracker
Your first workbook: where the money goes each month.
Where the lock on a cell is learnt, on a tax rate that every row reads: the same lock that keeps a lookup's range from sliding down the sheet while a matching formula fills a long ledger.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 11 of them, 47 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 IF and SUMIFS: the lookups begin there, on a workbook of separate sheets that behaves like a customer master beside a ledger. Formulas still new? Take Lesson 10 first, then Lesson 28, or begin at Lesson 1 if Excel itself is new. Know VLOOKUP already? Go to Lesson 69 for XLOOKUP and its not-found answer, then Lesson 76 for every open item of one customer.
11 of 186 lessons · 47 min
01 Microsoft Excel fundamentals: building a foundation from scratch Locked references: a rate in one cell, fixed with F4 while a formula fills down, and the mixed kind that fixes only a row or a column. A lookup's range needs that lock, or the matches further down the ledger slide off the master list and return errors.
- 10 Relative vs absolute references in Excel Dollar signs and mixed references 3 min
08 Advanced Excel functions: lookups, text and arrays The matching core, on an HR dataset with separate lookup sheets: why lookups end copying between tabs, VLOOKUP with an exact match and a locked table, XLOOKUP with its own not-found answer and a two-way lookup, IFERROR for misses in both, INDEX and MATCH for a lookup to the left, CONCAT, TEXTJOIN and the ampersand to build a key from two columns, and LEFT, RIGHT and MID to cut a code into its parts.
- 67 Start here Lookup functions in Excel The PeopleInsight HR dataset and why lookups matter 2 min
- 68 VLOOKUP in Excel Find employee data across sheets with exact match 4 min
- 69 XLOOKUP in Excel Exact match, if not found and two-way lookup 6 min
- 70 IFERROR in Excel Handle lookup errors in VLOOKUP and XLOOKUP formulas 3 min
- 71 INDEX and MATCH in Excel A flexible alternative to VLOOKUP 6 min
- 72 CONCAT and TEXTJOIN in Excel Combine employee names and text with a delimiter 3 min
- 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 For a key with many matches: UNIQUE for the distinct values of a column, such as each customer with an open balance, and FILTER for every row meeting one condition or several, such as each open invoice of the customer on the phone. Both need a modern Excel.
- 75 UNIQUE function in Excel Extract a distinct list with dynamic arrays 6 min
- 76 FILTER function in Excel Dynamic array filtering with AND and OR criteria 5 min
08 Advanced Excel functions: lookups, text and arrays A lookup challenge on an orders sheet and a products sheet: names and per-unit figures fetched by ID, a line total worked out and order IDs rebuilt with a text prefix, solved alone before the answer is shown.
- 78 Excel Ninja Challenge XLOOKUP, totals and text concatenation lookup challenge 3 min
Instructors
Who teaches it.
Instructor, Excel with AI
Virginia Thorn
Emmy Award winner. Teaches Excel with AI at Coding Liquids.
Questions
Asked before starting.
Remittances to match, credit limits to fetch, inherited VLOOKUP files to fix: which XLOOKUP and VLOOKUP lessons does a credit controller need?
XLOOKUP for your own files, VLOOKUP for the ones you inherit, and the handful of functions around them: The Complete Excel Course with AI Integration from Coding Liquids teaches all of it side by side on an industry-standard workbook designed after talking with people from many different industries. XLOOKUP looks left or right, returns a message of your choosing when no match exists, and keeps working when a column is inserted. VLOOKUP has to be read and repaired, because inherited aged debt reports and colleagues on older Excel still run on it. INDEX and MATCH, IFERROR, keys joined from two columns, text cut from a reference and FILTER for every open item complete the set. This page picks out the 11 lessons that teach them, 47 minutes in all, each a worked example on separate lookup sheets that behave exactly like a customer master beside a ledger. You build every formula yourself and check it against the finished workbook.
Why do people still use VLOOKUP when XLOOKUP exists, and does a credit controller need it?
Mostly because the workbooks already exist, and yes, you need it to keep them honest. Aged debt reports, statement files and customer masters built years ago are full of VLOOKUP, and XLOOKUP needs a modern Excel, so a colleague on an older one sees an error where your formula stands. The Complete Excel Course with AI Integration teaches VLOOKUP properly in Lesson 68: an exact match with FALSE, the table locked with F4 before it fills down, and the column number counted from the left. The lesson then inserts a column into the lookup table and watches the results turn to zeros, which is exactly how a credit limit column goes wrong after someone adds a field to the master list. Lesson 70 wraps VLOOKUP in IFERROR for the codes that do not match. Knowing both lets you repair an old file and write the new one properly.
What makes XLOOKUP the safer choice for an aged debt report?
Four habits of the function, each shown in Lesson 69 of The Complete Excel Course with AI Integration. It points straight at the column to return, so inserting a column into the customer master leaves the formula untouched, where VLOOKUP's column number would quietly read the wrong field. It looks left or right, so the key need not sit in the first column. Its if-not-found argument holds a message of your own, so a missing customer reads Check account instead of #N/A. And an exact match is what it gives unless told otherwise, so a customer code is never paired with its nearest neighbour by accident. The lesson puts this to work on location codes, filling down city, state and region for every row, then copying the formula across for more columns. Lock the ranges first, the lesson warns, or the rows lower down return zeros or errors.
The customer code sits to the right of the name I need: can a lookup look left?
Yes, and The Complete Excel Course with AI Integration gives you two routes to the left of the key. XLOOKUP takes one range to search and a separate range to return, in either direction, so the customer code can sit in the last column and the name or account manager still comes back (Lesson 69). INDEX and MATCH (Lesson 71) do the same in every version of Excel: MATCH finds the row where the code sits, and INDEX returns the value from whichever column you name, left or right. The lesson builds it first on a small location table, then on named tables with the @ reference for the current row, and fills it down. VLOOKUP cannot do this, because it searches only the first column of its table and returns from columns to its right. For an exported aged debt listing whose layout you do not control, that freedom saves rearranging columns every time the export changes.
Can the formula write Unmatched itself when a remittance quotes an invoice the ledger does not hold?
Yes, and The Complete Excel Course with AI Integration teaches both ways of doing it. XLOOKUP has an argument for exactly this: in Lesson 69 it returns a message of your own when no match exists, so a remittance line naming an invoice that is not on the ledger reads Unmatched rather than #N/A. For VLOOKUP, Lesson 70 wraps the formula in IFERROR with NOT MATCHED as the fallback, after changing one department code so that it no longer matches, which shows how one extra letter breaks a lookup. On a cash allocation sheet, filter that column for the message and you hold the list of receipts still to explain: the short payments, the wrong references and the invoices raised to another account. A word on the line tells whoever reviews the sheet what went wrong; a raw error tells most people nothing.
How do I use XLOOKUP with two conditions, such as customer and invoice number together?
Join the two into one key, and The Complete Excel Course with AI Integration teaches the joining. Lesson 72 combines text with CONCAT, with the ampersand and with TEXTJOIN and its delimiter, so a helper column that reads customer code, a dash and invoice number gives every open item a key no other line shares. Build the same key on the receipts sheet and an ordinary XLOOKUP (Lesson 69) matches on both conditions at once, which matters when two customers use the same invoice numbering or a reference repeats from one year to the next. Where you want every row that meets both conditions rather than the first, FILTER (Lesson 76) does it directly: conditions multiplied together act as AND, added together as OR, as the lesson shows on location, level and status. FILTER needs a modern Excel; the joined key works in any version.
Remittance advices bury the invoice number in longer text: can formulas pull it out for the lookup?
Yes, when the number sits at a fixed place, and The Complete Excel Course with AI Integration teaches the three functions that cut it out. Lesson 73 splits a code such as DAL-SAL-0001 into its parts: LEFT takes characters from the start, RIGHT from the end, and MID from any position for a set length. A remittance reference in a steady format, a prefix, a separator and an invoice number of fixed length, gives up its number the same way, ready for XLOOKUP against the ledger. Where the number moves about inside free text, FIND and SEARCH, which return a character's position, are taught in Lesson 43, outside this path, and TRIM (Lesson 42) strips the stray spaces that make an otherwise perfect match fail. Clean the key first, then look it up, and far fewer receipts are left to match by hand on a busy cash day.
Can one lookup return every open invoice for a customer, not just the first?
Yes: FILTER does what a single lookup cannot, and The Complete Excel Course with AI Integration teaches it in Lesson 76. XLOOKUP and VLOOKUP stop at the first match, which suits a credit limit but not a customer with a string of open invoices on the line. FILTER returns every row that meets its condition, spilled into as many rows as it needs, so typing the customer's code into one cell lists their open items with dates, amounts and ages, ready before you dial. The lesson adds AND logic, two conditions multiplied together, which here means this customer and a balance above zero, and OR logic for two regions or two collectors. Lesson 75 adds UNIQUE, which lists each customer once, the natural source for a drop-down of names. Both results update the moment the ledger does, and both need a modern Excel, as the course points out.
How do I bring a credit limit from the customer sheet into the aged debt report on another sheet?
With a lookup across sheets, which is how The Complete Excel Course with AI Integration opens its lookup lessons. Lesson 67 sets up the problem on a workbook whose related facts sit on separate sheets, and Lesson 68 solves it with VLOOKUP: the key on one sheet, the lookup table on another, an exact match, and the table range locked with F4 before filling down, because an unlocked range drifts down the second sheet and returns errors on later rows. Lesson 69 does the same with XLOOKUP and copies the formula across to bring in more fields, so limit, terms and account manager arrive in neighbouring columns. Keep the customer master on its own sheet of the same workbook, as the lessons do, and a change to one limit flows into every report that reads it. The formula is identical for a handful of customers or thousands.
What does a two-way lookup do for a credit controller?
It reads one figure from a grid by its row and its column at once, and The Complete Excel Course with AI Integration teaches it in Lesson 69, the XLOOKUP lesson whose title names it. Credit control keeps such grids: a limit table with risk bands down the side and customer types across the top, a collections target by collector and month, or a schedule of terms by region and product line. One formula finds the figure where the right row meets the right column, so a new customer's limit or a collector's target for the month arrives in one cell, with no scanning of the table by eye. Change a figure in the grid and every report that reads it follows. INDEX, which Lesson 71 shows taking both a row number and a column number, gives the same answer in any version of Excel when MATCH supplies each number.
My lookup works on the first row and returns errors further down: what usually goes wrong?
Three slips cause most of it, and The Complete Excel Course with AI Integration shows each one happening before you fix it. An unlocked range is the first: fill a lookup down without fixing its table and the range slides with every row, so later invoices are searched against the wrong rows or none (Lesson 68, with the locking itself in Lesson 10). An @ in a table reference is the second: it takes only the current row's value where the lookup needs the whole column, the error Lesson 78 clears in its challenge. A key that does not quite match is the third, a trailing space, one extra letter or a number held as text, and Lesson 70 demonstrates the effect by changing a single code. Read the error, check the lock, then check the key: that order finds the fault in a remittance file in moments rather than an afternoon.
When cash comes in from an account on stop, can a lookup flag it so the hold can be reviewed?
Yes: pull the hold status onto the receipts sheet and let a formula raise the flag. With what The Complete Excel Course with AI Integration teaches, an XLOOKUP on the customer code (Lesson 69) brings the account's status from the customer master beside each receipt, and a second lookup fetches the overdue balance from the aged debt report. IF, from the formula lessons (Lesson 29), then compares the two and writes Review hold when a stopped account has paid. FILTER (Lesson 76) lists every such receipt of the day in one place, so the hold is reviewed the morning the money lands rather than when the customer phones to complain. The lessons apply these functions to employee records; the receipts, the statuses and the decision to release stay yours, and the formula makes sure no paying customer stays blocked by mistake.
Is XLOOKUP still the lookup to standardise on in a credit team, or has something newer replaced it?
Nothing has replaced it: XLOOKUP is the lookup of modern Excel, and The Complete Excel Course with AI Integration teaches it alongside the tools that work next to it. FILTER (Lesson 76) answers a different question, every match instead of the first. Copilot and ChatGPT can draft a lookup for you, and Lesson 95 builds the habit that matters, reading each AI formula before it goes into the sheet. For whole tables refreshed every month, Power Query's merge (Lesson 163) brings names in beside codes with a left outer join, the lookup done once for an entire export, later in the course. Each has its place, and XLOOKUP stays the everyday one: quick to write in a cell, easy for a colleague to read, and exact unless told otherwise. Learn it well and the other three make sense on sight.
I have never written a lookup: how soon could I match receipts at work?
Soon: the whole path runs 47 minutes, and your first working lookup comes in Lesson 68. The Complete Excel Course with AI Integration starts lookups from why they matter (Lesson 67), so nothing is assumed beyond simple formulas, and by Lesson 70 you can fetch a value across sheets with VLOOKUP or XLOOKUP and catch the misses. Cutting a reference apart and filtering every open item follow within the same section. Lesson 78 then sets a challenge on separate orders and products sheets to solve alone before the answer is shown, the fairest test of whether you could do the same on your own ledger. The course is online and self-paced on any device, lifetime access keeps the lessons to hand for the next awkward remittance, and completing it earns a Certificate of Completion an employer can verify.
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.
The same course
For another job, skill, goal, level, topic or comparison.
The course for this job
More skills for this job
- Formulas for credit controllers
- PivotTables for credit controllers
- Excel charts for credit controllers
- Dashboards for credit controllers
- Conditional formatting in credit control
- Data cleaning for credit controllers
- Data validation for credit controllers
- Excel tables for credit controllers
- Text functions for credit controllers
- Date functions for credit controllers
- Dynamic arrays for credit controllers
- Power Query for credit controllers
- Power Pivot and DAX for credit control
- Macros and VBA for credit controllers
- Power Automate for credit controllers
- Copilot in Excel for credit controllers
- ChatGPT for credit controllers
- Claude in Excel for credit controllers
XLOOKUP and VLOOKUP for other jobs
- Lookups for payroll administrators
- XLOOKUP and VLOOKUP for bankers
- Lookups for management accountants
- XLOOKUP and VLOOKUP for controllers
- Lookups for accounts payable clerks
- Lookups for financial planners
- Lookups for credit analysts
- XLOOKUP and VLOOKUP for underwriters
- XLOOKUP and VLOOKUP for every job