The Complete Excel Course with AI Integration

XLOOKUP and VLOOKUP for facilities managers

Asset registers, contractor lists, room schedules and the helpdesk log all share keys, and every detail copied between them is a chance to be wrong. The Complete Excel Course with AI Integration teaches facilities managers to join them with VLOOKUP, XLOOKUP and INDEX and MATCH, practised on PeopleInsight, an industry-standard HR workbook. The path also gathers the clean-up that keeps tags matching and the lists that return every job for one asset.

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 repair log's location, model and warranty end columns from the asset register by tag with XLOOKUP, its ranges locked with F4 so every row below reads the same register.
  • Build lookups that still work for contractors on older Excel with VLOOKUP, or with INDEX and MATCH, and know which of them survives a column inserted into the register.
  • Show a plain message for a tag the register does not hold yet, through XLOOKUP's own if-not-found answer or IFERROR round a VLOOKUP, and count the unmatched jobs.
  • Read the right figure from a schedule of rates laid out as trades against regions with a two-way lookup.
  • Join site, floor and room into one key with CONCAT or the ampersand, and take a site code out of an asset tag with LEFT, MID and RIGHT, so registers that record places differently still match.
  • List every job logged against one asset with FILTER and put it in date order with SORTBY, where a single lookup stops at the first match.
  • Stop tags failing to match at the source, with TRIM for stray spaces and drop-down lists fed by the register's own column of tags.
  • Fill a spare parts requisition with each part's description and per-unit cost by XLOOKUP, and total every line.

Projects

What you will build.

The course has 14 industry-standard projects. These two matter most here.

  • Project 06

    PeopleInsight HR workbook

    Employee data joined across sheets with one formula.

    Built on an HR team's records, with departments and locations held on lookup sheets beside the main list: the same arrangement as an asset register kept apart from its sites, trades and contractors. Every lookup on this page is practised there first, and a completed copy of the workbook is there to compare yours with.

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 company's staff list, it is where text gets trimmed and pasted back as values and where a column is held to a drop-down, the two habits that keep asset tags matching their register.

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 4 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 simple formulas but have never joined two sheets: the lookups follow one another in the order a register needs them. If your tags are typed by hand and often fail to match, take the clean-up and drop-down lessons from Lesson 42 first. Already at ease with VLOOKUP? Skip ahead to Lesson 69 for XLOOKUP and the two-way lookup. If Excel is new to you, the course opens at Lesson 1.

14 of 186 lessons · 1 h 4 min

05 Text functions and data validation (enhancing data quality) 1 of 7 lessons · 6 min TRIM, UPPER, LOWER and PROPER on a staff list. The one that matters most to a lookup is TRIM, since a single stray space after an asset tag turns a perfect match into a miss, and the cleaned column is pasted back as values so the register holds clean tags rather than formulas.
  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 Drop-down lists sourced from an approved list kept on a sheet of its own. Fed by the asset register's tag column, a drop-down on the repair log means every tag entered there already exists in the register, so the lookup beside it always has a row to find.
  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 proper, on the PeopleInsight HR workbook: why related details belong on separate sheets joined by a shared ID, VLOOKUP with an exact match and a locked table range, XLOOKUP with its if-not-found answer and a two-way lookup, IFERROR for the codes that fail to match, and INDEX with MATCH as the route that looks in any direction. Employee IDs stand in for asset tags; the formulas do not change.
  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 3 of 12 lessons · 15 min Keys, codes and dates around a lookup: joining text with CONCAT, the ampersand and TEXTJOIN to build one key from several columns, splitting a coded ID with LEFT, RIGHT and MID, and the days left to a date with TODAY, the month's last day with EOMONTH and working days with NETWORKDAYS, which put a warranty end or a service date fetched by a lookup to work.
  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
  3. 74 TODAY, EOMONTH and NETWORKDAYS in Excel Date calculations for HR data 5 min
08 Advanced Excel functions: lookups, text and arrays 4 of 12 lessons · 18 min Lists that return every match: UNIQUE for each asset once, FILTER for every row meeting a condition, SORT and SORTBY to order the result as the data changes, then a lookup challenge on a products and orders file that fills names, per-unit figures and line totals. The spilled lists need a modern Excel, as the course says when they arrive.
  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.

Can learning XLOOKUP and VLOOKUP stop a facilities manager retyping asset, room and contractor details, and which course teaches both?

Yes, and The Complete Excel Course with AI Integration from Coding Liquids covers both, with INDEX and MATCH beside them. One formula on the repair log fetches an asset's location, model and warranty end from the register by its tag; another fills each work order's contractor from its trade; a third brings a room's floor and department from the space schedule. The lessons build that skill on the PeopleInsight HR workbook, an industry-standard project designed after talking with people from many different industries, whose departments and locations sit on lookup sheets of their own, the same arrangement as a facilities register. You learn exact matches, a message for a tag the register lacks, a two-way lookup and lists that return every match, and this page lays out 14 lessons for it: 1 hour 4 minutes of lessons that end the copying between tabs for good.

