The Complete Excel Course with AI Integration

XLOOKUP and VLOOKUP for executive assistants

An executive assistant's lists rarely agree: the RSVP sheet has names but no dietary needs, the expense report has people but no cost centres, the seating plan wants titles that live in the staff directory. The Complete Excel Course with AI Integration ends the copying with lookups on the PeopleInsight HR workbook, an industry-standard project, and this page picks out those lessons: VLOOKUP and XLOOKUP, missing matches, two-way lookups, INDEX and MATCH, and the clean keys that make every lookup hit.

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:

  • Bring dietary needs, offices and titles from the staff directory into an RSVP list or seating plan with XLOOKUP, copied across to fill several columns from one formula.
  • Keep the VLOOKUP formulas in shared and inherited files working, with an exact match, a locked table range and an eye for the inserted column that breaks them.
  • Show a message of your own for a name that is not on the list, through XLOOKUP's if not found answer or IFERROR round a VLOOKUP, so no raw #N/A reaches your executive.
  • Read one figure out of a grid, a single department's spend for a single month, with a two-way lookup in XLOOKUP.
  • Follow, repair and extend the INDEX and MATCH formulas a predecessor left behind, including lookups that read to the left of their key.
  • Make keys that match before any lookup runs: duplicate IDs removed, stray spaces cleared with TRIM and capitals made consistent with PROPER.
  • Match on two details at once with FILTER and AND logic, or with a key joined by CONCAT, when one person appears on several rows of a trip or meeting log.
  • Turn an attendee list into a briefing table with UNIQUE, FILTER and SORT: every team listed once, everyone from one office, the whole list in name order.

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 lookup workbench for this page: department, partner and location details fetched by VLOOKUP, XLOOKUP and INDEX and MATCH, missing codes caught by IFERROR, codes split and names combined so two lists share a key. Put your directory and RSVP list in place of the HR tables and the method holds.

  • Project 14

    Agentic AI in Excel

    AI finds and fixes the formula; you check it before it counts.

    Lookups give you the eye for what AI drafts: when Copilot or ChatGPT writes a formula column, or Claude repairs a broken one, you read its ranges and its match type before a single figure leaves your desk.

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 list that gets keys right before any lookup runs: duplicate IDs found and removed, stray spaces trimmed and capitals made consistent, so each person appears once and is written one way, which is the state a staff directory must be in for lookups to hit.

Lessons

The lessons that matter, in course order.

The Complete Excel Course with AI Integration has 186 lessons. This page picks out 13 of them, 1 h 1 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 SUM and fill a formula down: the lookups begin there, on a workbook whose details sit on separate sheets. If the lists you match are full of stray spaces and repeated names, take Lesson 23 and Lesson 42 first, because a lookup only finds what is typed the same way. New to formulas altogether? Begin with Lesson 8, where references and filling down are taught, then come back. Already writing VLOOKUP? Go straight to Lesson 69 for XLOOKUP and the two-way lookup.

13 of 186 lessons · 1 h 1 min

03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) 1 of 9 lessons · 6 min One person, one ID: repeated IDs highlighted with conditional formatting, then taken out with Remove Duplicates or chosen one by one through a table filter, so a lookup has a single row to find. The list is an employee database, the same shape as the directory your lookups will read.
  1. 23 Remove duplicates in Excel Find and delete duplicate rows in an employee list 6 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: spaces cleared from either end and capitals put right, then pasted back as values. A name with a trailing space is a different name to a lookup, which is why clean keys come before formulas.
  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 lookups themselves, on the PeopleInsight HR workbook: why lookups matter, VLOOKUP with an exact match, XLOOKUP with if not found and a two-way lookup, IFERROR for lookup errors in both, and INDEX and MATCH as the flexible alternative. The sheets hold HR records; a staff directory, an RSVP list and an expense report connect by the same codes.
  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 Keys built and taken apart: CONCAT and TEXTJOIN join first and last names into the form another list uses, and LEFT, RIGHT and MID split a code that packs location, department and number into one cell, so two lists can meet on the same value.
  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 4 of 12 lessons · 18 min Lookups that return many rows: UNIQUE lists each value once, FILTER keeps the rows that meet one condition, both, or either, and SORT and SORTBY order the results by formula, all of which need a modern Excel. Then a lookup challenge, solved before its answer is shown.
  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

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.

XLOOKUP and VLOOKUP for executive assistants: will they end the copying between my lists?

Yes, for good. The Complete Excel Course with AI Integration from Coding Liquids teaches both side by side on the PeopleInsight HR workbook, an industry-standard project designed after talking with people from many different industries, where the details you need sit on different sheets, just as an executive office's lists do. VLOOKUP comes first, with the exact match and the two slips that break it; XLOOKUP follows, with its own message for a missing code and a two-way lookup; then IFERROR, INDEX and MATCH, the text formulas that build and split keys, and FILTER and SORT for lists that return many rows at once. This page picks out the 13 lessons involved, 1 hour 1 minute in all, and ties each to an assistant's work: RSVP lists, expense reports, seating plans and the staff directory. A challenge at the end has you write them without help.

