The Complete Excel Course with AI Integration

XLOOKUP and VLOOKUP for M&E engineers

A bill of materials or a cable schedule is only as good as the data it pulls from the master list, and a lookup that lands on the wrong row raises no error at all. The Complete Excel Course with AI Integration teaches XLOOKUP, VLOOKUP and INDEX with MATCH on PeopleInsight, an industry-standard project, and this page adds the lessons around them an engineer needs: tables that grow, trimmed codes, split part numbers, FILTER 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:

  • Pull a part's description, rating or supplier into a bill of materials with XLOOKUP, pointed straight at its return column, so a new Revision or Lead time column in the master list breaks nothing.
  • Read the value at the crossing of a row and a column of a rating table with a two-way lookup, and with INDEX and MATCH where an older sheet already uses them.
  • Give every part number missing from the master list a plain message instead of #N/A, with XLOOKUP's own if-not-found answer or IFERROR round a VLOOKUP.
  • Keep inherited VLOOKUP schedules running: exact match with FALSE, a table range locked before filling down, and the column-count fault an inserted column causes.
  • Look left from a part number to its tag or reference designator, which VLOOKUP cannot do and XLOOKUP and INDEX with MATCH both can.
  • Strip stray spaces out of codes with TRIM, split a coded part number into family, size and serial with LEFT, MID and RIGHT, and join columns into one key with CONCAT.
  • List every part fitted to one assembly with FILTER, and let a Power Query merge bring descriptions in beside the codes of a weekly export at every refresh.

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 on HR records, it trains the moves a parts register asks for: codes matched across sheets, a message for a code with no match, a lookup that reads to the left, a two-way read of a table, and position codes taken apart into their pieces.

  • Project 12

    SalesFusion

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

    Built as a sales reporting system, its merge lesson is the lookup done for an entire export: product and region names joined to their codes in a query, so a parts export from the design system gains its details at each refresh with no formula copied down.

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

  • Project 02

    Dunder Michael Paper Company employee database

    Built as an employee list, it is where a register first becomes an Excel table that takes in new rows by itself, and where stray spaces come out of a text column with TRIM: the groundwork that stops a lookup on a growing parts list from failing.

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, 58 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 write formulas comfortably and keep parts or equipment lists in Excel: the lookups begin there. Not yet working with Excel tables? Take Lesson 19 first, and Lesson 42 for the TRIM that keeps codes clean. New to formulas altogether? Begin at Lesson 1 and come back once references and IF feel familiar. Already confident with XLOOKUP? Move on to Lesson 73 for coded part numbers, then FILTER and the Power Query merge.

12 of 186 lessons · 58 min

03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) 1 of 9 lessons · 8 min An Excel table with structured references and a total row, which takes in a new row the moment it is typed below: put the master parts list in one and every lookup range reaches the newest part without being redrawn. The lesson's rows are employees; a register of parts behaves the same way.
  1. 19 Excel tables Create and format a table, structured references and total row 8 min
05 Text functions and data validation (enhancing data quality) 1 of 7 lessons · 6 min TRIM, UPPER, LOWER and PROPER on an employee table, pasted back as values. TRIM matters most to a lookup, because a space typed after a part number is enough to make an identical-looking code return #N/A; tidy capitals help a report read cleanly, and a lookup already treats them as one.
  1. 42 TRIM, UPPER, LOWER and PROPER in Excel Clean messy text and fix capitalisation 6 min
08 Advanced Excel functions: lookups, text and arrays 5 of 12 lessons · 21 min The lookup core on the PeopleInsight HR dataset: why lookups beat copy and paste, VLOOKUP across sheets with exact match and a locked range, XLOOKUP with its own if-not-found answer and a two-way lookup, IFERROR for both, and INDEX with MATCH. Employee and location codes stand in for part numbers and rating codes, and the logic carries straight over.
  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 Codes and keys: CONCAT, the ampersand and TEXTJOIN join text from several cells, and LEFT, RIGHT and MID take a code such as DAL-SAL-0001 apart by position, the tools for part numbers that pack a family, a size and a serial into one string.
  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 1 of 12 lessons · 5 min FILTER with AND and OR criteria, which returns every matching row where a lookup stops at the first: all the parts on one assembly, every circuit fed from one board. It needs a modern Excel.
  1. 76 FILTER function in Excel Dynamic array filtering with AND and OR criteria 5 min
08 Advanced Excel functions: lookups, text and arrays 1 of 12 lessons · 3 min The lookup challenge: an orders sheet whose product IDs are matched against a products sheet for each name and per-unit figure, with a total for every line, the same moves that cost or weigh a bill of materials from a parts master.
  1. 78 Excel Ninja Challenge XLOOKUP, totals and text concatenation lookup challenge 3 min
