The Complete Excel Course with AI Integration

XLOOKUP and VLOOKUP for document controllers

A transmittal is only as good as the titles, revisions and statuses on it, and typing them from the register invites the one wrong character nobody spots. The Complete Excel Course with AI Integration teaches the lookups that fetch them by document number, on industry-standard projects, and this page picks out the lessons in the order a register needs them: clean keys, VLOOKUP, XLOOKUP, error messages, INDEX and MATCH, codes joined and split, and a lookup between files.

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:

  • Fill a transmittal's title, revision, status and discipline from the master register with XLOOKUP, typing only the document number.
  • Keep inherited VLOOKUP templates working: an exact match with FALSE, the table range locked, and the column-count risk understood before anyone inserts a column.
  • Read a document number that sits in the middle of the register with XLOOKUP or INDEX and MATCH, without moving a single column.
  • Show Not in register, or any message you choose, for a number with no match, through XLOOKUP's if-not-found argument or IFERROR round a lookup.
  • Look up by document and by heading at once with a two-way lookup, for grids such as a distribution matrix.
  • Make keys a lookup can trust: stray spaces trimmed, repeated numbers removed, and full numbers built from their parts with TEXTJOIN or taken apart with LEFT, MID and RIGHT.
  • Match a register kept in its own workbook through a Power Query merge that runs again 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 as an HR analytics workbook, it teaches every lookup on one dataset: VLOOKUP with an exact match, XLOOKUP with its own not-found text and a two-way lookup, INDEX and MATCH, IFERROR, then codes split and joined, the full kit for filling a transmittal from a register.

  • Project 12

    SalesFusion

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

    Built on sales exports in Power Query, it holds the merge that looks up product and region names with a left join, the route for matching a register kept in its own file and having the match run again at each refresh.

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 a staff list, it is where keys are made trustworthy before anything looks them up: stray spaces trimmed, a second spelling put right with Find and Replace, repeated IDs found and removed, the clean-up a document number column needs first.

Lessons

The lessons that matter, in course order.

The Complete Excel Course with AI Integration has 186 lessons. This page picks out 14 of them, 1 h 13 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 the register's numbers come from many hands: the clean-up that opens the path puts the keys right, and every lookup after it depends on that. Numbers already clean? Go straight to Lesson 67, where the lookups begin. If formulas themselves are new, take Lesson 8 to Lesson 12 first, above all the locked reference of Lesson 10. The Power Query merge at Lesson 163 sits inside SalesFusion, so begin that project at Lesson 153 to build it hands-on.

14 of 186 lessons · 1 h 13 min

03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) 2 of 9 lessons · 19 min Clean keys before any lookup: TRIM and Paste Special values to strip stray spaces, Find and Replace to put a second spelling right, and Remove Duplicates or a highlight of duplicate values to leave one row per ID. To a lookup, a number with a trailing space is a different number and a repeated number answers with its first row, so this clean-up decides whether a transmittal is right. The lessons clean an employee list.
  1. 22 Start here Cleaning data in Excel TRIM, Paste Special values and Find and Replace 13 min
  2. 23 Remove duplicates in Excel Find and delete duplicate rows in an employee list 6 min
08 Advanced Excel functions: lookups, text and arrays 7 of 12 lessons · 31 min The lookups themselves on the PeopleInsight HR workbook: why lookups beat copying between sheets, VLOOKUP with an exact match and a locked table, XLOOKUP with its own if-not-found text and a two-way lookup, IFERROR round both, INDEX and MATCH, then CONCAT, TEXTJOIN, LEFT, RIGHT and MID to join or split the codes a lookup matches on. Staff IDs and department codes stand where your document numbers will.
  1. 67 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 4 of 12 lessons · 18 min Around the lookup: UNIQUE for a distinct list of numbers, FILTER for every row that matches rather than the first, SORT and SORTBY for lists that order themselves, and a challenge of XLOOKUPs and joined IDs solved before the answer is shown. UNIQUE, FILTER, SORT and SORTBY belong to a modern Excel, which the course points out as they appear.
  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
15 SalesFusion: advanced data tools and a Power Query modelling system 1 of 21 lessons · 5 min A lookup between files: Power Query merges a sales table with product and region tables on their codes, using a left join that keeps every row and brings the names in beside it. A register kept in its own workbook can be matched the same way, and the match runs again whenever the query refreshes.
  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.

Is XLOOKUP the better lookup for a master document register and transmittal log, and which course teaches it alongside VLOOKUP?

Yes, for any register kept in a modern Excel, and The Complete Excel Course with AI Integration from Coding Liquids teaches it beside VLOOKUP on one dataset. XLOOKUP looks left or right, points straight at the column it returns, carries its own text for a number it cannot find and survives an inserted column (Lesson 69). VLOOKUP comes first (Lesson 68), because templates and workbooks from older desktops are full of it and a document controller inherits plenty of both. Either one takes a drawing number, a document ID or a transmittal code and returns the title, revision, status or discipline beside it, so a transmittal fills itself from the register. The PeopleInsight HR workbook, an industry-standard project designed after talking with people from many different industries, teaches them on staff records that stand in for yours, and the 14 lessons on this page take 1 hour 13 minutes.