When I build a new tracker, should every lookup be an XLOOKUP?

Yes, wherever everyone who opens the file has a modern Excel, and The Complete Excel Course with AI Integration shows why. In Lesson 69, XLOOKUP is told the column it searches and the column it returns, so it can read to the left or the right, and a column inserted into the source does not knock it out. XLOOKUP matches exactly unless told otherwise, where VLOOKUP needs FALSE typed in, and it carries its own answer for a missing code, so an RSVP list can show a phrase you choose, such as no restrictions listed, in place of #N/A. The one reason to hold back is the version: XLOOKUP needs a modern Excel, which the course flags when the function arrives. A tracker sent to someone on an older version keeps VLOOKUP, which Lesson 68 teaches properly first, so you are ready for either.

Why do so many shared workbooks still run on VLOOKUP?

Because VLOOKUP runs in every version of Excel, and office files outlive the versions they were built in, so The Complete Excel Course with AI Integration teaches it properly enough to keep those files healthy. Lesson 68 writes one the way it should be written: an exact match with FALSE, the table range locked with F4 before filling down, and the column to return counted from the left. Then it breaks one on purpose, inserting a column into the lookup table so the results turn to zeros, the fault behind many an inherited tracker that suddenly shows nonsense. Lesson 70 wraps VLOOKUP in IFERROR so a missing code reads as a message. Knowing both functions, you choose with confidence: VLOOKUP for the files that travel to older versions, XLOOKUP (Lesson 69) for everything you build and control yourself.

My predecessor's workbooks use INDEX and MATCH: will I be able to follow and fix them?

Yes. The Complete Excel Course with AI Integration teaches INDEX and MATCH in Lesson 71 as the flexible alternative to VLOOKUP, one piece at a time: INDEX returns whatever sits at a given row and column of a table, MATCH returns the position of a value, with 0 for an exact match, and together they fetch an HR business partner's name for every employee. Taken apart like that, a long INDEX and MATCH stops being a wall of brackets and becomes two plain questions: where is it, and what sits there? The lesson also names its tables first, so the formula reads in words rather than cell addresses, and uses the @ sign for the current row, a detail that catches many people out. With that, a predecessor's files are yours to maintain, and where every user has a modern Excel you can rebuild them in XLOOKUP whenever you choose.

Can XLOOKUP bring dietary needs and offices from the staff directory into my RSVP list?

Yes, and it is the textbook use of the function. In The Complete Excel Course with AI Integration, Lesson 69 makes the same kind of join on HR data: each employee's location code is looked up on a separate location sheet, and XLOOKUP returns the city, with the ranges locked and n/a shown for any code it cannot find. Repeated for the state, then copied across with the lookup cell put back on the code, it fills the region and the work arrangement too. Point it at your RSVP sheet: each attendee's staff ID as the value to find, the directory's ID column to search, the dietary column to return and a phrase of your own for anyone not on file, then copy it across for office, team and title. When the guest list changes, the details follow, with no copying between tabs. The lessons use employee records; an event list keyed on the same IDs behaves identically.

Why does my lookup work on the first row but show errors further down?

Almost always because the range it searches moved as the formula filled down, and The Complete Excel Course with AI Integration makes the cure a reflex. In Lesson 68, a VLOOKUP filled down by double-click shows errors in the lower rows until the table range is locked with F4, which adds the dollar signs that hold it still. Lesson 69 gives the same warning for XLOOKUP: errors or zeros lower down usually mean an unlocked range. The other usual culprits are covered too: a code typed with one letter too many, which breaks the match in Lesson 70 until IFERROR shows NOT MATCHED, a stray space, which TRIM clears (Lesson 42), and the @ sign inside a table reference, which in Lesson 78 takes a single row where the lookup needs the whole column. Each takes seconds to fix once you know it on sight.

Can a lookup add the right cost centre to every line of my executive's expense report?

Yes: keep one table of people or categories with their cost centres, and a lookup writes the code beside every line. The Complete Excel Course with AI Integration teaches the pattern on HR data in Lesson 68, where each employee's department ID fetches the department's name and then, with the column number changed, its HR business partner, the same formula reused for a second column. Lesson 69 does the job with XLOOKUP, and Lesson 70 catches the line whose person or code is missing from the table, so it shows a message instead of quietly dropping out of a total. Once every line carries its cost centre, a SUMIFS (Lesson 37) totals the report by cost centre in one formula, and finance receives the split already made. The lessons match employees to departments; your claim lines match to cost centres in exactly that way.

Can I pull one department's figure for one month out of a budget grid for the board pack?