Can a repair log fill in each asset's location, model and warranty end from the register, just from its tag?

Yes: that is XLOOKUP's everyday job, and The Complete Excel Course with AI Integration teaches it in Lesson 69. The formula takes the tag typed on the log, finds it in the register's tag column and returns the column you point it at, with 0 asking for an exact match. The lesson fills four columns this way, copying the formula across and moving the return range along one column each time, so location, model, install date and warranty end can arrive in one pass. Its ranges are locked with F4 before filling down; an unlocked range is the usual reason a lookup works on the first row and fails further down. Once the warranty end sits on the log, Lesson 74 subtracts TODAY from it, so every repair shows how many days of cover remain before anyone agrees to pay a contractor for the work.

Can lookups put the right contractor and their out-of-hours contact on every work order, by trade?

Yes, from a contractor list keyed by trade, using the lookups of The Complete Excel Course with AI Integration. Keep one row per trade on its own sheet, holding the contractor, the out-of-hours contact and the response target, and XLOOKUP on the work order returns whichever column you need (Lesson 69). VLOOKUP does the same with an exact match, counting the columns by number (Lesson 68), as the lesson does when it fetches a department's name and then its HR business partner from one lookup table. The response target is the column that earns its keep: once it sits on the row, an IF can set the time taken against it. When a contractor changes, one row of the list changes and every work order follows, which is the whole case for a lookup over copying details into each job.

Our schedule of rates is a grid of trades against regions: can one formula read the right cell?

Yes: a two-way lookup reads it, and The Complete Excel Course with AI Integration teaches one in Lesson 69. One lookup finds the trade down the side of the grid, the other finds the region across the top, and the formula returns the cell where they cross, so an electrician's day rate in one region comes back from the trade and the region alone. Lesson 71 shows the older route to the same kind of answer: MATCH returns a position, with 0 for an exact match, and INDEX returns the cell at a given row and column of a table. The same grid shape turns up all over facilities work, from service frequencies by asset type and task to cleaning hours by building and floor, and each is read the same way instead of by a finger running along the rows.

Our contractors open the shared PPM sheet in older copies of Excel: should I build its lookups with VLOOKUP rather than XLOOKUP?

VLOOKUP or INDEX and MATCH is the safe build for that file, and The Complete Excel Course with AI Integration teaches you all three lookups, so the choice is yours file by file. XLOOKUP belongs to a modern Excel, and the course points out the functions that need one when they appear; an older copy cannot calculate it. VLOOKUP with an exact match (Lesson 68) works everywhere and does the job as long as the tag sits in the first column of the register's range. INDEX and MATCH (Lesson 71) also opens anywhere and looks in either direction. For the register you keep yourself, XLOOKUP (Lesson 69) is the better tool: it points straight at the column it returns and carries its own if-not-found answer. Knowing all three means the sheet fits whoever opens it, rather than every contractor having to upgrade first.

Someone inserted a column in the asset register and our VLOOKUPs started returning the wrong details: why?

VLOOKUP counts its columns by number, so an inserted column shifts what it returns, and The Complete Excel Course with AI Integration stages exactly that failure. In Lesson 68 a column is inserted into the lookup table and the results turn to zero at once, because the column number in the formula now points somewhere else; the lesson then undoes it to make the point. On a shared asset register, where someone adds a criticality or fire zone column every so often, that is how a repair log quietly starts showing the wrong model against a tag. XLOOKUP (Lesson 69) points at the return column itself, so an inserted column leaves it alone, and INDEX and MATCH (Lesson 71) is safe for the same reason. Rebuild the register's lookups in either form and the people who maintain it can add the columns they need without breaking yours.

What should the repair log show when a tag is not in the register yet, such as a unit installed last week?

A plain message of your choosing, and The Complete Excel Course with AI Integration teaches two ways to put it there. XLOOKUP has its own if-not-found answer, filled in Lesson 69 with a short note that reads far better than an error code. For VLOOKUP and XLOOKUP alike, Lesson 70 wraps the formula in IFERROR with a message such as NOT MATCHED, after breaking one code on purpose to show how a single wrong letter stops a match. The message then becomes a working list: a COUNTIF of NOT MATCHED (Lesson 36) says how many jobs on the log point at assets the register has not caught up with, and filtering on it shows which. For a facilities team that is the register's own to-do list, produced by the log itself rather than discovered at audit.

Why does a tag that is plainly in the register still come back not found?