Our older register templates are full of VLOOKUP: should they all be rewritten in XLOOKUP?

Keep the ones that work, and learn exactly what would break them, which The Complete Excel Course with AI Integration shows in Lesson 68. VLOOKUP counts columns by number, so when someone inserts a column in the register, a lookup asking for the third column quietly returns the wrong field; the lesson inserts a column on purpose and watches the results turn to zeros. It also locks the table range with F4, the fix for rows lower down that return errors. XLOOKUP (Lesson 69) names the return column itself, which suits a register that keeps gaining columns. Two good reasons to keep VLOOKUP remain: a template colleagues open in an older Excel, where XLOOKUP is missing, and formulas that simply work. Wrap those in IFERROR (Lesson 70) so a missing number reads NOT MATCHED, or move them to INDEX and MATCH (Lesson 71), which runs in every Excel and has no column count to break.

The document number sits in the middle of our register, after the discipline columns: which lookup can still read it?

XLOOKUP or INDEX with MATCH, and The Complete Excel Course with AI Integration teaches both on tables where the key is not the leftmost column. A register laid out as project, originator, discipline, number and title is the usual case, and VLOOKUP cannot use it as it stands: its search column has to come first and its answer has to lie to the right. Rather than shuffle the register to suit a formula, give XLOOKUP the number column to search and the title column to bring back as separate ranges, and direction stops mattering (Lesson 69). INDEX and MATCH (Lesson 71) split the same job in two: MATCH reports where the number stands, 0 asking for an exact match, and INDEX reads that position from any column you point it to. Both leave the register's layout as the project's procedure set it, which matters once other teams' filters and formulas rely on that layout.

Our register gains columns as the project grows: will that break the lookups on the transmittals?

XLOOKUP and INDEX with MATCH take new columns in their stride, and The Complete Excel Course with AI Integration shows plainly why VLOOKUP does not. In Lesson 68 a column is inserted into the lookup table on purpose and the VLOOKUP results turn to zeros, because the formula still asks for the column number it was given. XLOOKUP names its return column as a range (Lesson 69), so an inserted column moves that range and the formula follows it. INDEX and MATCH, written on named tables (Lesson 71), refer to columns by their headers, which also means a document added at the foot of the register joins the lookup without a range being edited. One habit matters whichever you choose: lock the lookup ranges before filling down, because errors or zeros in the lower rows, as the lessons show, usually mean a range slid as it was copied.

What should a transmittal show when a drawing number is not in the register yet, or is typed with one wrong character?

A plain message such as Not in register, never a raw #N/A, and The Complete Excel Course with AI Integration teaches two ways to get it. XLOOKUP has its own if-not-found argument (Lesson 69): the text you write there appears whenever the number has no match, with no extra function. Lesson 70 handles lookup errors in VLOOKUP and XLOOKUP formulas with IFERROR and a message of your choosing; it changes one department code so it no longer matches, watches errors appear in two columns and replaces them with NOT MATCHED. Its warning fits a register exactly: one extra letter in a code is enough to break a lookup. On a transmittal the message is the useful part, because it prompts a check of the number against the issued document before anything goes out, which a column of #N/A never prompts anyone to do.

Can one lookup fill a transmittal row's title, revision, status and discipline at once?

One formula, copied across the row, and The Complete Excel Course with AI Integration teaches the copy that keeps it right. In Lesson 69, an XLOOKUP that returns a city is copied across to return state, region and work arrangement, each copy moving its return range one column along while the lookup value keeps pointing at the code column. That last part is the trap: copied sideways, the lookup value drifts a column too, and the lesson resets it by hand, which is where the mixed reference of Lesson 10 earns its place, with the column locked and the row free. Set up once on the first transmittal line, the four lookups fill down for every document listed. VLOOKUP can do the same with a column number per field, as Lesson 68 shows when it repeats the department lookup for the HR partner's name, at the cost of counting columns again each time.

Can a lookup find a value by document and by column heading at once, as a distribution matrix needs?

Yes: grids like that are what the two-way lookup in Lesson 69 of The Complete Excel Course with AI Integration is for. Where an ordinary lookup matches one value down a column, a two-way lookup also matches a heading along the top row and returns the cell where the two meet. A distribution matrix is exactly that grid: document types down the side, recipients across the top, and the copies or the format each recipient takes where they cross. Pick the document type and the recipient, and the formula answers without anyone tracing a finger across the sheet. The same shape serves a review matrix of disciplines against reviewers, or a grid of documents against the purposes they are issued for. The lesson's data is staff and location records; the grid a two-way lookup reads can be any table with labels on both edges, which describes most of the control sheets a project office keeps.

Why would a lookup return the wrong drawing's title when the number looks right?

