The Complete Excel Course with AI Integration
XLOOKUP and VLOOKUP for administrative assistants
Half of office admin is carrying details from one list to another: an extension beside a name, a supplier's terms beside an invoice, a reply beside a guest. Copied by hand, it is slow, and it is where mistakes creep in. The Complete Excel Course with AI Integration teaches the lookups that do it with one formula, on PeopleInsight, an industry-standard project, and this page picks them out: VLOOKUP, XLOOKUP, not-found messages, INDEX and MATCH, keys joined and split, FILTER and a challenge to solve alone.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Pull a colleague's department, HR contact or office location in beside their name or staff ID with XLOOKUP, from a master list kept on another sheet, with no copying and pasting between tabs.
- Keep VLOOKUP working in the workbooks an office inherits: an exact match with FALSE, the table range locked before the formula is filled down, and the column number checked whenever someone inserts a column.
- Show wording of your own where a name has no match, with XLOOKUP's if-not-found answer or IFERROR, so a guest who has not replied or a supplier code nobody recognises is plain to whoever opens the sheet.
- Fill several columns from one list in a single pass: a supplier's contact, payment terms and account code beside every invoice in a log.
- Read a grid with a two-way lookup or INDEX and MATCH, such as who covers reception on a given day of a rota, and look up by an ID that sits to the right of the detail you need.
- Build the value a lookup searches by: join a first name and a last name with CONCAT or TEXTJOIN, or cut the office and department out of a packed reference with LEFT, MID and RIGHT.
- List every row that matches, not only the first, with FILTER: all the open requests for one department, or every booking in either of two rooms.
- Match an order sheet to an item list by ID, bring back each item's name and cost, and total every line, as the Ninja Challenge has you do without help.
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 project, and the kind of data an office keeps: a staff sheet holding only codes, department and location details on separate tabs, and VLOOKUP, XLOOKUP and INDEX and MATCH bringing names, places and working arrangements in beside every person.
-
Project 12
SalesFusion
A sales report that refreshes itself from a folder of files.
The step after formulas, for a list that arrives every week as an export: a Power Query merge looks names up for a whole table in one pass (Lesson 163) and repeats the match at every refresh.
-
Project 02
Dunder Michael Paper Company employee database
Where a list is made fit to be looked up: repeated IDs found and removed until each person has a single row, stray spaces trimmed and capitals put right. A lookup is only as good as the list it reads, and this project is where that list gets cleaned.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 11 of them, 47 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 fill it down a column: the lookups begin there, on the PeopleInsight workbook. If a filled-down formula has ever surprised you, take Lesson 10 first, because every lookup on this page locks the range it searches. Already at home in VLOOKUP? Go to Lesson 69 for XLOOKUP and carry on to INDEX and MATCH. If Excel itself is new, begin the course at Lesson 1, and the lookups arrive in their turn.
11 of 186 lessons · 47 min
01 Microsoft Excel fundamentals: building a foundation from scratch The lock every lookup leans on: relative and absolute references, with the dollar signs that hold a range still while a formula is filled down a list. It is taught on a rate applied down a budget column, and it is the reason a lookup that works in the first row still works in the last.
- 10 Relative vs absolute references in Excel Dollar signs and mixed references 3 min
08 Advanced Excel functions: lookups, text and arrays The lookups themselves, on the PeopleInsight HR workbook: why matching on a shared ID beats copying between tabs, VLOOKUP on an exact match across sheets, XLOOKUP with exact match, its own if-not-found answer and a two-way lookup, IFERROR for lookup errors in VLOOKUP and XLOOKUP formulas, and INDEX and MATCH as the flexible alternative. The sheets hold employees, departments and locations; a staff directory, a supplier list or a guest list is matched the same way.
- 67 Start here Lookup functions in Excel The PeopleInsight HR dataset and why lookups matter 2 min
- 68 VLOOKUP in Excel Find employee data across sheets with exact match 4 min
- 69 XLOOKUP in Excel Exact match, if not found and two-way lookup 6 min
- 70 IFERROR in Excel Handle lookup errors in VLOOKUP and XLOOKUP formulas 3 min
- 71 INDEX and MATCH in Excel A flexible alternative to VLOOKUP 6 min
08 Advanced Excel functions: lookups, text and arrays The value you look up by, made and taken apart: CONCAT, the & operator and TEXTJOIN join a first name and a last name into the full name a list is keyed on, and LEFT, RIGHT and MID cut a packed code into its parts, as an asset tag or a booking reference often needs before it will match anything.
- 72 CONCAT and TEXTJOIN in Excel Combine employee names and text with a delimiter 3 min
- 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 Beyond a single answer: UNIQUE spills the distinct values of a column, the quickest way to start a lookup list of departments or suppliers from a log, and FILTER returns every row that meets one condition or several, with AND and OR between them. Both are dynamic array functions and need a modern Excel.
- 75 UNIQUE function in Excel Extract a distinct list with dynamic arrays 6 min
- 76 FILTER function in Excel Dynamic array filtering with AND and OR criteria 5 min
08 Advanced Excel functions: lookups, text and arrays The Ninja Challenge, solved alone before the answer is shown: an orders sheet matched to a products sheet by ID with XLOOKUP, each line totalled and the order IDs reformatted. Put stationery items where the products are and it is the order form an assistant fills in every month.
- 78 Excel Ninja Challenge XLOOKUP, totals and text concatenation lookup challenge 3 min
Instructors
Who teaches it.
Instructor, Excel with AI
Virginia Thorn
Emmy Award winner. Teaches Excel with AI at Coding Liquids.
Questions
Asked before starting.
What are XLOOKUP and VLOOKUP used for in administrative work?
For fetching the details that match a name, an ID or a code from one list into another, so that nothing is carried across by hand. The Complete Excel Course with AI Integration from Coding Liquids teaches both functions on PeopleInsight, an industry-standard project designed after talking with people from many different industries, and its data is the kind an office keeps: a staff sheet that holds only codes, with department and location details on separate tabs. In an office the same formulas put an extension beside a name, a supplier's terms beside an invoice, a meal choice beside a guest and an item's cost beside an order line. This page picks out the 11 lessons that teach them, 47 minutes in all: VLOOKUP, XLOOKUP, messages for what is not found, INDEX and MATCH, keys joined and split, FILTER for every match, and a challenge you solve alone.
XLOOKUP vs VLOOKUP: which should I use for office lists?
For every new lookup, wherever your Excel has XLOOKUP; keep VLOOKUP for the workbooks that already run on it. The Complete Excel Course with AI Integration teaches both on the same staff data, so the difference is seen and not memorised. In Lesson 68 VLOOKUP finds a department name, but only by counting columns in a table whose first column must hold the value searched for, and a column inserted into that table spoils the result. In Lesson 69 XLOOKUP is pointed straight at the column to search and the column to return, looks to the left as easily as to the right, survives an inserted column and carries its own answer for a value that is not found. XLOOKUP needs a modern Excel, and the course flags that when it appears; VLOOKUP is what a colleague's older file will already contain, which is why an assistant is well served by knowing both.
Can a lookup pull departments or office locations from another sheet into my staff list?
Yes: that is the first thing the lookup lessons build. The PeopleInsight workbook in The Complete Excel Course with AI Integration keeps its employees on one sheet with nothing but a department ID and a location code against each, and the meaning of those codes on other sheets. Lesson 68 writes one VLOOKUP, fills it down and has the department name beside every employee, then repeats it for the HR business partner who looks after each department. Lesson 69 does the same with XLOOKUP for the city, state, region and working arrangement of each location. The formula is typed once and the fill handle does the rest, however long the list. Keyed on a staff ID or a name, the same lookup puts extensions, email addresses or line managers beside a list of people, and when a detail changes on the master list, every sheet that reads it changes too.
Can one formula bring a supplier's contact, terms and account code into my invoice log?
Yes: write the lookup once and repeat it across, as The Complete Excel Course with AI Integration does in Lesson 69. There a single XLOOKUP returns each employee's city from the location sheet, and the same formula, pointed at the next return column each time, brings in the state, the region and the working arrangement as well. Lesson 68 shows VLOOKUP's version of the job, where only the column number changes. On an invoice or purchase log the supplier's name or code is the value searched for, and the supplier list provides the rest: contact, payment terms and account code, each in its own column beside every invoice. Type a new invoice with its supplier and those columns fill themselves, spelled exactly as the supplier list spells them, which is what stops one supplier turning into two lines of the month's totals.
Can a lookup show which invited guests have not replied yet?
Yes: look each guest up in the list of replies and let the formula say so where it finds nothing. The Complete Excel Course with AI Integration teaches both ways of writing that message. In Lesson 69 XLOOKUP carries its own if-not-found answer, typed as part of the formula, so an unmatched row shows wording you chose. In Lesson 70 IFERROR handles lookup errors in VLOOKUP and XLOOKUP formulas: a department ID is changed on purpose until it no longer matches, raw errors appear, and IFERROR turns them into NOT MATCHED. The lessons do this to employee records. Point the same formula from an invitation list at the RSVPs received and every guest shows either a reply or No reply yet, and the same check finds the staff missing from a training register or the invoices that have no purchase order behind them.
Why does my VLOOKUP show #N/A when the name is plainly in the list?
Because to Excel the two entries are not the same, and The Complete Excel Course with AI Integration shows you each way that happens. One extra letter in a code is enough: Lesson 70 proves it by altering a department ID and watching every lookup on it fail. A space typed after a name is invisible to you and decisive to Excel, which is why TRIM is taught as the cure in Lesson 42. A table range left unlocked slides down as the formula is filled, so the rows below start missing entries that are really there (Lesson 68), and an @ left in a table reference makes a lookup read one row where it needs the whole column (Lesson 78). Once you can name those four causes, a column of #N/A stops being a mystery and becomes a short list of things to check before the sheet goes out.
My staff IDs sit in the third column of the list: can I still look people up by ID?
Yes. XLOOKUP does not mind where the ID column sits, and The Complete Excel Course with AI Integration teaches the older route as well. VLOOKUP can only search the first column of its table and return something to the right of it, a limit Lesson 71 spells out, so a list with names first and IDs third defeats it unless the columns are rearranged. Lesson 69 shows XLOOKUP searching one column and returning another wherever each stands, to the left or to the right. Lesson 71 then teaches INDEX and MATCH, the pairing that lifts the same limit without XLOOKUP: MATCH finds the position of the ID, and INDEX returns whatever sits at that position in the column you want. Lists exported from HR, payroll or booking systems rarely arrive in the order a VLOOKUP would like, and after these lessons that no longer matters.
Can I read a rota or a rate card where the answer sits at a row and a column?
Yes: that is a two-way lookup, and The Complete Excel Course with AI Integration teaches it in Lesson 69, as the lesson's own title says: exact match, if not found and two-way lookup. An ordinary lookup runs down one column. A two-way lookup finds the row and the column together and returns the cell where they cross, which is how a grid is read: the person on reception on Thursday from a rota, the rate for a given room and length of booking from a rate card, the allowance for a grade and a destination from a travel policy. Lesson 71 adds INDEX, which returns the cell at a given row and column of a table, with MATCH to find the position. The lessons read HR tables; any grid with labels down the side and across the top is read the same way, and the answer changes the moment the grid does.
Can I find a booking by two details at once, such as a name and a date?
Yes, with FILTER, which The Complete Excel Course with AI Integration teaches in Lesson 76 with AND and OR criteria. A lookup returns one answer for one value. FILTER returns every row that meets your conditions, and the lesson joins conditions both ways: employees who are active and at one job level, then employees at one office or another. On an assistant's sheet that is the booking for one name on one date, every open request for one department, or the visitors expected in either of two buildings, listed in full and updated as the sheet changes. Where a single answer is wanted from two details, the lessons give you the parts: Lesson 72 joins two cells into one with the & operator, and Lesson 69 looks the joined value up. FILTER is a dynamic array function and needs a modern Excel, which the course points out.
How should a staff or supplier list be set up so that lookups can be trusted?
With one row for each ID, one spelling for each name and a table name you can read, and The Complete Excel Course with AI Integration teaches all three. Lesson 23 finds repeated IDs with a duplicate highlight and removes the extra rows, on the principle that an ID is like a passport number: one person, one ID. A lookup that meets two rows for one ID returns only the first, so this matters more than it looks. Lesson 42 clears stray spaces and uneven capitals with TRIM and PROPER. Lesson 71 names the tables on the Table Design tab, so a formula reads as employees and departments instead of a block of cell references, and Lesson 73 formats the data as an Excel Table, the kind that takes in new rows as they are typed (Lesson 19). A staff, supplier or room list kept this way can be looked up by anyone in the office without surprises.
How can I practise VLOOKUP and XLOOKUP until they stick?
On the course's own files first, then on a challenge with the answers hidden. The Complete Excel Course with AI Integration gives you the PeopleInsight starter workbook, so every lookup in the lessons is one you type yourself, and the finished workbook to compare against when a result looks odd. Then comes Lesson 78, a Ninja Challenge on a fresh workbook: an orders sheet with empty columns and a products sheet to fill them from. You pause the lesson, match each order to its product by ID with XLOOKUP, bring back the product's name and what it costs, work out each line's total and reformat the order IDs, and only then watch the solution. It is a stationery order in all but name. After that the best practice is on your own desk: pick two lists that share a name or an ID, and write the lookup that joins them.
Has anything replaced XLOOKUP, or is it still the lookup to learn?
Nothing has: XLOOKUP is the current lookup function, and The Complete Excel Course with AI Integration teaches it with everything its lesson title lists, exact match, if not found and a two-way lookup. What has grown up around it are companions. FILTER returns every matching row where a lookup returns one (Lesson 76). A Power Query merge does the lookup for a whole table in one pass and repeats it at every refresh, which suits a list that arrives each week as an export (Lesson 163). Copilot and ChatGPT can draft a formula from a typed request (Lesson 95), and the same lesson shows why each draft is read and tested before it is kept. None of these retires XLOOKUP. All of them are easier to judge once you know what an exact match, a return column and a not-found answer are, and that is exactly what these lessons leave you with.
Could I just ask Copilot or ChatGPT to match two lists for me?
You can ask, and The Complete Excel Course with AI Integration makes sure you can tell whether the answer is right. Lesson 95 has Copilot and ChatGPT write formula columns from a plain request, and before any column is kept the formula is read, one row is checked by hand and the results are scrolled through. A lookup written by AI deserves the same treatment, and the questions to put to it come straight from these lessons: is the match exact, is the range it searches locked, what appears when nothing is found? Lesson 99 adds a short checklist for any AI result, beginning with whether the right data was selected. An assistant who knows lookups uses AI as a fast typist. One who does not has no way of spotting a guest list matched against the wrong column until the name badges have been printed.
I have never written a VLOOKUP: are these lessons right for a beginner, and how long do they take?
Yes, and they are short: 11 lessons, 47 minutes in all. The Complete Excel Course with AI Integration opens the subject in Lesson 67 with the problem itself, related details scattered over several sheets, before a single function is typed, and takes VLOOKUP one argument at a time in Lesson 68. All you need beforehand is to be able to write a simple formula and copy it down a column. If dollar signs in a formula are new, begin with Lesson 10, the first lesson on this page, because every lookup locks the range it searches. If Excel itself is new, the course starts at Lesson 1 and reaches the lookups in order. A first working lookup takes one sitting, the starter and finished workbooks are included, and with lifetime access the lessons are there again on the day a new list lands on your desk.
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.
The same course
For another job, skill, goal, level, topic or comparison.
The course for this job
More skills for this job
- Excel formulas for admin assistants
- PivotTables for admin assistants
- Excel charts for admin assistants
- Dashboards for admin assistants
- Conditional formats for admin assistants
- Data cleaning for admin assistants
- Data validation for admin assistants
- Excel tables for admin assistants
- Text functions for admin assistants
- Date functions for admin assistants
- Copilot for administrative assistants
- ChatGPT for administrative assistants