The Complete Excel Course with AI Integration

XLOOKUP and VLOOKUP for quality engineers

Inspection logs, supplier lists, defect codes and gauge registers sit on separate sheets, and copying values between them by hand is where a wrong limit creeps in. The Complete Excel Course with AI Integration teaches the lookups that join them on an industry-standard project, and this page picks out the lessons in the order a quality file needs them: VLOOKUP for inherited templates, XLOOKUP with its own if-not-found message and a two-way lookup, IFERROR, INDEX and MATCH, and keys built from codes.

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:

  • Pull each part number's nominal value and limits into an inspection log with XLOOKUP, copying one formula across for every limit column.
  • Read, repair and extend the VLOOKUP formulas in inherited quality templates: the exact match, the column number and the locked table range.
  • Flag a supplier, part or defect code with no match through XLOOKUP's if-not-found text or IFERROR, so a reviewer sees a word instead of a bare #N/A.
  • Find the limit where a part's row meets a characteristic's column in a specification grid with a two-way XLOOKUP.
  • Use INDEX and MATCH where a customer template or an older Excel calls for it, with MATCH finding the position and INDEX returning the value.
  • Split lot and batch codes with LEFT, RIGHT and MID, and join fields with CONCAT and the ampersand, to build the key a lookup needs.
  • Bring each gauge's calibration due date from the register into the inspection log, so a reading taken on an overdue gauge is caught.

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 HR records, it rehearses the joins a quality file runs every day: a code carried to its master table for names, limits or ratings, and a readable message wherever that code turns out to be missing.

  • Project 12

    SalesFusion

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

    Built on sales files, its merge queries do the lookup for a whole table, matching codes to names for every row of every file at a refresh; for you that is the route for a receiving or NCR export that comes back each week.

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 8 of them, 34 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 COUNTIFS and lock a cell with F4: the lookups build on both. If absolute references are new, take Lesson 10 first, since every lookup table here is locked before the formula fills down, and if Excel itself is new, begin at Lesson 1. Already fluent in VLOOKUP? Go straight to Lesson 69 for XLOOKUP, its if-not-found text and the two-way lookup.

8 of 186 lessons · 34 min

08 Advanced Excel functions: lookups, text and arrays 7 of 12 lessons · 31 min The lookups a quality file runs on, taught on HR data: why lookups beat copying between sheets, VLOOKUP with an exact match and a locked table, XLOOKUP with if not found and a two-way lookup, IFERROR for codes that match nothing, INDEX and MATCH, then CONCAT, TEXTJOIN, LEFT, RIGHT and MID to build keys from codes. Department and location codes stand in for part numbers, supplier codes and gauge IDs.
  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 1 of 12 lessons · 3 min The lookup challenge: product names and per-unit figures brought from a products sheet into an orders sheet, a total worked out and order IDs given a prefix, all tried before the solution file is opened.
  1. 78 Excel Ninja Challenge XLOOKUP, totals and text concatenation lookup challenge 3 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.

Which lookup should a quality engineer use on inspection and supplier files, XLOOKUP or VLOOKUP?

XLOOKUP for everything new, VLOOKUP for the templates you inherit, and The Complete Excel Course with AI Integration from Coding Liquids teaches both, with INDEX and MATCH, on the PeopleInsight HR workbook, an industry-standard project designed after talking with people from many different industries. XLOOKUP (Lesson 69) looks left or right and points straight at the column it returns, so a column added to the part master breaks nothing, and it carries its own message for a code it cannot find. VLOOKUP (Lesson 68) still fills countless quality templates, and the lesson shows exactly where it breaks. This page picks out the 8 lessons that cover both, 34 minutes in all, ending with a challenge you solve before you see the answer, so the first lookup you write on your own inspection log is not your first lookup.

Our inspection templates are full of VLOOKUP: will I be able to maintain them?

