The Complete Excel Course with AI Integration
XLOOKUP and VLOOKUP for office managers
An office keeps its facts on separate sheets: suppliers and their terms, staff and their desks, equipment and who holds it. Copying between them by hand is slow, and one wrong row away from a mistake. The Complete Excel Course with AI Integration replaces the copying with lookups taught on an industry-standard HR project, and this page picks out the lessons for VLOOKUP, XLOOKUP, IFERROR, INDEX and MATCH, clean keys and FILTER.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Bring a supplier's contact, payment terms and renewal date onto an order or invoice sheet with XLOOKUP, keyed on the supplier code.
- Take over inherited VLOOKUP formulas: an exact match with FALSE, the table range locked with F4, and the column number checked after a column is inserted.
- Replace #N/A with a plain message such as Not found, through XLOOKUP's own if-not-found answer or IFERROR round a VLOOKUP.
- Look up from a key in any column of the staff or asset list with INDEX and MATCH, and find a figure where a row and a column cross with a two-way lookup.
- Make every code findable: TRIM and Find and Replace for stray spaces and second spellings, and Remove Duplicates so each supplier or ID has one row.
- Build a lookup key from two columns with CONCAT or TEXTJOIN, and split a packed asset tag or staff code with LEFT, RIGHT and MID.
- Return every matching row, such as all the equipment one person holds, with FILTER and its AND or OR criteria.
- Check one list against another, such as access cards against current staff, by counting the lookups that find no match.
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.
Built on an HR team's employee records, it rehearses every join an office makes: a department name and its HR partner fetched by code with VLOOKUP, a site's details by location code with XLOOKUP, INDEX and MATCH for the awkward cases, and a readable message whenever a code has no match.
-
Project 02
Dunder Michael Paper Company employee database
Built as a paper company's staff list, it lays the groundwork every lookup table needs: one row per ID once the duplicates go, stray spaces trimmed and second spellings replaced, so a code finds its match first time.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 12 of them, 1 h 3 min of video. Each lesson keeps its number in the course.
Where to start
Lesson 22 Cleaning data in Excel
Start at Lesson 22 if your supplier and staff lists have been typed by several people over the years: the clean-up lessons there make their codes tidy and unique, and every lookup after them finds its match. Lists already tidy? Begin the lookups at Lesson 67. Writing VLOOKUP already? Go straight to XLOOKUP at Lesson 69. New to Excel? Begin at Lesson 1 and take the tables of Lesson 19 on the way.
12 of 186 lessons · 1 h 3 min
03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) Keys a lookup can trust, practised on an employee list: TRIM and Find and Replace clear the stray spaces and second spellings that make a code miss its match, and Remove Duplicates leaves one row per ID, so the record a lookup returns is the only one there is.
- 22 Start here Cleaning data in Excel TRIM, Paste Special values and Find and Replace 13 min
- 23 Remove duplicates in Excel Find and delete duplicate rows in an employee list 6 min
08 Advanced Excel functions: lookups, text and arrays The lookups themselves, on the PeopleInsight HR data: why copying between tabs fails, VLOOKUP with an exact match and a locked range, XLOOKUP with its own if-not-found answer and a two-way lookup, IFERROR in place of raw errors, INDEX and MATCH for what VLOOKUP cannot reach, CONCAT, TEXTJOIN, LEFT, RIGHT and MID to build and split the codes lookups run on, and TODAY, EOMONTH and NETWORKDAYS for the dates a lookup brings back.
- 67 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
- 74 TODAY, EOMONTH and NETWORKDAYS in Excel Date calculations for HR data 5 min
08 Advanced Excel functions: lookups, text and arrays FILTER, the lookup that returns every match instead of the first, with AND and OR criteria: all the equipment held by one person, or every supplier serving either of two sites. FILTER is a modern-Excel function.
- 76 FILTER function in Excel Dynamic array filtering with AND and OR criteria 5 min
08 Advanced Excel functions: lookups, text and arrays A challenge to prove the skill: product names and per-unit figures fetched by XLOOKUP onto an orders sheet, line totals worked out and order IDs given a text prefix, all solved before the answer plays.
- 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.
Can an office manager learn XLOOKUP and VLOOKUP to pull vendor details, staff records and supply costs across sheets?
Yes. The Complete Excel Course with AI Integration from Coding Liquids teaches both lookups on one dataset, so you see where each fits, and every pattern carries straight over to an office's lists. VLOOKUP fetches a department name by its code with an exact match (Lesson 68); XLOOKUP fetches four details of a site from its location code, with its own answer when a code is missing (Lesson 69). Swap in your own sheets and the same formulas bring a supplier's payment terms onto an order, a colleague's desk and line manager onto a starter checklist, or a unit cost onto the stationery order. The dataset is PeopleInsight, an industry-standard HR project designed after talking with people from many different industries, and the path below runs to 12 lessons, 1 hour 3 minutes of lessons, with the finished workbook to compare against.
XLOOKUP or VLOOKUP: which one should the office's own new sheets use?
XLOOKUP, wherever every desk runs a modern Excel, and The Complete Excel Course with AI Integration shows why in Lesson 69. It looks in either direction, so the key can sit anywhere in the list. It points straight at the column to return, so a column inserted into the supplier list later breaks nothing, where VLOOKUP's counted column number slips, as Lesson 68 demonstrates by inserting one and watching the results turn to zero. It carries its own if-not-found answer, so a missing code reads Not found without a second function, and the same lesson takes it on to a two-way lookup. VLOOKUP still earns its place: it is what most inherited office files use, and the course teaches it first so you can read and repair them. INDEX and MATCH (Lesson 71) completes the set for any desk that cannot run XLOOKUP.
Why are so many inherited office workbooks still full of VLOOKUP, and can I fix them?
Because VLOOKUP has been in Excel for decades and XLOOKUP only in recent versions, most office files were built before the newer function existed, and The Complete Excel Course with AI Integration teaches VLOOKUP first so you can take those files over with confidence. Lesson 68 builds VLOOKUP with FALSE for an exact match, then shows two classic faults on purpose: a table range left unlocked, so the rows below return errors once the formula is filled down, and a column inserted into the lookup table, which sends the counted column number to the wrong place. Both are put right in the lesson. From there the choice is yours: repair the VLOOKUP and leave it working, or rewrite it as XLOOKUP (Lesson 69) once everyone who opens the file has a modern Excel, with IFERROR (Lesson 70) to give the old formulas a readable message meanwhile.
What are the drawbacks of XLOOKUP when some desks in the office run an older Excel?
One that matters in a shared office: XLOOKUP needs a modern Excel, and The Complete Excel Course with AI Integration says so where it is taught. A desk on an older version cannot calculate it, so a supplier sheet built on XLOOKUP will not give that colleague the right answers. Three tools in the same section work on any Excel: VLOOKUP with an exact match and a locked range (Lesson 68), IFERROR round it for a readable message (Lesson 70), and INDEX with MATCH (Lesson 71), which lifts VLOOKUP's limits on direction and on where the key column sits. So the practical rule for an office is simple: find out which Excel your colleagues run before choosing. Everything else about XLOOKUP, its direction, its if-not-found answer and its indifference to inserted columns, counts in its favour.
A mistyped supplier code fills the order sheet with #N/A: what does the course teach about that?
Two ways to make a missing match say something useful, and The Complete Excel Course with AI Integration teaches both. XLOOKUP has an answer of its own for a code it cannot find: in Lesson 69 it returns n/a in place of an error, and on your order sheet that becomes Not found or Check code. Lesson 70 handles lookup errors in VLOOKUP and XLOOKUP formulas with IFERROR: it breaks a lookup on purpose by changing one department code, watches errors appear in two columns, then wraps each formula with the message NOT MATCHED, because one extra letter in a code is enough to break a match and a raw #N/A tells a reviewer nothing. Then fix the cause as well as the symptom: a stray space is the usual culprit in typed lists, and TRIM with Find and Replace (Lesson 22) removes it, so the code finds its supplier on the next calculation.
The staff list keeps the employee ID in a middle column: can I still look up from it?
Yes, and this is exactly where XLOOKUP and INDEX with MATCH beat VLOOKUP, as The Complete Excel Course with AI Integration shows. VLOOKUP reads only from left to right, with the value it searches for in the first column of its range, so an ID in the middle of the staff list stops it short. XLOOKUP takes the column to search and the column to return as two separate ranges, so it looks left or right (Lesson 69). INDEX with MATCH does the same in any Excel: MATCH finds the position of the ID and INDEX returns the value in that position from whichever column you name, and Lesson 71 builds it on named tables, the current row's ID read through an @ reference. Either way the staff list keeps its layout, and nobody has to move the ID column to suit a formula.
If a supplier appears twice in the list, which details will the lookup return?
The first match it meets, which is why The Complete Excel Course with AI Integration teaches you to make each code unique before you rely on a lookup. VLOOKUP and XLOOKUP both stop at the first row that matches, so a supplier entered twice, once with old payment terms and once with new, can hand the order sheet the wrong set without any error showing. Lesson 23 shows the cure on an employee list where IDs repeat: duplicate values highlighted first so you can see them, then Remove Duplicates on the ID column, or a filter that lets you choose which record goes. The lesson's rule suits any master list: one code, one row, like a passport number. A COUNTIF of each code (Lesson 36) is a quick way to check the list stays that way as colleagues add to it.
Can a lookup bring in each supplier's renewal date and count the days left?
Yes, by chaining two things The Complete Excel Course with AI Integration teaches in the same section. XLOOKUP fetches the renewal date from the supplier list by code, exactly as Lesson 69 fetches a site's details by location code. Lesson 74 then subtracts TODAY from a deadline to give the days remaining, returns the month end with EOMONTH, and counts the working days between two dates with NETWORKDAYS. Put them side by side and every row of your renewals sheet reads the supplier, the date and how long remains, recalculated each day the file opens. One detail the lessons make clear: Excel stores dates as numbers, so a looked-up date can arrive as a plain number until its column is given a date format, the same step Lesson 77 takes with hire dates.
Can one formula find a figure where a row and a column meet, such as one department's budget for one month?
Yes: that is a two-way lookup, and The Complete Excel Course with AI Integration teaches it in Lesson 69, after XLOOKUP's exact match and if-not-found answer. Where an ordinary lookup finds a row and returns one fixed column, a two-way lookup finds the row and the column together, so a grid of departments down the side and months across the top answers whichever pairing you ask for: Facilities in one month, IT in the next. The same idea reads a rate card of services by site, or a grid of supplier contacts by type of query. Lesson 71 adds the building blocks such lookups rest on in any Excel: INDEX returns the value at a given row and column of a table, and MATCH finds the position of a code. Learned on the HR data, they read the office's grids without change.
Can I look up on two conditions, such as a supplier and a site?
Yes, by two routes The Complete Excel Course with AI Integration gives you. FILTER takes several conditions at once: Lesson 76 filters the staff table with AND logic, an employment status and a job level together, and with OR logic, either of two locations, so a supplier and a site together return every matching row, whether one or many. FILTER needs a modern Excel. The second route works with any lookup: join the two columns into one key with CONCAT or the ampersand, which Lesson 72 uses to build full names from first and last, then look that single key up with XLOOKUP or VLOOKUP. A supplier code joined to a site code is unique where neither part is alone, and the lookup stays a single formula anyone in the office can read.
Can a lookup show who is on the access-card list but no longer on the staff list?
Yes: look each card holder up in the current staff list and read the misses, a check The Complete Excel Course with AI Integration gives you every piece of. XLOOKUP's if-not-found answer (Lesson 69) turns a holder with no match into a plain word such as Left or Check, rather than an error, and IFERROR does the same for a VLOOKUP (Lesson 70). COUNTIF (Lesson 36) then counts those words, so the office knows at once how many cards to cancel, and a filter on the column lists them. The same pattern reconciles any two lists an office keeps: software licences against staff, desks against people, keys against keyholders. Before trusting the result, clear both lists of stray spaces (Lesson 22), or a current colleague can look like a leaver.
Each month a new invoice export arrives: do the lookups have to be rebuilt every time?
Build them once in an Excel table and they carry on by themselves, as The Complete Excel Course with AI Integration shows. A table fills a formula down every new row and widens its ranges as rows arrive, the behaviour Lesson 19 demonstrates, so paste next month's invoices under last month's and the supplier name and terms appear on each new line. The lookup lists can be tables too, which Lesson 71 names on the Table Design tab, so new suppliers join the range without a formula being edited. For a CSV that lands every month, the SalesFusion project goes further: Lesson 163 merges a sales query with product and region tables, a lookup done inside Power Query, so the names are matched again at every refresh. Either way the lookup is built once and simply runs.
If I describe the two sheets to Claude or Copilot, will it write the lookup, and how do I know it is right?
It will draft one, and The Complete Excel Course with AI Integration gives you the way to prove it before the order sheet relies on it. The AI lessons show the pattern: Copilot and ChatGPT write formula columns that you read and verify before they go in (Lesson 95), and Claude in Excel works inside your open workbook, calculating in the cell you choose and repairing a broken column on request (Lesson 104). For a lookup, the proof takes three checks this path teaches: a code you know returns the details you expect, a code that should fail returns the not-found message rather than someone else's row, and a COUNTIF of the misses matches the number you expect. Reading the formula itself is the fourth, and it is only possible because the lookup lessons came first.
How long until lookups are working on the office's own lists, and what will I have built?
About 1 hour 3 minutes of lessons, and the first lookup works early in the section. In The Complete Excel Course with AI Integration VLOOKUP is running by Lesson 68 and XLOOKUP by Lesson 69, so supplier details could be on your order sheet the same week. By the end of the path the PeopleInsight workbook carries department, HR partner and location columns fetched by lookup, full names joined and position codes split, beside the rows FILTER returns, and the challenge in Lesson 78 has you complete an orders sheet with product names, per-unit figures, line totals and formatted order IDs before the answer is shown. Every file comes with its finished version to compare against, and lifetime access keeps the lessons ready for the next list that lands on your desk.
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
- Excel formulas for office managers
- PivotTables for office managers
- Charts for office managers
- Dashboards for office managers
- Conditional formats for office managers
- Data cleaning for office managers
- Data validation for office managers
- Excel tables for office managers
- Text functions for office managers
- Date functions for office managers
- Dynamic arrays for office managers
- Copilot for office managers
- ChatGPT for office managers