15 SalesFusion: advanced data tools and a Power Query modelling system 1 of 21 lessons · 5 min A Power Query merge that brings product and region names in beside their codes with a left outer join: the lookup for a parts or equipment export that arrives again every week, set up once in a query and repeated at each refresh.
  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.

Which lookup keeps a mechanical or electrical engineer from pulling the wrong part's rating without warning, XLOOKUP or VLOOKUP, and which course teaches both?

The Complete Excel Course with AI Integration from Coding Liquids teaches both, and makes XLOOKUP your default for new sheets. A VLOOKUP counts columns by number, so a column inserted in the master list shifts its results onto the wrong field with no error to warn you: Lesson 68 inserts one and watches the answers turn to zeros, and in a full parts list they would turn into the neighbouring column's figures. XLOOKUP in Lesson 69 points straight at the column it returns, so the same insertion changes nothing. Both are taught on PeopleInsight, an industry-standard project designed after talking with people from many different industries, with an exact match, a message for a missing code and the locked range that stops errors further down. This page picks the 12 lessons that matter for parts lists, equipment registers and rating tables, 58 minutes of video.

Why do so many engineering workbooks still run on VLOOKUP when XLOOKUP is better?

Because they were built before XLOOKUP existed, or must open on machines that lack it, and The Complete Excel Course with AI Integration prepares you for both facts. XLOOKUP needs a modern Excel, so a calculation that travels to a client, a supplier or a site office on an older copy may still have to use VLOOKUP, and the inherited schedules on any shared drive are full of it. Lesson 68 teaches VLOOKUP properly: FALSE for an exact match, the table range locked with F4 before filling down, a second column fetched by its index number, and why an inserted column breaks it. Lesson 70 wraps it in IFERROR so a missing code reads NOT MATCHED. Knowing both lets you keep an old sheet running and decide when it is worth rebuilding with XLOOKUP, a choice the lessons make plain.

What makes XLOOKUP the stronger choice for a master parts list that keeps gaining columns?

Four things that The Complete Excel Course with AI Integration shows on one dataset. XLOOKUP names its return column directly, so inserting a Revision, Lead time or Supplier column into the master list leaves every lookup intact, where VLOOKUP's column number would now point at the wrong field (Lesson 69 set against Lesson 68). It searches in either direction, so the part number need not be the first column. It carries its own answer for a missing code, written into the formula with no IFERROR round it (Lesson 70 shows the difference). And it handles a two-way lookup, reading a value where a row and a column meet. The lesson fills down with the ranges locked, then copies the formula across to fetch city, state, region and work arrangement, the same move that fetches description, rating, supplier and weight for a part.

Can a lookup return the tag or reference designator that sits to the left of the part number?

Yes, with either of the lookups that can look left, and The Complete Excel Course with AI Integration teaches both. VLOOKUP can only search the first column of its table and return something to the right of it, so a register laid out with the tag first and the part number later defeats it. XLOOKUP in Lesson 69 searches one column and returns another wherever it sits, left or right. INDEX with MATCH in Lesson 71 lifts the same limit in a form that works in every version of Excel: MATCH finds the row of the part number, with 0 for an exact match, and INDEX returns the value from whichever column you name. The lesson uses it to bring in each employee's HR partner by department; on a parts register it brings back the tag, the panel or the location of any part you can name.

Can I read a rating from a table by row and column, such as a cable's current rating by size and installation method?

Yes: that is a two-way lookup, named in the title of Lesson 69 in The Complete Excel Course with AI Integration. A rating table holds one value at the crossing of a row and a column, size down the side and method across the top, or a motor frame against a voltage, and a two-way lookup finds the row and the column and returns the value where they meet, so a schedule fills its rating column from the manufacturer's table instead of by eye. Lesson 71 adds INDEX, which reads a cell by its row and column number, with MATCH supplying a position, the form found in many older engineering sheets. The lookups here are exact; picking the next standard size up from a calculated value needs a match mode the lessons leave out, while the table reading itself, the step most prone to a misread row, is fully taught.

What should happen when a part number on my BOM is missing from the master list?

It should say so in words, and The Complete Excel Course with AI Integration teaches both ways to make it. XLOOKUP carries its own answer for a code it cannot find: Lesson 69 writes one into the formula, and on a BOM that answer can read Not in master list instead of #N/A. For VLOOKUP, Lesson 70 changes a department code so it no longer matches, watches the errors appear, then wraps each formula in IFERROR with NOT MATCHED as the answer. The lesson's point applies directly to a BOM: one extra character in a code is enough to break a lookup, and a raw #N/A tells most reviewers nothing, while a plain message tells them which line to chase. A COUNTIF on that message, from Lesson 36, then counts the unmatched lines before the BOM is released.

My part numbers look identical, yet the lookup returns #N/A: what does the course give me to find the cause?

