The Complete Excel Course with AI Integration
XLOOKUP and VLOOKUP for quantity surveyors
For quantity surveyors who keep a rate library, a subcontract register and cost codes, then copy figures between them by hand or nurse VLOOKUPs that break when a column moves. The Complete Excel Course with AI Integration teaches lookups on PeopleInsight, an industry-standard project, and the lessons gathered here suit that work: VLOOKUP, XLOOKUP and its not-found answer, IFERROR, INDEX and MATCH, compound codes, FILTER, and the SUMIFS match behind a reconciliation.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Put the right rate on every bill item by looking its code up in the rate library with XLOOKUP, so a column added to the library changes nothing on the bill.
- Read and repair the VLOOKUPs in inherited estimates: FALSE for an exact match, the table range locked with F4, and the column number that slips when the library gains a column.
- Show a plain message for a code the library does not hold, through XLOOKUP's own if-not-found answer or IFERROR round VLOOKUP, so a missing rate is chased instead of totalled as nothing.
- Read a rate grid of items against grades, regions or tenderers with XLOOKUP's two-way lookup, and reach to the left of a code with INDEX and MATCH.
- Join a trade and a grade into one lookup key with CONCAT or the ampersand, and split a compound item code into its parts with LEFT, MID and RIGHT.
- Pull every line of one trade or package at once with FILTER, and list the distinct codes a bill uses with UNIQUE to test them against the library.
- Match the cost report to a ledger export by cost code, with SUMIFS bringing both sides onto one row so the difference sits beside them.
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.
An HR analytics workbook in the course, its records spread over sheets the way a rate library sits apart from a bill: VLOOKUP, XLOOKUP and INDEX with MATCH fetch fields by a shared code, while an unmatched code returns a message, the habit that keeps a missing rate in sight.
-
Project 09
FinanceGuard
The budget vs actual report finance teams send every month.
Built to set a budget beside what was spent, it joins two tables on a shared key with SUMIFS, the move behind a cost value reconciliation: cost to date by code from the ledger set against the same code in the cost report.
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, 52 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 formula and lock a reference with F4: every lookup here builds on both. Starting from scratch? Lesson 1 is the first step, and make sure of Lesson 10 before the lookups, since each lookup range in them is locked. Fluent in VLOOKUP already? Go straight to Lesson 69 for XLOOKUP, then on to FILTER and the FinanceGuard reconciliation.
11 of 186 lessons · 52 min
08 Advanced Excel functions: lookups, text and arrays The lookups themselves, on HR records split across sheets: why a lookup beats copying between tabs, VLOOKUP with FALSE and a locked table range, XLOOKUP with exact match, its own if-not-found answer and a two-way lookup, IFERROR round VLOOKUP and XLOOKUP formulas, and INDEX with MATCH for what VLOOKUP cannot reach. A rate library keyed by item code takes the same formulas.
- 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 Codes that hold several facts at once: CONCAT, the ampersand and TEXTJOIN join fields into one string, and LEFT, RIGHT and MID take apart a code built of a location, a department and a number, the pattern of many item and cost codes.
- 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 For when one answer is not enough: UNIQUE lists the distinct values a column holds, and FILTER returns every row meeting one condition or several, joined by AND or OR. As dynamic arrays, the pair calls for 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 lookup challenge: XLOOKUP fetches each order's product name and per-unit figure from a products sheet, and a total multiplies that figure by the quantity, a bill line traced from code to amount.
- 78 Excel Ninja Challenge XLOOKUP, totals and text concatenation lookup challenge 3 min
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) FinanceGuard's model, where SUMIFS against a shared key brings budget and actual from separate tables onto one row: the match a reconciliation needs between a cost report and a ledger. Its spilled list of keys needs a modern Excel.
- 117 Budget vs actual model in Excel SORT, UNIQUE, VSTACK, LET, TEXTSPLIT, SUMIFS 8 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 does a quantity surveyor gain by moving rate lookups from VLOOKUP to XLOOKUP, and when does VLOOKUP still matter?
A rate library you can rearrange, extend and share without a rate going wrong, and The Complete Excel Course with AI Integration from Coding Liquids teaches both formulas side by side so you know where each fits. XLOOKUP points straight at the column it returns, looks left as easily as right, matches exactly unless told otherwise and carries its own answer for a code it cannot find (Lesson 69). VLOOKUP still matters, because the estimating sheets you inherit are full of it and a bill sent to a subcontractor on an older Excel needs it to calculate (Lesson 68). INDEX with MATCH completes the set (Lesson 71). All three are taught on PeopleInsight, an industry-standard project designed after talking with people from many different industries, and the 11 lessons gathered on this page, 52 minutes in all, make them into a rate library you can trust: missing codes flagged, compound codes split, and every line of a package pulled at once.
Why does XLOOKUP survive a rate library being rearranged when VLOOKUP does not?
Because VLOOKUP counts columns and XLOOKUP points at them. In The Complete Excel Course with AI Integration, Lesson 68 builds a VLOOKUP with column index 2 and FALSE for an exact match, then inserts a column into the lookup table and watches the answers turn to zeros: the count now lands on the wrong column. Add a labour or plant column to a rate library and every VLOOKUP reading it shifts with the count, returning a figure that is wrong yet looks plausible. Lesson 69 builds XLOOKUP instead, with the code column and the rate column named separately, so a new column anywhere leaves it reading the same rate. Both lessons also lock the table range with F4, because a range left free slides as the formula fills down and leaves errors or zeros in the rows below. And FALSE matters on any schedule of codes, since VLOOKUP otherwise settles for a near match. The lessons use an HR lookup sheet; a schedule of rates behaves the same.
What does a lookup do when an item code is missing from the rate library?
It shows a message you choose, and The Complete Excel Course with AI Integration teaches both ways to set one. XLOOKUP has its own if-not-found argument, filled in Lesson 69 with a short n/a, so a code with no partner says so in its cell. Lesson 70 then breaks a code on purpose and wraps VLOOKUP and XLOOKUP formulas in IFERROR, with NOT MATCHED as the second argument, turning raw #N/A into words a reviewer understands. On a bill the choice of message matters: a zero would let the item drop out of the total unnoticed, while text such as Check rate stands out on the sheet, and a COUNTIF on that text (Lesson 36) tells you how many rates are still to find. The lesson's own warning fits a QS exactly: one extra letter in a code is enough to break a lookup, so a mistyped item reference is caught at your desk instead of in someone else's review.
Can a lookup fill in a subcontractor's payment notice from the package register?
Yes: type the package or order number once and lookups bring in the rest, the very move The Complete Excel Course with AI Integration teaches on its HR workbook. In Lesson 68, VLOOKUP fetches a department's name with column index 2 and its HR partner with index 3 from the same key; in Lesson 69, XLOOKUP is filled across for city, state, region and work arrangement, each formula pointed at its own return column. On a payment notice those fields become the subcontractor's name, the package description, the agreed sum and the value previously certified, all read from the master register through one reference. Change the reference and the notice redraws itself for the next package. Lesson 70 stops a mistyped number from producing a page of errors, and the register stays the single place each package's details are kept, so a revised sum is entered once and read everywhere it appears.
Our rate table runs items down the side and grades or regions across the top: can a lookup read the right cell?
Yes: that is a two-way lookup, and The Complete Excel Course with AI Integration names it in the title of Lesson 69, where XLOOKUP finds the row and the column together. Lesson 71 adds INDEX with MATCH: INDEX returns the cell at a given row and column of a table, and MATCH finds the position of a code, so the pair can read any cell you can describe. A labour rate by trade and grade, a material rate by item and region, or a tender analysis with each item down the side and each tenderer across the top all read this way, so one formula fetches the rate you name instead of a tangle of nested IFs. INDEX with MATCH also looks to the left of the code column, which VLOOKUP cannot, and it calculates in any Excel a client may still run. The lessons look up locations and HR partners; the grid of rates is yours.
Can lookups reconcile our cost report with the ledger export from accounts?
Yes, and The Complete Excel Course with AI Integration teaches the two tools a reconciliation needs, because a ledger and a cost report match in two different ways. Where each reference appears once, an invoice number for example, XLOOKUP brings the matching line across and its if-not-found answer marks an invoice that sits in one list and not the other (Lesson 69). Where many ledger lines share a cost code, a lookup would return only the first, so the total per code comes from SUMIFS: FinanceGuard does exactly this in Lesson 117, bringing budget and actual from two tables onto one row for every key. Set that row beside the cost report's figure and the difference sits next to it. UNIQUE (Lesson 75) lists every code in the export, so a code nobody has mapped yet shows at once. The lessons use HR and budget data; the judgement in a cost value reconciliation is yours, and these formulas carry its arithmetic.
The item reference on the bill matches the library by eye, but XLOOKUP says it is missing: why?
Almost always a hidden difference in the text, and The Complete Excel Course with AI Integration teaches you to find and remove it. A stray space after a code, a second spelling such as E10 against E-10, or a number held as text on one sheet and as a number on the other all make two codes that look the same fail to match. Capitals are not the culprit: a lookup reads e10 and E10 as one code. Find and Replace, with TRIM beside it, clears spaces and stray characters (Lesson 22), Lesson 42 cleans text with formulas, and COUNT set against COUNTA on the code column (Lesson 35) shows how many codes are held as text where numbers are expected. Lesson 70 gives the warning in one line: one extra letter in a code is enough to break a lookup. Clean the library once, keep entry consistent, and the lookups stop failing on codes that only look identical.
Our item codes pack trade, element and number into one string: can a lookup still use them?
Yes, and splitting or joining codes is taught right beside the lookups in The Complete Excel Course with AI Integration. Lesson 73 takes apart a code built like DAL-SAL-0001: LEFT returns its first three characters, RIGHT its last four and MID the three that start at position five. Give the same functions an item code that holds a trade, an element and a running number, and they pull out the trade for a SUMIFS total or the element for a lookup into the cost plan. Lesson 72 works the other way with CONCAT, the ampersand and TEXTJOIN, joining fields into one string; joined with a separator, a trade and a grade become a single key a lookup can match when no one column is unique on its own. The lessons split HR position codes, and any code with a fixed pattern gives way to the same three functions, so even a client's coding system becomes something your workbook can read.
XLOOKUP stops at the first match: how do I pull every item in one trade or package?
With FILTER, which The Complete Excel Course with AI Integration teaches as XLOOKUP's partner. A lookup returns one match and stops, which is right for a rate and wrong when you need every item in one trade, every variation on one package or every line a subcontractor left unpriced. Lesson 76 returns all the rows that meet a condition in one formula that spills down the sheet, and joins conditions with AND and OR, so groundworks items above a set value, or items in either of two packages, take one formula each. Lesson 75 adds UNIQUE, which lists every distinct value a column holds: run it on a bill's code column and you have the exact list of codes the rate library must cover. Both are dynamic arrays, need a modern Excel and update themselves when the source changes, so the package list on screen is always the current one. The lessons filter HR records; a bill's rows filter the same way.
How does a looked-up rate become the amount on each line of a bill?
With one multiplication after the lookup, and The Complete Excel Course with AI Integration sets exactly that as its lookup challenge. In Lesson 78, an Orders sheet holds product codes and quantities beside empty columns; XLOOKUP fetches each product's name from a Products sheet, a second XLOOKUP fetches its per-unit figure, and a total multiplies that figure by the quantity. Read Products as your rate library and Orders as your bill, and that is a bill line from code to amount: description, rate and extension, each traceable to its source. The challenge also teaches a fix you will meet in tables: an @ inside a table reference takes only the current row's value, which breaks a lookup that needs the whole column, and removing it clears the error. You attempt the tasks before watching the solution, with a solution file to check against, so the pattern is yours before it touches a live bill.
Our rate library sits on its own sheet: will the lookups reach it from the bill?
Yes: looking across sheets is how every lookup in The Complete Excel Course with AI Integration works. The PeopleInsight workbook keeps its employee records on one sheet and its departments and locations on others, and from Lesson 68 onward each formula on the main sheet reads a lookup sheet by a shared code, the same arrangement as a bill reading a rate library. Lesson 71 names the tables on the Table Design tab, so a formula refers to the library by its name rather than a block of cell addresses, which reads more clearly to a checker. And because an Excel table takes new rows into its ranges as they arrive (Lesson 19), a rate added at the foot of the library is found by every lookup without a range being edited. Keep one library sheet per workbook or per project, point every bill at it, and a revised rate is changed in one place.
Could I wire our own rate library into the bill for the next tender?
Yes, well within a tender period: the path on this page runs 52 minutes, and its core comes first. In The Complete Excel Course with AI Integration, VLOOKUP, XLOOKUP, IFERROR and INDEX with MATCH sit together at the start (Lesson 68 to Lesson 71), short enough to finish in an evening, and they are everything a rate library needs: codes matched exactly, missing codes flagged, rates brought onto every line. The compound codes, FILTER and UNIQUE follow when your codes or packages call for them, and the challenge in Lesson 78 rehearses the whole pattern before you rely on it. The PeopleInsight starter and finished files let you check every formula against a working answer. Build on a copy of a past bill first, then on the live one, and keep the lessons to hand: lifetime access keeps the two-way lookup ready for the day a rate grid first lands on your desk.
I have never written a lookup: will an assistant QS keep up with these lessons?
Yes: an assistant QS who can write a SUM is ready for them, and The Complete Excel Course with AI Integration covers anything missing on the way. Lookups lean on locking a range with F4 and on reading a table by its rows and columns; Lesson 10 teaches the lock and the early lessons teach the rest, so a trainee can begin at Lesson 1 and arrive at the lookups prepared. Lesson 67 then sets out why lookups matter before any formula is written, and each lesson after it adds one idea: VLOOKUP, then XLOOKUP, then error messages, then INDEX with MATCH. The PeopleInsight files are small enough to see every result at a glance, so a wrong answer is obvious and its cause easy to find. Choose the plan with instructor support and a question about your rate library is answered by the instructor in writing, which turns a stuck evening into a quick fix.
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 quantity surveyors
- Pivot tables for quantity surveyors
- Excel charts for quantity surveyors
- Excel dashboards for quantity surveyors
- Conditional formatting for QS
- Data cleaning for quantity surveyors
- Data validation for quantity surveyors
- Excel tables for quantity surveyors
- Text functions for quantity surveyors
- Date functions for quantity surveyors
- Dynamic arrays for quantity surveyors
- Power Query for quantity surveyors
- Power Pivot & DAX for quantity surveyors
- Macros and VBA for quantity surveyors
- Power Automate for quantity surveyors
- Copilot for quantity surveyors
- ChatGPT for quantity surveyors
- Claude in Excel for quantity surveyors
XLOOKUP and VLOOKUP for other jobs
- XLOOKUP and VLOOKUP for civil engineers
- Lookups for quality engineers
- XLOOKUP and VLOOKUP for construction
- Lookups for health and safety officers
- Lookups for document controllers
- XLOOKUP and VLOOKUP for production
- Lookups for M&E engineers
- Lookups for industrial engineers
- XLOOKUP and VLOOKUP for every job