Three causes account for most of it, and The Complete Excel Course with AI Integration gives each a lesson. A stray space: a number typed with a trailing space is a different number to Excel, so the lookup misses it, and TRIM with Paste Special values strips the spaces out (Lesson 22). A repeated number: a lookup stops at the first match, so a document registered twice answers with whichever row comes first, and Lesson 23 highlights duplicate values and removes the extra rows, one ID to one record, as the lesson puts it, like a passport. A range that slid: filled down unlocked, the table range moves a row at a time and the lower rows search the wrong block, which is why Lesson 68 locks it before filling. Capitals are never the cause, because lookups read Approved and APPROVED as the same text; spaces, second spellings and repeats are.

Our transmittal log keeps project, discipline and serial in separate columns, while the register holds the full number: can a lookup still match them?

Yes: bring both sides to the same format, and The Complete Excel Course with AI Integration teaches the route in both directions. Join the parts into the register's format with the ampersand or TEXTJOIN (Lesson 72), the hyphen typed as the separator, and use that joined value as the lookup value. Or go the other way and split the register's number into its parts with LEFT, MID and RIGHT (Lesson 73), the lesson that takes apart a code shaped like DAL-SAL-0001. The challenge at the end of the section (Lesson 78) puts both skills to work: an XLOOKUP for a product's name, another for its per-unit figure, a total, and an order ID rebuilt by joining a text prefix to it. Whichever route you take, the joined key must match the register character for character, hyphens and leading zeros included, which is why the clean-up lessons open this page.

Can XLOOKUP read a register kept in a separate workbook from the transmittals?

Yes, and The Complete Excel Course with AI Integration gives you two ways to make that link. A lookup that reaches into another workbook is written like one that reaches into another sheet, and Lesson 68 and Lesson 69 both work across sheets: click into the other open file while writing the formula and Excel adds its name to the range. Keep both files in the project's own folder so the link holds. For a register that changes every day, Power Query is the sturdier route: Lesson 163 merges two tables on a shared code with a left join, keeping every row of the first and bringing in the matching fields from the second, and the merge runs again whenever the query refreshes. The SalesFusion lessons before it show how an exported file becomes a query in the first place, from the CSV import of Lesson 155.

I have never written a lookup: can I learn XLOOKUP and VLOOKUP from scratch for document control work?

Yes, and the section is built for exactly that starting point. The Complete Excel Course with AI Integration opens the lookups with Lesson 67, which shows the problem before the formula: related facts spread over several sheets, and copying between tabs that is slow and invites mistakes. Lesson 68 then builds a first VLOOKUP one argument at a time, the value to find, the table, the column and FALSE for an exact match, and fills it down. XLOOKUP follows with fewer arguments to remember, then IFERROR, and INDEX with MATCH. The section closes with a challenge on product and order sheets that you solve before watching the answer (Lesson 78), the moment the steps become yours. Lifetime access keeps every lesson open for the day an unfamiliar register lands on your desk, and finishing the course earns a Certificate of Completion an employer can verify.

If I paste the register's headers into ChatGPT, can it write the transmittal lookups for me?

It can draft them, and The Complete Excel Course with AI Integration teaches you to catch the draft that is quietly wrong. Lesson 95 has Copilot and ChatGPT write formula columns from a plain request, and each formula is read and tested on a known row before it is kept. In ChatGPT the request goes to a separate window, with the file uploaded or the headers pasted, and the formula is carried back into the workbook by hand. For lookups, three checks catch most slips, each one a lesson on this page: the match is exact, FALSE in VLOOKUP (Lesson 68), or a near match can return another document's title; the ranges are locked before the formula fills down; and a missing number shows a message rather than #N/A (Lesson 70). Test the result on a drawing number you know and on one you know is absent, and the AI's speed becomes safe to use.

Can I protect the lookup columns on a shared transmittal so nobody types over them?

Yes: lock the formula cells and protect the sheet, which The Complete Excel Course with AI Integration teaches in Lesson 86. Every cell starts out marked Locked, but the setting only takes effect once the sheet is protected, so the method is to unlock the cells colleagues should type in, the document number column on a transmittal, and leave the lookup columns locked. Protect Sheet then lets people select and type where you allow and refuses edits elsewhere with a warning, behind an optional password. Protect Workbook guards the structure as well, so the register sheet the lookups read cannot be renamed, moved or deleted, any of which would break every formula pointing at it. The lesson secures the TaskFlow tracker; a transmittal template protected the same way keeps its XLOOKUPs intact through every copy the project makes of it.

Can a lookup convert old document numbers to a new numbering system from a cross-reference sheet?

Yes: a cross-reference sheet is a lookup table, and The Complete Excel Course with AI Integration works with that shape throughout the PeopleInsight workbook, where small tables of department and location codes supply the names beside each staff record. Put old numbers in one column and new numbers in the next, and an XLOOKUP down the register returns each document's new number (Lesson 69), with the if-not-found text marking any old number the cross-reference missed. Before the switch, prove the sheet itself: UNIQUE lists each new number once (Lesson 75), and a count of that list held against the rows shows whether any new number was handed out twice. Keep both columns for the life of the project, and the same lookup run the other way, searching the new numbers and returning the old, answers the question every client asks sooner or later: which old number did this drawing replace?

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.