Three usual suspects, each with a lesson in The Complete Excel Course with AI Integration. A stray space typed after a code makes two identical-looking part numbers different values; TRIM in Lesson 42 strips it, and the cleaned text is pasted back as values. An unlocked table range lets the first rows work and later ones fail, which Lesson 68 and Lesson 69 both show and cure with F4. A table reference written with @ takes only the current row's value, which Lesson 78 meets as an error and clears. Capitals are not a cause: a lookup reads ABC-100 and abc-100 as the same code, so case can be tidied for the reader's sake without touching a formula. Learning the suspects in that order turns a frustrating search into a quick, methodical check.

Can XLOOKUP cost a bill of materials line by line from a parts list?

Yes, and the lookup challenge of The Complete Excel Course with AI Integration is built exactly that way. In Lesson 78 an orders sheet holds product IDs and quantities with empty columns beside them; one XLOOKUP fetches each product's name from a separate products sheet, a second fetches its per-unit figure, and a multiplication gives the line total. Swap orders for BOM lines and products for your parts master, and you have a costed or weighed bill of materials that updates the moment a part's figure changes in the master. SUMIFS from Lesson 37 then rolls the lines up by assembly or sub-assembly. Because you solve the challenge before watching the solution, you finish with the pattern in your own hands rather than copied from a screen.

Our parts list comes out of the design system as a fresh export every week: do the lookups have to be rebuilt each time?

They carry over, through two parts of The Complete Excel Course with AI Integration. Kept in an Excel table, the master list grows to take in new rows as they are added (Lesson 19), so a lookup aimed at the table reaches the newest part without its range being redrawn, and structured references keep the formulas readable. Where the export is replaced wholesale each week, Power Query does the lookup inside the query: Lesson 163 merges a sales query with product and region tables on their codes using a left outer join, keeping every row and bringing the names in beside it. Point that merge at your parts master and each week's export gains its descriptions and ratings the moment you refresh, with codes that find no match left blank for you to chase.

Can one lookup return every part fitted to an assembly, not just the first match?

FILTER does exactly that, and The Complete Excel Course with AI Integration teaches it soon after the lookups. XLOOKUP and VLOOKUP stop at the first row that matches, which suits a part's description but not a list of everything on one assembly. FILTER in Lesson 76 returns every row that meets a condition and spills the result into the sheet: the lesson filters employees by location, then by job level, then by two conditions joined with AND, where an asterisk joins the tests, and by two locations joined with OR, where a plus sign does. On a parts register that gives every part on one assembly, every item from one supplier still awaiting approval, or every circuit fed from either of two boards. FILTER needs a modern Excel, and its result updates itself whenever the register changes.

Our part numbers pack the family, size and revision into one code: can lookups work with part of it?

Yes: cut the code into its pieces and each piece can take a lookup of its own. Lesson 73 of The Complete Excel Course with AI Integration teaches the cutting on an HR position code built from a location, a department group and a serial. LEFT keeps the opening characters, RIGHT the closing ones, and MID a stretch from the middle, given where it begins and how far it runs. A motor's part number holding a frame, a pole count and a revision comes apart into columns the same way, ready for the frame to be looked up in a dimensions table and the revision in the drawing register. The new columns are filled down the whole list with a double-click, and the list is then formatted as a table. Lesson 72 joins text instead, with CONCAT, the ampersand or TEXTJOIN, which also builds one key from a type and a size when a lookup needs both.

Older calculation sheets in our office use INDEX and MATCH: will I be able to read and maintain them?

Yes, because Lesson 71 of The Complete Excel Course with AI Integration builds INDEX and MATCH up from their parts, so a nested formula stops looking like a puzzle. INDEX on its own returns the value at a given row and column of a table; MATCH on its own returns the position of a value in a column, with 0 asking for an exact match. Put together, MATCH finds the row and INDEX fetches the answer, a lookup that can return a column to the left and survives inserted columns. The lesson also names its tables on the Table Design tab and uses the @ reference for the current row, both of which turn up in sheets written by careful colleagues. Read with that knowledge, an inherited sizing or selection sheet becomes something you can audit, extend and hand on with confidence.

The practice data is employee records: is that close enough to a parts register for the lessons to carry over?

Closer than it looks, and The Complete Excel Course with AI Integration chose it for its shape rather than its subject. PeopleInsight holds a main table keyed by employee ID, with codes such as SAL, ENG and MKT for departments, and lookup sheets that turn each code into a name, a partner, a city, a state, a region and a work arrangement. A parts register has the same anatomy: a main list keyed by part number, codes for families and suppliers, and master tables that turn each code into a description, a rating, a weight or a lead time. The lookup challenge comes closer still, with orders and products. You practise on the starter file and compare with the finished one, then apply each lookup to your own register knowing exactly what the working version looks like.

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.