The Complete Excel Course with AI Integration
XLOOKUP and VLOOKUP for construction managers
Cost exports arrive full of codes, rates sit on a schedule, and subcontractor details live on a register of their own. A construction manager joins them every month, too often by copying. The Complete Excel Course with AI Integration replaces the copying with XLOOKUP, VLOOKUP and INDEX with MATCH on an industry-standard HR workbook, and this page picks out what site and commercial files need from them: missing codes caught, two-field keys, every matching row with FILTER.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Pull a package, a description or a rate into every line of a cost export or a takeoff with XLOOKUP, exact match by default and a word such as Not coded where the list has no entry.
- Bring each subcontractor's name, trade and package onto a payment register or a variation log with VLOOKUP and XLOOKUP, the table range locked so the formula fills down cleanly.
- Keep a lookup to the rate schedule working when someone inserts a column, by choosing XLOOKUP or INDEX and MATCH over a counted column number.
- Replace raw #N/A errors in a cost report with a clear message through XLOOKUP's if-not-found answer or IFERROR, so an unmapped code is chased, not hidden.
- Split a composite cost code into its parts with LEFT, RIGHT and MID, and join two fields into one key with CONCAT for a lookup that matches on both.
- List every RFI, snag or invoice for one subcontractor at once with FILTER, using AND and OR conditions.
- Set budget and cost to date on one row per cost code with SUMIFS matched on a shared key.
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 HR records, it links employee rows to separate sheets of departments and locations with VLOOKUP, XLOOKUP and INDEX with MATCH: the same shape as a cost export linked to a cost code list, a rate schedule or a subcontractor register.
-
Project 09
FinanceGuard
The budget vs actual report finance teams send every month.
A budget vs actual project in the course, it matches its two tables on a key that holds month, department and category, with SUMIFS fetching each side: the pattern for setting budget and cost to date on one row per cost code.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 12 of them, 58 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 already total columns and copy formulas with confidence: the lookups begin there on the PeopleInsight HR workbook. Unsure why a formula breaks when it is filled down? Take Lesson 10 and the tables of Lesson 19 first, or begin at Lesson 1 if Excel itself is new. Already writing VLOOKUP every week? Jump to Lesson 69 for XLOOKUP and its two-way lookup.
12 of 186 lessons · 58 min
01 Microsoft Excel fundamentals: building a foundation from scratch Relative and absolute references, the first thing a lookup depends on: the table locked with F4 so a formula filled down a long cost sheet keeps pointing at the same list. The lesson locks a tax rate in a personal budget.
- 10 Relative vs absolute references in Excel Dollar signs and mixed references 3 min
03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) Excel tables and structured references: a rate schedule or a subcontractor register kept as a table takes in new rows as they are added, so the lookups written against it keep finding them.
- 19 Excel tables Create and format a table, structured references and total row 8 min
08 Advanced Excel functions: lookups, text and arrays The lookup core on the PeopleInsight HR workbook: why lookups beat copying between sheets, VLOOKUP with an exact match and a locked table, XLOOKUP with if not found and a two-way lookup, IFERROR for lookups that miss, INDEX and MATCH as the flexible alternative, then CONCAT and TEXTJOIN to build a key and LEFT, RIGHT and MID to split one.
- 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
- 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 FILTER with AND and OR conditions in a modern Excel: every row for one subcontractor, or for one package at one status, returned at once where a lookup stops at the first match.
- 76 FILTER function in Excel Dynamic array filtering with AND and OR criteria 5 min
08 Advanced Excel functions: lookups, text and arrays A lookup challenge on a products and orders file: names and per-unit figures fetched by XLOOKUP and each order's total worked out, the same three steps as extending a takeoff from a rate list.
- 78 Excel Ninja Challenge XLOOKUP, totals and text concatenation lookup challenge 3 min
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) The FinanceGuard model: every distinct key listed by SORT and UNIQUE, its parts split out with TEXTSPLIT, and SUMIFS bringing budget and actual onto that key's row. Read it as budget and cost to date matched on cost code.
- 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.
Is XLOOKUP or VLOOKUP better for a construction manager's cost codes, rates and subcontractor lists, and where are both taught?
XLOOKUP for anything you build from now on, VLOOKUP for the workbooks you inherit, and The Complete Excel Course with AI Integration from Coding Liquids teaches both on the PeopleInsight HR workbook, an industry-standard project designed after talking with people from many different industries. VLOOKUP comes first, with an exact match and a locked table (Lesson 68); XLOOKUP follows with its own if-not-found answer and a two-way lookup (Lesson 69); INDEX and MATCH complete the set (Lesson 71). The lessons join employee rows to department and location sheets; your cost export joined to a cost code list, a rate schedule or a subcontractor register is the same job. The 12 lessons picked out for it here take 58 minutes, from locked references to FILTER and a lookup challenge, and every formula is written by you on the practice workbook with the finished file to compare.
Can XLOOKUP bring each cost code's package and description into the monthly cost export?
Yes, and once written the formula fills down the whole export at once. The Complete Excel Course with AI Integration builds it in Lesson 69: the code on the row is the lookup value, the code column of the list is where XLOOKUP searches, and the column to return is named directly, both ranges locked with F4 so they hold still as the formula fills down. A message for codes the list does not hold and an exact match complete it. Copied across, the same formula returns the next column (in the lesson, city, then state, region and work arrangement; on your sheet, package, then description and trade), with the lookup value reset so it keeps pointing at the code. Each month's export then arrives with its names attached in a single fill, instead of codes read off a printed list by someone with a highlighter.
A column for revised rates went into the schedule and every VLOOKUP in the estimate changed: why?
Because VLOOKUP counts columns by number, and The Complete Excel Course with AI Integration shows that failure on purpose. In Lesson 68 a column is inserted into the lookup table, the results turn to zero, and the insert is undone: the formula still asked for the same column number, which now held something else. On a rate schedule that means a rate read from the wrong column, a quiet error that can sit in a cost report for months. XLOOKUP avoids it by pointing straight at the column it returns, so an inserted column leaves it unharmed (Lesson 69), and INDEX with MATCH does the same in any copy of Excel (Lesson 71). The same lessons explain the other classic slip: a table range left unlocked shifts as the formula fills down, and the rows lower down return errors or the wrong figures.
Our subcontractor register keeps the trade code to the right of the name: can a lookup look left?
Yes, with XLOOKUP or with INDEX and MATCH, both in The Complete Excel Course with AI Integration. VLOOKUP cannot: it searches the first column of its table and returns from columns to the right, so a register laid out with the name first and the code later defeats it, and the usual workaround is a rearranged copy of the sheet. Lesson 69 shows XLOOKUP searching left or right, because it takes the search column and the return column separately. Lesson 71 builds INDEX and MATCH, where MATCH finds the position of the code and INDEX returns whatever sits in that row of the column you name, after the tables are given names so the formula reads in plain words. Either way your register stays laid out as the commercial team likes it, and the lookup adapts to the sheet instead of the sheet to the lookup.
How do I keep #N/A off the cost report when a code is missing from the list?
Give the lookup an answer for a miss, and The Complete Excel Course with AI Integration teaches both ways of doing it. XLOOKUP has its own if-not-found argument, so a missing code shows a word you choose, such as Not coded, in place of #N/A (Lesson 69). Lesson 70 then handles lookup errors in VLOOKUP and XLOOKUP formulas with IFERROR: it changes one department code so it no longer matches, watches the errors appear, and wraps the formulas so a message takes their place. The point is to show the miss, never to bury it: one extra letter or a stray space in a code is enough to break a match, and a clear word tells the quantity surveyor which line to chase, where #N/A tells most readers nothing. Filter the column for your message before the report goes out and every unmapped cost is caught.
Can one lookup match on two things at once, such as package and cost code?
Yes, and The Complete Excel Course with AI Integration gives you three ways to do it, each suited to a different answer. To return one value, build one key: join package and cost code with CONCAT or the ampersand (Lesson 72) in a helper column of each table, then look that key up with XLOOKUP (Lesson 69). FinanceGuard works on the same idea at a larger scale, matching budget and actual on a key that holds month, department and category (Lesson 117). To return every matching row, FILTER with conditions joined by AND (Lesson 76) lists each line that fits both, in a modern Excel. To return a figure, SUMIFS adds the amount wherever every condition holds (Lesson 37), which is often what a cost report really wants from a match on two fields. Decide whether you need a value, a list or a total, and the formula follows.
Can XLOOKUP read a rate from a grid with trades down the side and labour grades across the top?
Yes: that is a two-way lookup, and The Complete Excel Course with AI Integration teaches it in Lesson 69, the XLOOKUP lesson. A two-way lookup finds the row for one item and the column for another and returns the figure where they cross, so a single formula reads the right rate from a schedule laid out as a grid, whatever trade and grade a line of the estimate names. The same lesson's exact match and if-not-found answer protect it: a trade spelled differently in the estimate returns your message, not a neighbouring rate. INDEX, which returns the value at a given row and column of a table, is taught alongside MATCH in Lesson 71, and the pair suits a grid too. The lessons look up HR data; the schedule of day rates or plant hire rates on your project is the grid they become.
Before a subcontractor meeting, can Excel pull out all of that firm's open RFIs and snags at once?
Yes, and the function for it is FILTER, which The Complete Excel Course with AI Integration teaches beside the lookups. XLOOKUP and VLOOKUP stop at the first match, so they answer what a code means; FILTER answers which rows meet a condition, and returns all of them (Lesson 76). The lesson filters on one condition, then joins two with the asterisk for AND, an item that is still open and also belongs to one subcontractor, and two with the plus sign for OR, either of two packages. The list spills into the cells below and redraws itself when the log changes, so the meeting opens on a live list of everything outstanding rather than a copy made the night before. Lesson 75, just before it, gives UNIQUE, a distinct list of firms to pick from. Like FILTER, it spills its result and needs a modern Excel to run.
Our cost codes pack the package, the trade and an item number into one string: can formulas split them for a lookup?
Yes. The Complete Excel Course with AI Integration splits exactly that kind of code in Lesson 73: LEFT reads characters from the start, RIGHT from the end and MID from a set position for a set length, so a position code made of a location, a department and a number becomes three columns. Your cost code splits the same way into its parts, and XLOOKUP can then match the trade part against a trade list while SUMIFS totals by package. Going the other way, Lesson 72 joins columns into one string with CONCAT, the ampersand or TEXTJOIN with a separator, which is how the key for a two-field lookup is built. Because these are formulas, each new line of the export splits itself as the formula is filled down, and nothing is retyped by hand at month end.
The commercial team's old templates are full of VLOOKUP: will I be able to read and fix them?
Yes, and that is a big reason VLOOKUP is still taught properly in The Complete Excel Course with AI Integration. Older templates and older copies of Excel keep it alive, so Lesson 68 teaches every part of it: the value to find, the table locked with F4, the column number and FALSE for an exact match, then the two faults that break inherited files, an unlocked table and a column inserted into the lookup table. Lesson 70 adds IFERROR for codes that do not match. With that, a template's lookups can be read argument by argument and repaired where they fail. Whether you then rewrite them in XLOOKUP (Lesson 69) depends on who opens the file: XLOOKUP needs a modern Excel, and the course points out each function of that kind when it arrives. You keep the templates working and choose the upgrade when it suits the project.
Is there a catch to XLOOKUP when the workbook goes to the client or a subcontractor?
One worth knowing, and The Complete Excel Course with AI Integration prepares you for it. XLOOKUP, like FILTER and UNIQUE, belongs to modern Excel, so someone opening your workbook on an older copy may see errors where your rates and names should be; the course flags such functions as they come up. For a file that travels outside your organisation, INDEX and MATCH (Lesson 71) does the same lookups in every copy of Excel and keeps working when columns are inserted. Inside your own team, XLOOKUP's simpler arguments, exact match by default and built-in message for a miss make it the better tool (Lesson 69). A second safeguard costs nothing: paste the looked-up columns as values in the copy you send (Lesson 22), so the receiver sees figures, not formulas. The course gives you all three, and the choice is yours, file by file.
Could I hand the cost export to Claude in Excel and have it write the lookups to the budget?
It can write them, and The Complete Excel Course with AI Integration makes sure you can check them. Lesson 104 adds Claude to Excel, has it calculate a figure in a chosen cell and repair a broken column, each change granted one at a time, and Lesson 95 has Copilot and ChatGPT write formula columns from a plain description. A lookup drafted by AI fails in the same ways as one typed by hand: a range left unlocked, a column counted wrongly, a match that is approximate when it should be exact, a missing code buried under IFERROR. Those are exactly the faults Lesson 68 to Lesson 70 teach you to spot, so a minute of checking settles whether the draft is right. Lesson 99 then walks a QA list over the result before any figure reaches the client.
How quickly could the subcontractor register be feeding my payment register by lookup?
Within an evening of lessons, and the whole page takes 58 minutes. The Complete Excel Course with AI Integration has VLOOKUP joining two sheets by Lesson 68 and XLOOKUP, with its message for a miss, by Lesson 69: rebuild those on your own register and the payment register fills in each subcontractor's name, trade and package from a code. IFERROR and INDEX with MATCH follow straight after, then the text and FILTER lessons for keys and lists. Lesson 78 closes the section with a challenge, products fetched into an orders sheet and each total worked out, attempted before the solution is shown, so you know the method is yours. Lifetime access keeps the lessons open for the day a new register lands on your desk, and finishing the course earns a Certificate of Completion an employer can verify.
Our cost export arrives every month: is a Power Query merge better than XLOOKUP for it?
For an export that returns every month, a merge is the stronger tool, and The Complete Excel Course with AI Integration teaches both so you can choose. XLOOKUP is quick to write and ideal for a register or a one-off file (Lesson 69). In SalesFusion, Lesson 163 merges a sales query with product and region tables on their codes using a left outer join, so every row keeps its place and gains the names; the mapping then runs again on next month's file at a refresh, with no formula to fill down. Power Query is built into Excel and sits outside this page's path. Learn the lookups here first: a merge is the same idea applied to a whole table, and the formulas stay the right choice inside a workbook people edit by hand, such as a register or a tracker.
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 construction managers
- Pivot tables for construction managers
- Excel charts for construction managers
- Dashboards for construction managers
- Conditional formatting for construction
- Data cleaning for construction managers
- Data validation for construction
- Excel tables for construction managers
- Text functions for construction managers
- Date functions for construction managers
- Dynamic arrays for construction managers
- Power Query for construction managers
- Power Pivot and DAX for construction
- Macros and VBA for construction managers
- Power Automate for construction managers
- Copilot for construction managers
- ChatGPT for construction managers
- Claude in Excel for construction