The Complete Excel Course with AI Integration

XLOOKUP and VLOOKUP for data entry operators

A data entry operator types a code and then, too often, types everything that belongs with it: the name, the department, the region, each one a fresh chance of a slip. The Complete Excel Course with AI Integration lets a lookup write those fields from the master list and flag the codes it cannot find, on the industry-standard PeopleInsight HR workbook. This page picks out the lessons for it: clean codes, a drop-down for entry, VLOOKUP, XLOOKUP, IFERROR, INDEX with MATCH, UNIQUE, FILTER and a challenge.

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 record's name, department, region or other details from a master list with XLOOKUP, so only the code is keyed and nothing else can be mistyped.
  • Run a lookup down a whole batch with an if-not-found message, so every code missing from the master list is flagged in words and can be filtered out for correction.
  • Read, repair and extend workbooks built on VLOOKUP: an exact match with FALSE, a table range locked with F4, and a clear view of the inserted column that breaks it.
  • Trace a #N/A to its cause, a stray space, a mistyped character or an unlocked range, fix it with TRIM or F4, and label the true mismatches with IFERROR.
  • Keep bad codes out at the moment of entry with a drop-down list fed from another sheet, and build or check that list with UNIQUE.
  • Use INDEX with MATCH where a lookup must read to the left or open in an older Excel, and XLOOKUP's two-way lookup where a row and a column meet.
  • Return every row that matches one condition or two with FILTER, where a lookup stops at the first match, and see at once when a code appears more than once.
  • Complete an orders sheet from a product list with XLOOKUP, work out each line total and rebuild every order ID in one style.

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.

    The layout of a keyed batch beside its master lists: codes on the employee sheet, names and details on lookup sheets of their own, brought together by VLOOKUP, XLOOKUP and INDEX with MATCH, and IFERROR naming every code that fails to match.

  • Project 12

    SalesFusion

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

    Where a lookup goes when the data arrives as a file every week: a Power Query merge adds product and region names to every row on its code with a left join, and the next file is matched the same way at a 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

    The employee table where entries are made fit to be looked up: TRIM clears the trailing spaces that make a match fail, and the Department column takes only names picked from a drop-down fed by a separate list sheet.

Lessons

The lessons that matter, in course order.

The Complete Excel Course with AI Integration has 186 lessons. This page picks out 10 of them, 45 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 can write a simple formula and lock a cell with F4: the lookups begin there, on the PeopleInsight HR workbook and its separate lookup sheets. If the codes you key arrive with stray spaces, or you have never set up a drop-down, take Lesson 42 and Lesson 45 first; they sit earlier in the list for that reason. Formulas themselves new? Work through Lesson 8 to Lesson 10, where formulas and locked references are taught, then come back. Already fluent in VLOOKUP? Go straight to Lesson 69 for XLOOKUP and everything after it.

10 of 186 lessons · 45 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: the spaces at the ends of entries removed and the case made consistent, then pasted back as plain values. A trailing space is the invisible fault behind many a failed lookup, so codes are cleaned before they are matched.
  1. 42 TRIM, UPPER, LOWER and PROPER in Excel Clean messy text and fix capitalisation 6 min
05 Text functions and data validation (enhancing data quality) 1 of 7 lessons · 4 min A drop-down list built with Data Validation, its choices taken from a list on another sheet, so a column accepts only approved entries and blocks the rest with an error message. Fed from a master list, it keeps every keyed code findable.
  1. 45 Data validation in Excel Create drop-down lists for consistent data entry 4 min
08 Advanced Excel functions: lookups, text and arrays 5 of 12 lessons · 21 min The lookups themselves, on the PeopleInsight HR workbook, whose employee sheet holds codes and whose lookup sheets hold the names: why copying across tabs fails, VLOOKUP with an exact match and a locked range, XLOOKUP with an if-not-found message and a two-way lookup, IFERROR for lookup errors in both, and INDEX with MATCH, which reads in any direction.
  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 UNIQUE and FILTER, the dynamic arrays that suit a batch check: a distinct list of the codes a column actually holds, ready to set against the master list or to feed a drop-down, and every row that meets one or two conditions, where a lookup returns only the first. Both need a modern Excel.
  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
08 Advanced Excel functions: lookups, text and arrays 1 of 12 lessons · 3 min The lookup Ninja Challenge: an orders sheet with empty columns and a products sheet to fill them from, solved by you first and then against the solution file, with XLOOKUP for each product's name and unit amount, a line total and order IDs rebuilt in one style.
  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.

Should a data entry operator learn XLOOKUP or VLOOKUP?

Both, with XLOOKUP for the sheets you build and VLOOKUP for the files you inherit, and The Complete Excel Course with AI Integration from Coding Liquids teaches them side by side on the PeopleInsight HR workbook, an industry-standard project designed after talking with people from many different industries. XLOOKUP reads left or right, points straight at the column it returns, so an inserted column cannot break it, and writes a message of your own when a code is missing (Lesson 69). VLOOKUP runs in every version of Excel and still fills older workbooks, so you learn it properly as well (Lesson 68). This page gathers the 10 lessons that make lookups safe at speed, 45 minutes in all: codes cleaned, a drop-down that blocks bad entries, the lookups themselves with IFERROR and INDEX with MATCH, then UNIQUE and FILTER, and a challenge that fills an orders sheet from a product list.