Yes, and that is why The Complete Excel Course with AI Integration still teaches VLOOKUP properly. Lesson 68 builds it with an exact match, FALSE as its last argument, the only setting a part number or a defect code should ever get; leave it out and VLOOKUP falls back to an approximate match that can return the wrong row without any error. The same lesson inserts a column into the lookup table to watch the results turn to zero, because VLOOKUP counts columns by number, and locks the table range with F4 before filling down, since an unlocked range sends errors into the rows below. Those faults explain most broken templates. Where a file travels to a supplier or a site running an older Excel, VLOOKUP and INDEX and MATCH (Lesson 71) still work there, while XLOOKUP needs a modern Excel.

Can XLOOKUP pull each part's nominal value and limits into my inspection log?

Yes, one formula per limit column, and The Complete Excel Course with AI Integration shows the move that makes it quick. In Lesson 69, XLOOKUP takes a location code from each employee row, finds it in a lookup table and returns the city, with the lookup and return ranges locked by F4 and 0 for an exact match. State follows, then the formula is copied across for region and work arrangement, the return range moving one column each time, and the lesson catches the slip that comes with it: the lookup value shifts too and has to be set back to the code column. In an inspection log the code is a part number and the returned columns are the nominal, the lower limit and the upper limit, ready for the pass or fail test of Lesson 33. Change a limit in the part master and every row that uses it follows.

Can a lookup flag goods received from a supplier who is not on our approved list?

Yes, and the flag is the lookup's own if-not-found text. The Complete Excel Course with AI Integration teaches it in Lesson 69: XLOOKUP takes a fourth argument, the text to show when a code is missing from the lookup table, and the lesson uses n/a. Point it at your approved supplier list, return the supplier's name and write NOT APPROVED as that text, and every receipt from an unknown supplier announces itself in the receiving log the moment it is entered. Lesson 70 does the same for VLOOKUP by wrapping it in IFERROR, with NOT MATCHED as the message, after showing that one wrong letter in a code is enough to trip a lookup. A raw #N/A tells a reviewer nothing; a word they can filter on starts the conversation with purchasing before the parts reach the line.

Our defect codes arrive with typos and stray spaces: what happens to the lookup?

Every one of them gets a visible flag, and The Complete Excel Course with AI Integration shows you how to set it. A code with a typo finds no match: Lesson 70 changes one department code so it no longer matches its table, watches both lookup columns turn to errors, then wraps each formula in IFERROR so the cell reads NOT MATCHED, proof that a single extra letter is enough. A trailing space does the same damage without being seen at all, and TRIM removes it (Lesson 22); a second spelling of a code needs a decision about which spelling stands, which Find and Replace then applies down the column. Capitals cause no trouble here, since lookups read SCR and scr as one code. The result is a defect log where every unmatched code is labelled, counted and fixed at the source, not one where a few rows quietly drop out of the Pareto chart.

Can a lookup tell me whether the gauge on each inspection was in calibration?

Yes: look up the gauge's due date and compare it with the inspection date. In The Complete Excel Course with AI Integration, XLOOKUP (Lesson 69) returns a value from a register by its code, so a gauge ID brings back the calibration due date from your register, and a comparison of the kind Lesson 28 teaches returns TRUE or FALSE for whether the inspection fell after it, which IF can turn into a plain Overdue. A gauge missing from the register gets XLOOKUP's if-not-found text instead of an error. The lessons look up departments and locations; your register only needs one row per gauge holding its current due date. A register that keeps every past calibration as a row of its own would call for XLOOKUP's bottom-up search, which the lessons leave out, so keep the current due date in a column of its own and the check stays one formula.

Our lot numbers pack the line, the part and a serial into one code: can I look up from part of it?

Yes: split the code first, then look up the piece. Lesson 73 in The Complete Excel Course with AI Integration takes a position code of three parts separated by hyphens and pulls each one out: LEFT for the first characters, RIGHT for the last, and MID for the middle, which needs a start position and a length. The lesson's own note fits a lot number exactly, since these functions suit any code that packs several facts into one cell. Once the part number stands in a column of its own, XLOOKUP (Lesson 69) brings back its description and limits, and the line becomes something COUNTIFS can count by. The reverse comes up too, when a register's key joins two fields, and Lesson 72 joins text with CONCAT, TEXTJOIN and the ampersand to build that key in a helper column.

Can I look up a limit from a grid with part numbers down the side and characteristics across the top?