Yes, with a two-way lookup, which The Complete Excel Course with AI Integration teaches with XLOOKUP in Lesson 69. A grid holds departments down the side and months across the top, and the figure you want sits where one row crosses one column; a two-way lookup finds both and returns the cell at the crossing. INDEX, from Lesson 71, works on the same idea in older files, taking a row number and a column number, while MATCH finds a position. For an executive assistant, that is the line in the board pack showing one team's spend for the period, read from finance's grid rather than copied by eye, and still right after finance updates the grid. Type a different department or month into the input cells and the answer changes at once, which makes it a quick tool for the questions an executive fires off mid-meeting.

One person can appear on several rows, one for each trip or meeting: can a lookup still find the right one?

Yes, by matching on two details at once, and The Complete Excel Course with AI Integration gives you the means. FILTER, in Lesson 76, returns every row that meets two conditions together, with the asterisk acting as AND between them, so one traveller's bookings for one month appear as a list that updates itself. For a single answer, combine two taught pieces: CONCAT or TEXTJOIN (Lesson 72) joins a person's ID and an event code into one key in each list, and XLOOKUP then matches on that joined key. Either way, the repeated rows stop being a trap and start being useful. The lessons filter employees by status and job level together, and by one office or another with the plus sign standing for OR; a trip log or a meeting log answers to the same logic, row for row.

Our staff directory has stray spaces and some people listed twice: will lookups still work?

Not reliably until the list is put right, and The Complete Excel Course with AI Integration teaches that clean-up ahead of the lookups. To a lookup, a name with a trailing space is a different name, so Lesson 42 uses TRIM to clear spaces from either end and PROPER to give every name the same capitals, then pastes the clean text back as values. Lesson 23 deals with repeats: conditional formatting highlights duplicate IDs, Remove Duplicates takes whole rows out, and a table filter lets you choose which record stays, because an ID should belong to one person only, like a passport number. A lookup returns the first match it meets, so a duplicate can hand you an old office or a former title without any error to warn you. With the directory clean, every lookup on this page has exactly one right row to find.

How would I explain VLOOKUP if it comes up in an interview for an assistant role?

In one plain sentence followed by an example from work, and The Complete Excel Course with AI Integration gives you both. The sentence: VLOOKUP finds a value in the first column of a table and returns what sits in a chosen column to its right, as Lesson 68 shows when a department ID fetches the department's name. The example: a staff ID that brings a cost centre into an expense report, so nothing is copied by hand. If the follow-up asks what goes wrong, you will know: FALSE for an exact match, a locked table range, and an inserted column that throws the count out. Then show that you are current: XLOOKUP (Lesson 69) searches in either direction and survives inserted columns, and INDEX and MATCH (Lesson 71) did that first. Having built the PeopleInsight workbook yourself, you describe a real piece of work, not a definition learnt the night before.

Copilot can match two lists in seconds: what do I need to know to trust its lookup?

Enough to read the formula it writes, and The Complete Excel Course with AI Integration gives you exactly that before AI enters the picture. A lookup written by Copilot or ChatGPT is still VLOOKUP, XLOOKUP or INDEX and MATCH underneath, and its faults are the ones on this page: a range left unlocked, an approximate match where an exact one was needed, a missing code shown as an error or, worse, as a zero. The AI section later teaches a check for any formula column an assistant has AI draft (Lesson 95): work one row out by hand, read the logic, and scroll through the results. With the lookups learnt, that check takes a minute; without them, you are trusting a stranger's formula in a report your executive will quote. Claude in Excel can repair a broken column for you (Lesson 104), and you will know whether its repair is right.

Lookups look intimidating: how long until I can use them on my own lists?

About 1 hour 1 minute for the 13 lessons on this page, and the first useful lookup arrives within the opening few. The Complete Excel Course with AI Integration starts the section with the reason lookups matter (Lesson 67), writes a VLOOKUP in Lesson 68 and an XLOOKUP in Lesson 69, so you can bring a column of details into one of your own lists that same day. Every step uses the PeopleInsight starter workbook, with the finished one to compare against, and the challenge in Lesson 78 asks you to fill in product names, amounts and totals before you see the answer, which is the moment lookups stop feeling like magic. Everything here runs on Windows or a Mac. Lifetime access keeps the lessons ready for the next list that lands on your desk, and with the instructor support plan your questions go to the instructor, answered in writing.

Can lookups help me build a seating plan or a briefing note with each attendee's title and team?

Yes: an attendee list with one column of IDs becomes a full briefing table in a handful of formulas. In The Complete Excel Course with AI Integration, XLOOKUP (Lesson 69) fetches each person's title, team and office from the directory. Lesson 75 lists every value once with UNIQUE, so each team present appears a single time, useful for table cards or a quick count of who is coming from where. Lesson 76 uses FILTER to pull out everyone from one office, or from either of two, as a list that keeps itself current, and Lesson 77 orders the whole table with SORT, or by a column you never show with SORTBY. For a dinner or an off-site, that is a seating plan, a briefing note for your executive and badge names in order, rebuilt in seconds when the guest list changes. UNIQUE, FILTER, SORT and SORTBY need a modern version of Excel.

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.