Which parts of a data entry job can a lookup take over?

Three that come round on every shift, and The Complete Excel Course with AI Integration teaches the formula for each. Filling in: key a location code and XLOOKUP brings back its city, region and work arrangement from the master list (Lesson 69), so only the code is typed and the rest cannot be mistyped. Verifying: a lookup that finds nothing says so, as n/a or NOT MATCHED, which turns a lookup column into a check on every code in the batch (Lesson 70). Comparing: look each row of one list up in another and the rows missing from the second stand out at once. The lessons join an employee sheet to department and location sheets (Lesson 68 to Lesson 71) and an orders sheet to a product list (Lesson 78). A keyed batch and its customer or product master meet in exactly that way, through a code both of them hold.

Why do people still use VLOOKUP instead of XLOOKUP?

Because XLOOKUP needs a modern Excel and VLOOKUP does not, and because so many shared workbooks are built on it; The Complete Excel Course with AI Integration makes you fluent in both for that reason. Lesson 68 teaches VLOOKUP the careful way before XLOOKUP arrives: the department ID as the lookup value, the lookup sheet's columns as the table, the column number counted from the left, FALSE for an exact match, and the range locked with F4 so the rows below keep finding it. It then exposes the function's weak spot by experiment, inserting a column into the lookup table and watching the results turn to zeros before undoing it. VLOOKUP also reads only to the right of the column it searches, a limit that INDEX with MATCH (Lesson 71) and XLOOKUP (Lesson 69) both remove. You will meet VLOOKUP in files colleagues send round; after these lessons you can read it, repair it and decide when to replace it.

Can a lookup bring back the wrong record without showing any error?

Yes, and that is the more dangerous failure, because nothing on the sheet looks wrong; The Complete Excel Course with AI Integration builds the habits that prevent it. A VLOOKUP whose last argument is left out runs an approximate match, which can hand back a neighbouring row's details where an error should have appeared, so Lesson 68 always gives FALSE for an exact match. VLOOKUP also counts its return column by number, so a column inserted into the master list changes what comes back, as that lesson shows. XLOOKUP sidesteps both: Lesson 69 sets an exact match and points at the return column itself, so inserted columns change nothing. The last safeguard is the plainest: work one row out by hand before trusting a filled column, the same test Lesson 95 applies to every formula an AI writes. On a batch that goes into a customer or stock system, that habit is worth more than speed.

Why does my lookup return #N/A for a code that looks correct?

Usually one of three faults, and The Complete Excel Course with AI Integration shows each one. The commonest on keyed or pasted data is invisible: a space at the end of the code, which TRIM clears (Lesson 42) before the clean values are pasted back over the originals. The second is one wrong character, which Lesson 70 demonstrates by altering a single department code until both lookup columns fail on it. The third is a table range left unlocked, so the formulas further down slide off the master list and return errors or zeros; Lesson 68 and Lesson 69 lock the range with F4 before filling down. With the causes fixed, IFERROR or XLOOKUP's own if-not-found argument turns any genuine mismatch into words such as NOT MATCHED, so the rows still to chase are filtered out in a moment instead of hunted for by eye.

Can the course help me stop wrong codes being keyed in the first place?

Yes: a drop-down list fed from the master list does it, and The Complete Excel Course with AI Integration teaches the method in Lesson 45. Data Validation's List setting takes its choices from a range on another sheet, so the Department column in the lesson accepts only the names on a separate list sheet and refuses anything else with an error message. Point the same rule at the code column of your master list and every code entered is one the lookup can find. Lesson 75 produces such a list by formula: UNIQUE spills the distinct values of a column and keeps them current as the source changes, a use the lesson itself suggests for drop-downs and validation. Prevention and lookup then work as a pair. The drop-down keeps typing errors out at the moment of entry, and XLOOKUP completes the row from the code chosen.

VLOOKUP, XLOOKUP or INDEX with MATCH: which one suits a data entry sheet?

XLOOKUP for new sheets in a modern Excel, INDEX with MATCH where a file must also open in an older one, and VLOOKUP to read and repair what colleagues already use; The Complete Excel Course with AI Integration teaches all three on the same HR data, so you choose with your eyes open. VLOOKUP searches the first column of a table and returns a column picked by its number (Lesson 68). XLOOKUP takes a lookup range and a return range of its own, in either direction, with an exact match, an if-not-found message and a two-way lookup (Lesson 69). INDEX with MATCH is the long-standing flexible pair: MATCH finds the position of a code, INDEX returns whatever sits at that position, and between them they read in any direction across named tables (Lesson 71). Seeing all three solve the same problem on one dataset is what makes the rule stick when a real file lands on your desk.