Yes, that is the two-way lookup, and The Complete Excel Course with AI Integration names it in the title of Lesson 69. A two-way lookup matches the row and the column at once: the part number finds the row, the characteristic finds the column, and the cell where they cross comes back. A specification grid laid out that way, with diameter, length and hardness across the top, answers any reading's limit from one formula, however many characteristics the grid gains. It suits drawings with many characteristics better than a lookup column per limit, and it stays right when a characteristic is added, because the column is found by its header rather than by counting. Keep the grid as an Excel Table on a sheet of its own, as Lesson 73 advises for every lookup table, and anyone can extend it without touching a formula.

Customer and supplier templates still use INDEX and MATCH: does the course cover it?

Yes, in Lesson 71 of The Complete Excel Course with AI Integration, as the flexible alternative to VLOOKUP. The lesson takes the pair apart before putting them together: INDEX returns the value at a given row and column of a table, and MATCH returns the position of a code in a column, with 0 for an exact match, so MATCH finds where a part number sits and INDEX hands back what is in that row. Together they look left as well as right, which VLOOKUP cannot, and they do not mind where the code column sits. The lesson also names its tables on the Table Design tab and uses the @ reference for the current row, both of which you will meet in templates written by others. Because INDEX and MATCH work in older Excel as well, they remain the safe choice for a form that travels to a supplier.

Where can I practise lookups before I touch the live inspection log?

On the course's own files, the safest place to make mistakes. The Complete Excel Course with AI Integration gives the PeopleInsight HR workbook as a starter file and a finished one, so every lookup you write from Lesson 68 to Lesson 71 can be checked against a working answer before you trust it. Then Lesson 78 sets a challenge on a products sheet and an orders sheet: bring in each order's product name and per-unit figure, work out a total and format the order ID, with a solution file to compare. The lesson also shows a fault you will meet at work, an @ inside a table reference that takes one row's value where the lookup needs the whole column. Only once those run cleanly do you point the same formulas at your own inspection log, where an error would cost a real decision.

Our receiving log and NCR register come out of the system every week: should I still use lookup formulas?

Use them inside the workbook, and hand the weekly exports to Power Query; The Complete Excel Course with AI Integration teaches both. Lookup formulas suit a part master or an approved supplier list that lives in the file, and they recalculate the moment a code changes. When the receiving log arrives fresh from the system each week, a merge in Power Query (Lesson 163) does the lookup once for the whole table: it matches codes to names with a left outer join that keeps every row and fills the new columns only where a match exists, so the unmatched rows stand out, and it runs again on next week's file at a refresh. That is SalesFusion, the course's Power Query project, and the lookups on this page are the right preparation, since a merge is the same idea applied to a whole table at once.

Can Copilot write the lookup that joins my NCR register to the supplier list?

Yes, as a draft you check, and The Complete Excel Course with AI Integration gives you every check it needs before it goes near a report. Lesson 95 has Copilot and ChatGPT write formula columns that you verify, and Lesson 99 adds a short checklist for anything AI returns. For a lookup, the checks that matter are the ones this page teaches: an exact match rather than an approximate one (Lesson 68), ranges locked before the formula fills down, a readable message for codes with no match (Lesson 70), and the right return column once the formula is copied across. Lesson 104 goes further, with Claude analysing data and building spreadsheets for you. AI saves the typing; knowing why a lookup returned the wrong supplier's name is what keeps that name out of an audit.

How long before I can join my inspection log to the part master with a lookup?

Within the first few lessons of this path, and the whole of it takes 34 minutes. The Complete Excel Course with AI Integration has VLOOKUP working across two sheets by Lesson 68 and XLOOKUP, with its if-not-found text, by Lesson 69: enough to bring each part's description and limits into an inspection log. IFERROR, INDEX and MATCH and the text functions that build keys follow in short lessons, and the challenge closes the run. The one habit to have beforehand is locking a range, taught in Lesson 10, because every lookup table on this page is locked before the formula fills down. Lifetime access keeps the lessons at hand for the day a customer template arrives full of INDEX and MATCH, and the Certificate of Completion, with its verification link, marks the course once you finish it.

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.