The two cells hold slightly different text, and The Complete Excel Course with AI Integration teaches you to find the difference and stop it coming back. A stray space after a tag is invisible on screen and fatal to a match; TRIM in Lesson 42 strips it, and the cleaned column is pasted back as values so the register holds clean tags. A second spelling does the same damage: Lesson 45 makes the point that Excel treats HR and Human Resources as different entries, and AHU-01 against AHU-001 is the same problem, which the Ninja Challenge of Lesson 46 sets as a task with employee IDs. Capital letters are not the culprit, since lookups ignore case. The lasting fix is a drop-down on the log fed by the register's own tags (Lesson 45), so nobody can enter a tag the register does not hold.

Our asset tags carry the site code at the start: can I pull it out and look up the site's name and region?

Yes: LEFT takes the code off the front of the tag and XLOOKUP turns it into the site's details, both taught in The Complete Excel Course with AI Integration. Lesson 73 splits a coded ID of the form DAL-SAL-0001 into its parts, with LEFT for the opening letters, RIGHT for the closing number and MID for the piece in the middle given its start and length, the same anatomy as a tag built from a site, a plant type and a serial number. Point an XLOOKUP at a list of site codes and the site name, region and responsible manager arrive beside each job. The reverse turns up too, a register that stores site, floor and room in separate columns while the helpdesk log holds one location string: Lesson 72 joins text with CONCAT, the ampersand or TEXTJOIN, so both sides carry the same key before the lookup runs.

Can a formula list every job logged against one asset, not just the first one a lookup finds?

Yes: FILTER returns every matching row where a lookup returns one, and The Complete Excel Course with AI Integration teaches it in Lesson 76. Point it at the work order log with the asset tag as the condition and the asset's whole history spills onto the sheet, growing as new jobs are logged; with the asterisk standing for AND, a second condition such as reactive jobs only narrows it further. SORTBY (Lesson 77) puts that history in date order without the date column having to be shown, and UNIQUE (Lesson 75) lists each asset once, ready to feed a drop-down that drives the whole view. An asset with a repeat fault gives itself away in seconds. These dynamic arrays need a modern Excel, which the course flags when they appear, and they spill outside a table, never inside one.

Can lookups fill in a spare parts requisition from the stores list, with each part's description and cost per unit, and total the lines?

Yes: the lookup challenge at the end of the section in The Complete Excel Course with AI Integration is a stores requisition in all but name. Lesson 78 leaves the columns of an order sheet blank and has you fill them from a separate list by ID: the name with one XLOOKUP, the per-unit figure with another, then each line's total by multiplying. In a maintenance store, the part number on a requisition brings in the description and unit cost from the stores list, and the totals show what a job will cost in parts before anything is ordered from a supplier. The lesson also clears an error from an @ in a table reference, which reads only the current row when the lookup needs the whole column, a trap in any stores list kept as a table. Trying each task before watching its solution makes the method yours rather than something seen once.

Our old planned maintenance workbook is full of INDEX and MATCH: will I be able to read and fix it?

Yes: Lesson 71 in The Complete Excel Course with AI Integration takes the pair apart before putting it back together. INDEX alone returns the cell at a given row and column of a table, MATCH alone returns the position of a value in a column, with 0 for an exact match, and the lesson then nests one inside the other to return a name from a lookup table for every row. Read that way, an inherited formula becomes two plain questions: which row holds this asset, and what sits in that row of the frequency or contractor column. The lesson also covers what made the pair popular, since unlike VLOOKUP it looks left as readily as right. With that understood you can keep the workbook as it stands, or rebuild its lookups as XLOOKUP once everyone who opens it has a modern Excel.

Our CAFM export runs to thousands of rows a month: should I keep lookup formulas, or move the join to Power Query?

Each has its place, and The Complete Excel Course with AI Integration teaches both, so the choice follows the file. Lookup formulas suit the workbook you keep and edit, an asset register or a contractor list where a formula beside each row answers at once. A monthly export that arrives in the same shape every time suits a Power Query merge: Lesson 163 merges a table of names onto a table of codes with a left join, so no export row is lost, and Lesson 168 combines the lookups into one finished table, then looks for empty cells, so the join reruns on next month's file at a refresh instead of being filled down again. Power Query comes inside Excel and its lessons need no Windows; the Power Pivot step after them does. Start with the formulas on this page, since a merge is the same idea applied to a whole export.

I have never written a lookup: what should I know before this path, and where does it begin?

Very little beyond writing a simple formula, and The Complete Excel Course with AI Integration covers that too. The path begins at Lesson 67, which sets out the problem lookups solve: related details kept on separate sheets, joined through a shared value such as an ID instead of copied across. The one habit worth having first is locking a reference, taught in Lesson 10, because every lookup range is locked before the formula is filled down. Excel tables, from Lesson 19, help as well, since a table takes in new rows by itself and a lookup pointed at its columns reaches them too. After that the lessons run in a working order: VLOOKUP, XLOOKUP, IFERROR, INDEX and MATCH, then keys, dates and lists. The PeopleInsight files come with a finished workbook to check against, and lifetime access keeps the section ready for the day your register changes shape.

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.