The Complete Excel Course with AI Integration
XLOOKUP and VLOOKUP for logistics coordinators
Every shipment number points somewhere else: the carrier's details, the lane's transit time, the invoice, the proof of delivery. The Complete Excel Course with AI Integration teaches the lookups that fetch them on industry-standard projects, and this page picks out those lessons for a logistics desk: VLOOKUP and XLOOKUP across sheets, if-not-found messages, two-way grids, INDEX and MATCH, clean keys, and Power Query merges for the weekly export.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Bring a carrier's name, service and contact onto every shipment row from a carrier sheet with XLOOKUP, matched exactly on the shipment or carrier code.
- Fill origin, destination, carrier and ETA columns from one lookup copied across, with the lookup value locked so it never slides out of place.
- Keep inherited VLOOKUP files working: lock the table range, ask for an exact match, and know why an inserted column breaks the result.
- Read standard transit days or distance from an origin by destination grid with a two-way lookup, or with INDEX and MATCH.
- Turn #N/A into a plain message such as Not invoiced with XLOOKUP's if-not-found answer or IFERROR, and list every unmatched load with FILTER.
- Clean keys before matching with TRIM and SUBSTITUTE, and stop new misspellings with a drop-down list of carriers, so a lookup never misses on a stray space.
- Merge a weekly carrier export with master tables in Power Query, and relate tables in a Power Pivot data model in place of lookups filled down thousands of rows.
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.
Built on HR records, it is the course's lookup workshop: department, partner and location details fetched by ID through VLOOKUP, XLOOKUP and INDEX and MATCH, the way a shipment row fetches its carrier, lane and ETA.
-
Project 12
SalesFusion
A sales report that refreshes itself from a folder of files.
Its Power Query half does lookups at the scale of a weekly export: a merge with a left join adds names to every code in one step, and a check for blanks catches each row that found no partner.
-
Project 02
Dunder Michael Paper Company employee database
An employee list in the course, it supplies the clean keys every lookup depends on: a table that grows with each new row, trimmed text, one spelling per name and drop-down lists that accept only approved entries.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 20 of them, 1 h 36 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 write SUM and IF and keep your loads in a table: the lookup section opens there with why lookups matter, then builds VLOOKUP, XLOOKUP and INDEX and MATCH in turn. Unsure how to lock a reference? Take Lesson 10 first, and Lesson 19 for tables. New to Excel altogether? Begin at Lesson 1. Writing XLOOKUP daily already? Go straight to the two-way lookup in Lesson 69, then on to the Power Query merge at Lesson 163.
20 of 186 lessons · 1 h 36 min
01 Microsoft Excel fundamentals: building a foundation from scratch Absolute and mixed references: the F4 lock that holds a lookup table's range still while the formula fills down a shipment log, and the reason a lookup right on the first row can fail on every row below it.
- 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 with structured references and a total row: a carrier list or rate sheet kept as a table grows with every row added, so the lookups reading it never miss the latest entry.
- 19 Excel tables Create and format a table, structured references and total row 8 min
05 Text functions and data validation (enhancing data quality) Clean keys before matching: TRIM, UPPER and PROPER, FIND, SEARCH and SUBSTITUTE to strip a prefix one system adds and another leaves off, Text to Columns to split a combined field, and a drop-down list so each carrier is typed the way the lookup table spells it.
- 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 lookup section, on an HR workbook of linked sheets: why lookups matter, VLOOKUP with exact match, XLOOKUP with if not found and a two-way lookup, IFERROR round both, INDEX and MATCH, joining and splitting codes, NETWORKDAYS, UNIQUE, FILTER and SORT, and a challenge that matches orders to products.
- 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
- 74 TODAY, EOMONTH and NETWORKDAYS in Excel Date calculations for HR data 5 min
- 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
- 77 SORT and SORTBY in Excel Sort data dynamically with formulas 4 min
- 78 Excel Ninja Challenge XLOOKUP, totals and text concatenation lookup challenge 3 min
15 SalesFusion: advanced data tools and a Power Query modelling system Merge queries in Power Query: product and region names looked up with a left join, the method for a weekly carrier export too large to fill with formulas, applied again at every refresh.
- 163 Merge queries in Power Query Look up product and region names with a left join 5 min
15 SalesFusion: advanced data tools and a Power Query modelling system Relationships in a Power Pivot data model, drawn in Diagram View: a shipment table linked once to its carrier and lane tables instead of a lookup copied down every row. Power Pivot needs Excel for Windows.
- 169 Power Pivot Data Model in Excel Relationships and Diagram View 6 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.
Shipment numbers are the key to everything on a logistics desk: which course teaches XLOOKUP and VLOOKUP to turn them into carrier, lane and ETA details?
The Complete Excel Course with AI Integration from Coding Liquids teaches both, with INDEX and MATCH beside them, on industry-standard projects designed after talking with people from many different industries. On a logistics desk, lookups are the daily glue: a shipment number brings back its carrier, lane and ETA, a carrier code brings back its contact and service, an invoice finds the load it charges for. The course builds the habit on the PeopleInsight HR workbook, where records on one sheet fetch their department, partner and location from others: VLOOKUP with an exact match (Lesson 68), XLOOKUP with an if-not-found answer and a two-way lookup (Lesson 69), and IFERROR for the gaps (Lesson 70). The challenge that closes the section matches orders to a products sheet (Lesson 78), a job much like matching loads to a product master. Swap employee IDs for booking references and every formula carries over. The path runs to 20 lessons, 1 hour 36 minutes of lessons.
XLOOKUP or VLOOKUP for a shipment file that keeps changing shape: which should I reach for?
XLOOKUP, wherever your Excel has it, and The Complete Excel Course with AI Integration shows why with one experiment. In Lesson 68, VLOOKUP fetches department names by column number; then a column is inserted into the lookup table and the results turn to zero, because the formula still counts to the old position. Carrier exports and shared logs gain columns all the time, so that failure is a question of when. XLOOKUP points straight at the column it returns, so an inserted column leaves it unharmed, and it looks left or right of the key, with its own if-not-found answer built in (Lesson 69). VLOOKUP still earns its place in inherited templates and older copies of Excel, and the lesson teaches it properly, with FALSE for an exact match and the table range locked before filling down. INDEX and MATCH, from Lesson 71, covers the left-hand lookup wherever XLOOKUP is missing.
Can one booking reference fill in the carrier, lane, ETA and status columns beside it?
Yes, with one XLOOKUP written once and copied across, and The Complete Excel Course with AI Integration shows the move that makes it safe. In Lesson 69 a location code brings back four columns, city, state, region and work arrangement, by copying the formula one column to the right each time and moving the return range with it. The lesson also shows the slip that catches most people: copied across, the lookup value shifted a column too and had to be pointed back at the code. Lock the lookup value's column and the lookup ranges with F4 (Lesson 10) and the formula fills right and down without a fault. In a shipment log the key is the booking reference, the returns are carrier, lane, ETA and status, and a reference missing from the export shows the message you chose in place of #N/A. The lessons use employee records; a carrier's tracking export is matched the same way.
My lookup returns #N/A even though the shipment number is plainly there: why?
Usually because the two keys only look alike, and The Complete Excel Course with AI Integration teaches you to find the difference. A stray space at the end of a reference is invisible and fatal to a match; TRIM removes it (Lesson 42). One system writes a prefix the other leaves off, and SUBSTITUTE strips it by formula (Lesson 43). One extra letter in a code breaks the match outright, which Lesson 70 demonstrates before wrapping the formula in IFERROR so a reviewer reads NOT MATCHED instead of #N/A. A table range left unlocked works on the first row and fails lower down (Lesson 68), and an @ in a table reference takes only the current row when the whole column is needed (Lesson 78). A key held as text on one side and as a number on the other is the last suspect, and COUNT set against COUNTA exposes it (Lesson 35). Each fix is quick once you know where to look.
Can I find the loads a carrier has delivered but not yet invoiced?
Yes: run the lookup from the shipment side, and The Complete Excel Course with AI Integration teaches every piece. XLOOKUP from each delivered load into the carrier's invoice list returns the invoice number where one exists and the text you choose, such as Not invoiced, where none does, through its if-not-found argument (Lesson 69). In a modern Excel, FILTER then lists every load carrying that text, one formula that rebuilds itself as invoices arrive (Lesson 76), and COUNTIF counts them for the month-end note (Lesson 36). Turn the lookup round, from the invoice list into the shipment log, and the same method catches charges with no load behind them. Together the two directions show what is still to be billed and stop any load being paid for twice. The lessons match employee codes to departments and locations; a carrier's reference is matched in exactly the same way, and the check runs again each time the invoice list grows.
Can a lookup read standard transit days from a grid of origins and destinations?
Yes: that is a two-way lookup, and The Complete Excel Course with AI Integration teaches it by name in Lesson 69. A lane grid holds origins down the side and destinations across the top, with transit days or distance where they meet, and a two-way lookup returns the one cell where a load's origin and destination cross. Lesson 71 reaches cells by position the older way: MATCH returns where a value sits, with 0 for an exact match, and INDEX returns what is found at a given row and column. With the standard days fetched beside each load, a plain subtraction shows how far the real journey overran, and NETWORKDAYS counts the working days in between (Lesson 74). IFERROR catches a lane missing from the grid (Lesson 70), so a new route shows a message rather than an error. The lessons look up departments and locations; a lane grid is the same lookup on a different table.
Our old shipment templates are full of VLOOKUPs: should I rewrite them all in XLOOKUP?
Rewrite the fragile ones and keep the rest, and The Complete Excel Course with AI Integration teaches you to tell them apart. Lesson 68 builds VLOOKUP properly: FALSE for an exact match, the table range locked with F4 before filling down, and the column index counted from the left edge of the table. It then shows the weakness, an inserted column that changes every result without a warning. A template whose lookup tables never change shape can keep its VLOOKUPs for years. Where columns get added, or where the answer sits to the left of the key, swap in XLOOKUP (Lesson 69) or INDEX and MATCH (Lesson 71), and wrap whatever remains in IFERROR so a miss reads as a message (Lesson 70). Understanding VLOOKUP repays the short lesson even if you never write another one: inherited workbooks, carrier spreadsheets and Excel tests at interview are full of it.
Can a lookup fetch each supplier's lead time and turn it into an expected arrival date?
Yes, and the gap between expected and actual then shows who is slipping. The Complete Excel Course with AI Integration builds the pieces in order. XLOOKUP brings each supplier's or lane's standard lead time from a reference table onto the order line (Lesson 69). Excel stores dates as numbers, so the order date plus that lead time gives the expected date, the same date arithmetic as the follow-up date Lesson 39 sets ten days after a sale. Subtract the expected date from the actual arrival and the result is days early or late, and NETWORKDAYS counts the working days between the two when a lead time is quoted that way (Lesson 74). An IF then labels each line on time or late (Lesson 29). Keep the lead-time table as an Excel table and a supplier added at the bottom is picked up by every lookup that reads it (Lesson 19).
Can XLOOKUP and VLOOKUP read a carrier export that sits on another sheet or in another file?
On another sheet, yes, every time: The Complete Excel Course with AI Integration does all its lookups between sheets. In the PeopleInsight HR workbook the records sit on one sheet and the departments and locations on others, and Lesson 68 points VLOOKUP at a table on the lookup sheet, with the range locked. The challenge in Lesson 78 matches an Orders sheet against a Products sheet, the product name first, then the per-unit figure, then a line total. A carrier export that arrives as a separate file is best brought in as a sheet of its own: by copy and paste for a one-off, or through Power Query when it comes every week, where Lesson 163 merges two queries with a left join, the lookup done once for every row and repeated at each refresh. Either way the formulas read a sheet inside your workbook, and the export file itself stays exactly as the carrier sent it.
When should a weekly lookup move out of formulas and into Power Query or a data model?
When the same export arrives every week with thousands of rows, and The Complete Excel Course with AI Integration teaches both ways out. Lesson 163 treats a merge as Power Query's own VLOOKUP: a sales query is joined to a products file on its ID and to a regions file on its code, Left Outer, so no row is lost and details arrive wherever a code matches. Being a step of the query, the lookup reaches next week's export at a refresh, with nothing filled down, and Lesson 168 checks for empty values after its merges, the check that finds a load whose carrier code is missing from the master list. A Power Pivot data model goes a step further: Lesson 169 loads a fact table and two lookup tables and draws the relationships in Diagram View, one to many, so a PivotTable reads all three as one and no formula is copied down at all. Power Pivot needs Excel for Windows; the course's requirements name no such limit for Power Query.
If a colleague's Excel has no XLOOKUP, will my lookups break?
They will show an error on that copy, and The Complete Excel Course with AI Integration gives you two dependable fallbacks. XLOOKUP and the dynamic arrays belong to modern Excel, and the course overview says so before you meet them (Lesson 2). INDEX and MATCH, taught in Lesson 71, does the same work in any version: MATCH finds the row that holds the key, and INDEX returns the value from whichever column you name, left of the key included. VLOOKUP, from Lesson 68, covers the simple left-to-right case, and IFERROR wraps either one so a miss reads as a message (Lesson 70). A workbook shared with a depot on an older Excel can carry INDEX and MATCH, while files that stay on modern copies keep XLOOKUP. Microsoft 365 on Windows or a Mac includes XLOOKUP, so for most teams the question settles itself, and the fallback is there for the rest.
A shipment has several charge lines, base rate, fuel and waiting time: will a lookup add them up?
A lookup returns the first match only, so The Complete Excel Course with AI Integration hands that job to SUMIFS, which adds every matching line. XLOOKUP and VLOOKUP stop at the first row that carries the key, so a shipment with a base charge, a fuel surcharge and a waiting-time charge would return the base charge and miss the rest. SUMIFS adds every line whose shipment number matches, and with a second condition it adds only the fuel lines, or only one month (Lesson 37). FinanceGuard shows the pattern at scale: its model brings budget and actual side by side with SUMIFS against a shared key (Lesson 117). The rule of thumb the course leaves you with: one answer per key, use a lookup; several rows to total, use SUMIFS. Knowing which is which ends the classic reason a freight total comes out short.
I have never written a lookup: how long before I can match my own shipment data?
About 1 hour 36 minutes for the whole path, and the first working lookup arrives within a few minutes of starting the section. The Complete Excel Course with AI Integration sets the scene in Lesson 67: related information scattered across sheets, and the reason copying between tabs invites mistakes. VLOOKUP follows, then XLOOKUP, IFERROR and INDEX and MATCH, each on the same PeopleInsight workbook from its starter file, with the finished file to compare against. If locking a reference is new, the short Lesson 10 comes first, and Lesson 19 turns your log into a table the lookups can grow with. The challenge in Lesson 78 asks you to match orders to products yourself before showing the solution, a fair rehearsal for your first real shipment file. Lifetime access keeps every lesson to hand for the next export that needs matching, and a Certificate of Completion follows the course.
Can I stop lookups failing on a carrier name typed three different ways?
Yes: stop the problem at the point of entry, and The Complete Excel Course with AI Integration teaches the tool for it. To Excel, a carrier typed three ways is three different carriers, and a lookup table only knows one of them. Lesson 45 sets a column to accept only the names on an approved list, offered as a drop-down, with an error message for anything else; the lesson's example is a department written two ways that breaks reports, filters and dashboards. Point the list at the carrier sheet your lookups read, and the log and the table can never disagree. For the history already typed, UNIQUE spills every spelling a column holds in a modern Excel, so the stray variants show at once (Lesson 75), and TRIM and PROPER bring them into line (Lesson 42). A short set-up at the start saves a week of hunting for #N/A later.
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
- Formulas for logistics coordinators
- PivotTables for logistics coordinators
- Charts for logistics coordinators
- Dashboards for logistics coordinators
- Conditional formatting for logistics
- Data cleaning for logistics coordinators
- Data validation for logistics
- Excel tables for logistics coordinators
- Text functions for logistics
- Date functions for logistics
- Dynamic arrays for logistics
- Power Query for logistics
- Power Pivot and DAX for logistics
- Excel macros and VBA for logistics
- Power Automate for logistics
- Copilot in Excel for logistics
- ChatGPT for Excel for logistics
- Claude in Excel for logistics