Can a lookup pull details from another sheet or another workbook?

From another sheet, yes: that is how every lookup in The Complete Excel Course with AI Integration is built. The PeopleInsight HR workbook keeps its employees on one sheet and its departments and locations on lookup sheets of their own, so Lesson 68 and Lesson 69 reach across tabs as a matter of course, the table range locked so it holds as the formula fills down, and Lesson 78 completes an orders sheet from a separate products sheet. A master list in a different workbook answers to the same formula once the reference points into that file, though no lesson builds a link between workbooks. Where the other file arrives fresh every week, a Power Query merge is the sturdier route: Lesson 163, beyond this path, adds product and region names to every row with a left join and repeats the step on refresh.

Can XLOOKUP match on two conditions or return every matching row?

Each of those needs has a lesson of its own in The Complete Excel Course with AI Integration. XLOOKUP's two-way lookup (Lesson 69) returns the value where a chosen row and a chosen column meet. When you want every match rather than the first, FILTER does it: Lesson 76 returns all the rows that meet one condition, then two, with the asterisk working as AND and the plus sign as OR, so every active record at one job level, or every record from either of two locations, spills out at once. Because a lookup stops at its first hit, FILTER is also a quick way to see whether a code sits in a list more than once. A single lookup keyed on two columns together has no lesson, and FILTER with AND meets that need on a modern Excel, the version FILTER itself requires.

Will XLOOKUP work in the Excel my office uses?

Yes on a modern Excel, and The Complete Excel Course with AI Integration tells you which functions depend on that as it reaches them. A quick test uses Formula AutoComplete from Lesson 38: type =XL in a cell and Excel either offers XLOOKUP or it does not. VLOOKUP and INDEX with MATCH run in every version, and so does IFERROR, which wraps them in Lesson 70, so a sheet that must open on an older copy can be built from those alone. A file that relies on XLOOKUP can show #NAME? on an Excel without it, the error Lesson 12 explains, so find out what your colleagues run before you choose. The lessons are recorded in Microsoft 365 on Windows or Mac, and every lookup on this page works on either, so a home laptop and an office desktop can share the practice.

Is there practice that looks like real order entry?

Yes: the lookup Ninja Challenge in The Complete Excel Course with AI Integration is an order sheet waiting to be completed. Lesson 78 hands you an Orders sheet with empty columns and a Products sheet holding the data, and sets the tasks before showing any answer: XLOOKUP each order's product ID to bring in the product name, a second XLOOKUP for its unit amount, a line total from the quantity, and every order ID rebuilt in one style by joining a text prefix to it. On the way it hits a real snag: an @ in a table reference takes only the current row, which breaks a lookup that needs the whole column, and removing it clears the error. You solve the sheet first, then compare it with the solution file. For anyone who keys orders all day, it is a shift's work in miniature.

Has Copilot made learning XLOOKUP unnecessary?

No: Copilot drafts, and someone who knows lookups has to check the draft, which is why The Complete Excel Course with AI Integration teaches both. Nothing has replaced XLOOKUP itself; it remains Excel's current lookup function. In Lesson 95 Copilot and ChatGPT write formula columns from plain requests, and nothing is kept until its formula is read, one row is worked out by hand and the results are scrolled through. Lesson 99 adds a checklist, because a wrong answer arrives as confidently as a right one, and Lesson 104 has Claude repair a broken formula column inside Excel. Checking a drafted lookup means knowing what an exact match, a locked range and an if-not-found argument should look like, and that knowledge is exactly what this page builds. With it, AI makes your lookups faster; without it, you cannot tell when they have quietly gone wrong.

Can someone new to formulas learn VLOOKUP and XLOOKUP here?

Yes, provided the basics come first, and The Complete Excel Course with AI Integration supplies them before the lookups begin. The lookup lessons assume two things: that you can write a simple formula, taught from Lesson 8, and that you can lock a cell reference with F4, taught in Lesson 10. With those in hand, Lesson 67 explains why lookups matter before any formula is typed: copying data between tabs is slow and invites mistakes, while a lookup applies one rule to thousands of rows. Each lesson after it is short and adds a single idea. The PeopleInsight HR workbook comes as a starter file and a finished one, so you type every lookup yourself and compare. The plan with instructor support adds written answers to your own questions, sent from the inbox under each lesson, for two months that begin when you switch the plan on.

How long before lookups are filling in my batches?

About 45 minutes for the whole path, and the first working lookup arrives within its opening lessons. In The Complete Excel Course with AI Integration, Lesson 68 ends with department names filled down an entire sheet, and Lesson 69 with four columns of location details, each from one formula filled down: rebuild either on your own batch and its master list the same day. Lesson 70 adds the readable flag for codes that fail, the point where a lookup column becomes a check. INDEX with MATCH, UNIQUE, FILTER and the orders challenge then round out the set. Lifetime access keeps every lesson on hand for the day a new master list arrives, and finishing the whole course earns a Certificate of Completion with a verification link to share. Free lessons wait on the course page if you want to see the teaching before you decide.

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.