The Complete Excel Course with AI Integration
XLOOKUP and VLOOKUP for civil engineers
Rates sit in a schedule, grades in a mix list, drawing details in a register, and every bill, cube register and RFI log needs values from one of them. The Complete Excel Course with AI Integration teaches the lookups that fetch them on an industry-standard project of linked sheets, and this page picks out those lessons: XLOOKUP and VLOOKUP, a two-way lookup, IFERROR, INDEX and MATCH, codes split apart and keys cleaned so they match.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Pull each BOQ line's unit rate and description from a rate schedule with XLOOKUP, the table locked so one formula fills down a whole bill.
- Read, extend and repair the VLOOKUP formulas in inherited rate sheets and registers, with FALSE for an exact match and the table range fixed with F4.
- Find a figure by row and by column at once with XLOOKUP's two-way lookup, such as a rate by item and grade or a unit weight by bar size.
- Show a plain message for a code missing from a schedule with XLOOKUP's if-not-found argument and with IFERROR, so a gap is seen instead of a #N/A.
- Look up in either direction with INDEX and MATCH when the column you search sits to the right of the answer you need.
- Split drawing numbers and cost codes into their parts with LEFT, RIGHT and MID, and join parts into one key with CONCAT, the ampersand or TEXTJOIN.
- Make keys match before a lookup runs: TRIM for stray spaces, SUBSTITUTE for a wrong separator, and drop-down lists so the next code is typed one way.
- List every row that shares a code, such as every RFI on one drawing, with FILTER, and each distinct code a register uses with UNIQUE.
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 toolkit on a realistic file of linked sheets: VLOOKUP, XLOOKUP and INDEX with MATCH fetch names from code tables, IFERROR handles the codes that fail, and LEFT, RIGHT and MID take a packed code apart, the moves a rate schedule, a mix list or a drawing register asks for.
-
Project 12
SalesFusion
A sales report that refreshes itself from a folder of files.
Lookups at the scale of whole files: a Power Query merge brings names in beside codes for every row at once, and a blank wherever no match exists shows exactly which codes a mapping still lacks.
-
Project 02
Dunder Michael Paper Company employee database
Keys fit to match on: TRIM and PROPER clear stray spaces and odd capitals, SUBSTITUTE swaps one piece of text for another by formula, Text to Columns splits a packed field, and a drop-down list keeps the next entry spelled the approved way.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 16 of them, 1 h 14 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 SUM and IF comfortably: the lookups begin there on a workbook of linked sheets. If a copied formula has ever filled the rows below it with errors, take Lesson 10 first, and Lesson 19 if your schedules are not yet kept as tables. New to Excel itself? Begin at Lesson 1, and the course page has free lessons to watch before you decide. Already fluent in VLOOKUP? Go to Lesson 69 for XLOOKUP and the two-way lookup, then on to INDEX and MATCH.
16 of 186 lessons · 1 h 14 min
01 Microsoft Excel fundamentals: building a foundation from scratch The lock every lookup's table needs: a range that shifts as a formula fills down returns errors lower on the sheet, and F4 fixes it in place. The lesson locks a tax rate on a budget; a rate schedule's range is locked the same way.
- 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) A rate schedule or register kept as an Excel table, with structured references, a total row and new rows that join it, so the range a lookup reads grows with the schedule.
- 19 Excel tables Create and format a table, structured references and total row 8 min
05 Text functions and data validation (enhancing data quality) Keys that match before any lookup runs: TRIM, UPPER, LOWER and PROPER for spaces and capitals, FIND, SEARCH and SUBSTITUTE for a wrong piece of text inside a code, Text to Columns to split a field, and drop-down lists so codes are chosen, not typed.
- 42 TRIM, UPPER, LOWER and PROPER in Excel Clean messy text and fix capitalisation 6 min
- 43 FIND, SEARCH and SUBSTITUTE in Excel Locate and replace text with formulas 5 min
- 44 Text to Columns wizard in Excel Split a column by a comma delimiter 4 min
- 45 Data validation in Excel Create drop-down lists for consistent data entry 4 min
08 Advanced Excel functions: lookups, text and arrays The lookups on PeopleInsight's linked sheets: VLOOKUP with an exact match, XLOOKUP with if not found and a two-way lookup, IFERROR for codes that do not match, INDEX and MATCH in either direction, CONCAT and TEXTJOIN to build text, and LEFT, RIGHT and MID to take a packed code apart. The data is employee records; a rate schedule, a mix list or a drawing register joins 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
- 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 When one answer is not enough: UNIQUE lists each code a register holds, and FILTER returns every matching row, with AND and OR criteria. Both 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 A Ninja Challenge to solve before the answer: XLOOKUP fetches each product's name and per-unit figure into an order sheet, and a total multiplies by the quantity, the shape of a priced bill.
- 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.
Can XLOOKUP and VLOOKUP pull unit rates from a rate schedule into my BOQ, and where can I learn them?
Yes, and The Complete Excel Course with AI Integration from Coding Liquids teaches both on PeopleInsight, an industry-standard project of linked sheets, designed after talking with people from many different industries. A lookup does one job: it takes a code, finds it in a reference table and returns what sits beside it. In Lesson 68 that is a department name fetched by VLOOKUP; on a bill it is the unit rate and description fetched by item code, and on a cube register the required strength fetched by concrete grade. Lesson 69 repeats the job with XLOOKUP, adds a message for codes that are not found and finishes with a two-way lookup, and Lesson 71 covers INDEX and MATCH. This page gathers 16 lessons, 1 hour 14 minutes in all, from locked references to keys that match, each tied to a piece of site work.
Is XLOOKUP better than VLOOKUP for a rate schedule that keeps gaining columns?
Yes, and The Complete Excel Course with AI Integration shows why by breaking a VLOOKUP on purpose. VLOOKUP finds the code in the first column of its table and counts across to the answer by number, so in Lesson 68 a column inserted into the lookup table sends the results to zero. Rate schedules gain columns all the time: a new rate period, a supplier, a remark. XLOOKUP points at the answer column directly, so an insertion leaves it intact, and it searches left or right, which Lesson 69 puts to work on a location table. The same lesson writes the result for a missing code inside the formula itself. VLOOKUP still earns its place: set FALSE for an exact match every time, as the lesson does, because an approximate match on unsorted codes can return a neighbour's rate with no error to warn you.
Why do consultants and site teams still send files full of VLOOKUP when XLOOKUP exists?
Because VLOOKUP works in every version of Excel while XLOOKUP needs a modern one, and The Complete Excel Course with AI Integration prepares you for both sides of that exchange. A rate sheet built years ago, or a register shared with a firm on an older Excel, will run on VLOOKUP, and you will be asked to extend and fix it. Lesson 68 teaches VLOOKUP properly: the exact match, the column number, and the locked table range whose absence fills the rows below with errors. Lesson 70 wraps it in IFERROR so a missing code shows a message instead of #N/A. For your own new sheets, XLOOKUP from Lesson 69 is the stronger choice, with INDEX and MATCH (Lesson 71) as the route that works everywhere and looks in any direction. Knowing all three means no inherited workbook stays a black box.
Can a lookup find a rate by item and by grade at once, reading a table down and across?
Yes: that is a two-way lookup, and The Complete Excel Course with AI Integration names it in the title of Lesson 69. A one-way lookup finds a code in a column and returns a value from the same row. A two-way lookup finds a row and a column together and returns the figure where they cross, which is the shape of most engineering reference tables: rates by item down the side and grade across the top, unit weights by bar size, or haul rates by material and route. The same lesson builds XLOOKUP's single lookups first, with the table locked and a fallback for codes that are not found, so the two-way version arrives on familiar ground. HLOOKUP has no lesson of its own; XLOOKUP reads across a header row as readily as down a column, so it covers that job too.
What happens when a BOQ item code is missing from the rate schedule?
You decide what the sheet says, and The Complete Excel Course with AI Integration teaches both ways to say it. Without a plan, the lookup returns #N/A, which tells a reviewer nothing. Lesson 69 gives XLOOKUP its own answer for a code that is not found, so the cell can read Not in schedule, and Lesson 70 wraps VLOOKUP and XLOOKUP formulas in IFERROR, changing one code so it no longer matches and showing NOT MATCHED in its place. The lesson's point carries straight to a bill: one extra letter in a code is enough to break a lookup, and a clear message sends someone to fix the code instead of leaving a hole in the total. Keep the message distinct from any real rate, so a missing item can never pass for a priced one, and a COUNTIF on the message tells you how many lines still wait for a rate.
My codes look identical on both sheets but the lookup still fails: will the course help?
Yes: a code that only looks identical is the commonest reason a lookup fails, and The Complete Excel Course with AI Integration teaches the clean-up that ends it. A trailing space, a slash where the schedule has a hyphen, or a code held as a number on one sheet and as text on the other is enough. TRIM strips the stray spaces (Lesson 42), SUBSTITUTE swaps a wrong piece of text for the right one by formula (Lesson 43), and COUNT set beside COUNTA (Lesson 34, Lesson 35) exposes a column of figures with text hiding among them. Then the cause is closed off: Lesson 45 builds drop-down lists, so the next code is picked from the schedule's own list rather than typed from memory. Lesson 68 adds the other usual culprit, a table range left unlocked, which returns errors only in the rows further down.
Can INDEX and MATCH find a code when the column I search sits to the right of the answer?
Yes, and The Complete Excel Course with AI Integration teaches INDEX and MATCH as the answer to exactly that limit. VLOOKUP only searches the first column of its table and returns values to its right, so a register with the description first and the code further along defeats it. Lesson 71 splits the job in two: MATCH finds the position of the code in any column, and INDEX returns the value at that position from any other column, left or right. The lesson then names the tables and uses an @ reference to take the current row's code, filling the formula down a whole sheet. XLOOKUP from Lesson 69 also looks left, so on a modern Excel either one works, and INDEX with MATCH is the one to reach for when a file must also open on an older version in someone else's office.
Drawing numbers and cost codes pack several facts into one string: can formulas take them apart?
Yes: LEFT, RIGHT and MID do exactly that, and The Complete Excel Course with AI Integration teaches them on a code built the same way. Lesson 73 takes a position code of three parts, a location, a department and a number, and pulls out each one: LEFT reads from the start, RIGHT from the end, and MID from a start position for a set length. A drawing number that packs project, discipline and sheet, or a cost code that packs package, element and item, splits the same way, and each part can then drive a lookup of its own, such as the discipline's full name or the package's budget. Lesson 72 works in the other direction, joining text with CONCAT, the ampersand and TEXTJOIN, which is how a key is built from two columns when one alone is not unique. For a one-off split of a whole column, Text to Columns needs no formula at all (Lesson 44).
Can a formula list every RFI raised against one drawing, not just the first match?
Yes: FILTER returns every matching row where a lookup stops at the first, and The Complete Excel Course with AI Integration teaches it in Lesson 76. The lesson filters a table by one value, then by two conditions joined with AND, then by either of two values with OR, each result spilling into as many rows as it needs. On a site that becomes every RFI against one drawing, every delivery of one material, or every failed test on one structure, updating as rows join the log. Lesson 75 adds UNIQUE, which lists each distinct value a column holds, the quick way to see every drawing that has an RFI, or to check every code in a bill against the schedule. Both are dynamic array functions, so they need a modern Excel, and the course flags that where they appear. Their results need room to spill, outside the table they read.
Where can I practise VLOOKUP and XLOOKUP on realistic files before using them on a live BOQ?
In The Complete Excel Course with AI Integration, on files that come with their answers. PeopleInsight arrives as a starter workbook of linked sheets, a main table with separate tables of departments and locations, and leaves as a finished one to compare against, so every lookup you write from Lesson 68 to Lesson 71 can be checked cell by cell. Lesson 78 then sets a challenge on a problem file of products and orders, to solve before watching: XLOOKUP fetches each product's name and its per-unit figure, a total multiplies that by the quantity, and the order IDs are given a new format. That is a priced bill in miniature: item code in, description and rate out, amount calculated. After it, a copy of a real rate schedule and a short BOQ is the natural next exercise, with the course's files to fall back on.
Is anything newer than XLOOKUP worth learning for joining whole site registers?
Yes, for whole tables, and The Complete Excel Course with AI Integration teaches both bigger tools once the formulas are in hand. XLOOKUP remains the way to bring one value into one cell. When the job is joining a whole daily return to a trades list, or every delivery line to a materials table, Power Query does it as a merge: Lesson 163 looks up product and region names with a left join, keeping every row and leaving a blank wherever a code has no match, so the gaps are easy to list. The step runs again on next week's file at a refresh. Beyond that, Lesson 169 relates tables in a Power Pivot data model, so one PivotTable reads them all with no lookup column at all. Power Pivot needs Excel for Windows, while Power Query is built into Excel with nothing to install.
Claude offers to repair the #N/A errors down my rate column: should I let it?
Yes, one change at a time and once you know what broke, and The Complete Excel Course with AI Integration gives you both halves. Lesson 104 adds Claude to Excel, has it calculate a figure in a chosen cell and repair an error in another column, and answers every permission prompt with Allow once, so each change is seen before the next. The cause is usually one the lookup lessons teach you to spot first: a table range left unlocked, which returns errors only further down (Lesson 68), or codes that do not match (Lesson 70). If the column is wrong because the schedule lacks a rate, no repair should hide it, and a clear message is the honest fix. Lesson 99 adds a checklist for any AI result before it reaches a bill. The lesson's repair is on a sales workbook; a rate column is judged the same way.
How long before lookups start saving me time on bills and registers?
About 1 hour 14 minutes for everything on this page, and the first lookup works within minutes of starting. The Complete Excel Course with AI Integration reaches VLOOKUP in Lesson 68, a short lesson, and by the end of Lesson 70 you can fetch a rate, a grade or a drawing title and show a clear message where a code is missing, which covers most of what a bill or register needs. INDEX and MATCH, code splitting and FILTER follow, then a challenge that proves it has stuck. You need SUM and simple formulas first; if references that drift when copied are new to you, Lesson 10 is the short lesson that fixes it. Everything here runs on Windows or a Mac, with XLOOKUP, UNIQUE and FILTER needing a modern Excel. Lifetime access keeps the lessons open, and finishing the course earns a Certificate of Completion with a verification link.
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 civil engineers
- Pivot tables for civil engineers
- Excel charts for civil engineers
- Excel dashboards for civil engineers
- Conditional formats for civil engineers
- Data cleaning for civil engineers
- Data validation for civil engineers
- Excel tables for civil engineers
- Text functions for civil engineers
- Date functions for civil engineers
- Dynamic arrays for civil engineers
- Power Query for civil engineers
- Power Pivot and DAX for civil engineers
- Macros and VBA for civil engineers
- Power Automate for civil engineers
- Copilot in Excel for civil engineers
- ChatGPT for Excel for civil engineers
- Claude in Excel for civil engineers