The Complete Excel Course with AI Integration
XLOOKUP and VLOOKUP for retail buyers
A buyer's line list draws on sheets that never share a layout: supplier quotes, cost lists, last season's sales and size ratios. The Complete Excel Course with AI Integration teaches the lookups that join them on industry-standard projects, and the path set out here covers that work: VLOOKUP kept exact, XLOOKUP with its own not-found answer and a two-way lookup, IFERROR, INDEX with MATCH, codes split and rejoined, and keys that match on two things.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Bring each supplier's quoted cost onto your line list with XLOOKUP, whichever column of their sheet holds the item code, and set every quote side by side for each line.
- Keep a VLOOKUP exact with FALSE and its table locked with F4, so an old range file or a supplier's sheet never hands back another line's cost.
- Give every line without a quote a plain label through XLOOKUP's own if-not-found answer, and wrap older VLOOKUP formulas in IFERROR for the same clean result.
- Name the cheapest supplier for each line with MIN and the INDEX and MATCH pairing, which reads a table in any direction.
- Read one figure from a grid with a two-way lookup, such as the share of an order that goes to each size in a category.
- Fetch a cost that depends on two things, an item and a season, by joining them into one key with the & operator or by summing on both with SUMIFS.
- Set a supplier's new cost list beside the old one and flag every line whose cost has risen, with the rise shown as a percentage.
- Build the season's cost upload sheet by lookup, with codes rebuilt in your system's format and every unmatched style counted before anything is loaded.
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 spread over several sheets, it is the practice ground for every lookup here: VLOOKUP for department names, XLOOKUP for location details with a not-found answer, INDEX and MATCH, IFERROR, and position codes taken apart with LEFT, RIGHT and MID. Quote sheets and a line list connect by the very same logic.
-
Project 09
FinanceGuard
The budget vs actual report finance teams send every month.
Built for budget against actual spending, its model fetches figures by a key that holds three things at once, month, department and category: the method for a cost that depends on an item and a season, or on a store and a size.
-
Project 14
Agentic AI in Excel
AI finds and fixes the formula; you check it before it counts.
Built to put Copilot, ChatGPT and Claude to work on real tasks, it shows an AI writing formula columns that you verify and Claude repairing a broken formula: help a buyer can take on lookups once a lookup can be read at a glance.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 10 of them, 45 min of video. Each lesson keeps its number in the course.
Where to start
Lesson 10 Relative vs absolute references in Excel
Start at Lesson 10 if formulas are familiar but lookups are not: locking a reference is the one habit every lookup depends on, and from there the path moves straight to Lesson 67. New to formulas altogether? Begin with Lesson 8, or go back to Lesson 1 for a first look at the Excel window. Writing VLOOKUP already? Go to Lesson 69, where XLOOKUP, its not-found answer and the two-way lookup begin.
10 of 186 lessons · 45 min
01 Microsoft Excel fundamentals: building a foundation from scratch Locked and mixed references, practised on a budget: F4 fixes a cell so that a formula filled down keeps pointing at it. Every lookup filled down a line list needs its table locked this way, or the rows further down start missing.
- 10 Start here Relative vs absolute references in Excel Dollar signs and mixed references 3 min
08 Advanced Excel functions: lookups, text and arrays The lookup lessons, on PeopleInsight's HR sheets: why lookups matter, VLOOKUP with an exact match, XLOOKUP with its own not-found answer and a two-way lookup, IFERROR on lookup errors, INDEX with MATCH, then CONCAT, TEXTJOIN and the & operator for joined keys and LEFT, RIGHT and MID for codes that pack several facts into one cell. Quotes, cost lists and a line list follow the same patterns.
- 67 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 The section's challenge, on a Products sheet and an Orders sheet: XLOOKUP for each order's product name and per-unit figure, a total for every order, and IDs reformatted by joining text. It is a rehearsal for filling a line list from a supplier's file.
- 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 keyed model: every key carries a month, a department and a category, and SUMIFS brings in the budget and the actual that belong to it, a lookup on several things at once. A cost that depends on an item and a season uses the same idea. The spilling functions in this lesson need 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.
Why do retail buyers comparing supplier quotes keep hearing that XLOOKUP beats VLOOKUP?
Because XLOOKUP is built for exactly the files buyers juggle, and The Complete Excel Course with AI Integration from Coding Liquids shows why on an industry-standard project designed after talking with people from many different industries. Supplier sheets put the item code in any column, gain columns between seasons and leave some lines unquoted: XLOOKUP reads in either direction, shrugs off an inserted column, matches exactly and answers a missing code in your own words (Lesson 69). VLOOKUP still earns its place, since older range files and many suppliers' workbooks are built on it and XLOOKUP needs a modern Excel, so Lesson 68 teaches it with an exact match and a locked range. The 10 lessons picked out here, 45 minutes of lookup work, add IFERROR, INDEX with MATCH, joined keys and split codes on PeopleInsight's HR sheets, and every one carries straight over to quote sheets and line lists.
Three suppliers have quoted the same lines, each in their own layout: can lookups line their costs up on my line list?
Yes, and the different layouts stop mattering. XLOOKUP takes the column to search and the column to return as two separate ranges, so it reads a supplier's sheet whether the item code sits first, last or in the middle, which is why The Complete Excel Course with AI Integration teaches it straight after VLOOKUP (Lesson 69). Write one XLOOKUP per supplier, each pointing at that supplier's own code and cost columns, lock the ranges with F4 as Lesson 10 shows, and fill down: every line on your list now carries each quote in a column of its own. A line that one supplier did not quote returns your own label, such as No quote, instead of an error. VLOOKUP cannot look to the left of its code column, the limit that sends the course on to XLOOKUP. The lessons fetch city and state onto HR records; quote sheets behave identically.
Once the quotes sit side by side, can a formula name the cheapest supplier for each line?
Yes: MIN finds the lowest quote on each row, and INDEX with MATCH names the supplier behind it, a pairing The Complete Excel Course with AI Integration teaches in Lesson 71. MATCH returns the position of a value within a range, with 0 asking for an exact match, so matching the row's lowest quote inside its quote columns tells you which column holds it; INDEX then returns the supplier's name from that same position in the header row. MIN sits beside MAX in the AutoSum drop-down opened in Lesson 9. The lesson itself runs INDEX and MATCH down a table of HR records as the flexible alternative to VLOOKUP, reading in any direction, so the same two functions handle your quote grid. Add a column for the gap between the lowest quote and your target cost, a plain subtraction, and you go into the negotiation knowing which suppliers have room to move.
A supplier has sent a new cost list: can lookups show which lines went up, and by how much?
Yes: one lookup beside each line and a percentage, and The Complete Excel Course with AI Integration teaches every part. XLOOKUP brings the new cost from the supplier's updated list onto the row that already holds the old one (Lesson 69); a subtraction gives the change, and dividing it by the old cost, formatted as a percentage as in Lesson 11, gives the rise in per cent. An IF then marks each line whose cost has gone up (Lesson 29). Lines that have vanished from the new list matter just as much, and XLOOKUP's not-found answer can label them Dropped by supplier rather than showing #N/A. Where the old file still runs on VLOOKUP, IFERROR gives it the same label (Lesson 70). The result is a cost review you can sort by the size of each rise, ready before the supplier calls to confirm the new terms.
Our line list and the merchandiser's plan should agree line for line: can lookups show where they differ?
Yes: bring the plan's figure beside your own and let a formula mark the gaps, and The Complete Excel Course with AI Integration teaches each piece. XLOOKUP fetches the merchandiser's cost or quantity for every style on your line list (Lesson 69), a subtraction shows the difference, and an IF marks each line where the two disagree (Lesson 29). A style that sits on your list but not on the plan returns your own label, Not in plan, through XLOOKUP's not-found answer; run the same lookup the other way, from the plan to your list, and the styles you have missed show up as well. IFERROR gives an older VLOOKUP sheet the same clean labels (Lesson 70). The course practises this matching on PeopleInsight's HR sheets, where a changed code breaks a lookup on purpose; on two buying lists, the result is a short list of disagreements to settle before the range is signed off.
The same item carries a different cost each season: can a lookup return this season's figure?
Yes: join the item and the season into one key, and The Complete Excel Course with AI Integration teaches both ways to use it. The & operator, taught beside CONCAT in Lesson 72, turns an item code and a season into a single code in a helper column on each sheet, and XLOOKUP then matches that combined code exactly (Lesson 69). Where the cost occurs once for each pair, SUMIFS with two conditions returns it with no helper column at all. FinanceGuard relies on this kind of keyed fetch: Lesson 117 builds keys that hold the month, the department and the category, and SUMIFS brings in the budget and the actual for each of them. A cost that depends on a supplier and an order size, or on a store and a colour, is handled the same way, with one more piece added to the key.
Why did a VLOOKUP hand me another line's cost instead of an error?
An approximate match is the usual cause, and The Complete Excel Course with AI Integration closes that trap in its first lookup lesson. Without FALSE as its last argument, VLOOKUP assumes a sorted list and settles for the nearest code it passes, so a line can quietly take its neighbour's cost while no error appears. Lesson 68 builds VLOOKUP with FALSE for an exact match and locks the table range with F4, because an unlocked range slides as the formula fills down and the rows below start failing. The same lesson inserts a column into the lookup table and watches the results change, since VLOOKUP counts columns by number. XLOOKUP, from Lesson 69, sidesteps all three traps: the exact match is set with 0, its ranges are named directly, and an inserted column changes nothing. For a cost that feeds a margin, that certainty is worth the lesson alone.
Can a lookup sort the new range into carry-over lines and new lines, with each carry-over's last-season result beside it?
Yes, and the new lines label themselves. XLOOKUP fetches last season's units, sales value or sell-through onto this season's line list by style code (Lesson 69), so every carry-over line shows what it did before you commit to the repeat. A style with no history comes back with your own words, New this season, through the if-not-found answer taught in the same lesson, rather than #N/A. If the history sheet you inherited uses VLOOKUP, wrapping it in IFERROR gives the same clean label (Lesson 70). The Complete Excel Course with AI Integration practises these steps on HR records, where one changed department code is enough to break a match and a readable message replaces the error. On your range plan the result is one sheet where last season's evidence sits beside every decision for the next.
Our size-ratio sheet has sizes across the top and categories down the side: can one formula read the share for any pair?
Yes, a two-way lookup reads the cell where a category's row meets a size's column, and The Complete Excel Course with AI Integration names it in the title of Lesson 69. The lookup finds the category down the side and the size along the top and returns the share where they cross, so a single formula serves the whole size sheet. INDEX with two MATCH functions, one for the row and one for the column, does the same job, built from the pairing taught in Lesson 71. Multiply the share by the line's order quantity, the arithmetic of Lesson 8, and the order splits into units per size, ready for the supplier. Change a category's ratio once on the grid and every order that uses it recalculates. The lessons use location and HR tables; a size grid, a store-grade allocation grid or a supplier's cost grid answers the same way.
If Copilot writes the lookup that joins my line list to a supplier's quotes, how do I know the costs it brings back are right?
By three checks that The Complete Excel Course with AI Integration teaches alongside the AI tools. Lesson 95 has Copilot and ChatGPT write formula columns that you read before inserting, testing one row by hand and scrolling to see that the results land where they should, and Lesson 99 adds a short checklist on the data selected, the time frame and every figure. For matched costs, compare a handful of lines against the supplier's own sheet, count the No quote labels with COUNTIF (Lesson 36) to see how many codes failed to match, and read the formula's lookup and return ranges, which the lessons from Lesson 68 to Lesson 70 teach you to read at a glance. Claude in Excel can repair a broken formula as well (Lesson 104); what it changed is still yours to check before a cost counts.
I build the line list by copying costs out of supplier emails and files: is a lookup within my reach?
Yes, a lookup is the first formula to learn for exactly that chore, and The Complete Excel Course with AI Integration brings you to it in short steps. Lesson 10 shows how a reference is locked so that a formula can be filled down a list; Lesson 67 explains what a lookup does, connecting sheets through a shared value so that Excel applies the same logic to every row; and Lesson 68 writes your first VLOOKUP across two sheets. XLOOKUP, IFERROR and INDEX with MATCH then arrive one at a time. Lesson 78 sets a challenge on a Products sheet and an Orders sheet: fetch each order's product name and per-unit figure, then work out the total, the same shape as filling a line list from a supplier file. Copying by hand invites a slip on one line in a hundred; a lookup makes the same match on every row.
Before the season's costs are loaded into our buying system, can lookups build and check the upload sheet?
Yes, and the check is built into the sheet itself. XLOOKUP fills each style's agreed cost and supplier code from the signed-off quotes (Lesson 69), and its not-found answer labels any style still waiting for agreement, so nothing loads blank. Codes come out in the format your system expects by joining text, as Lesson 72 combines names with a separator and Lesson 78 reformats order IDs with a prefix. Before the file goes anywhere, COUNTIF counts the unmatched labels (Lesson 36) and a final scan of the lookup ranges confirms they are locked. The Complete Excel Course with AI Integration teaches each of these on its own data; together they turn a typed upload, where one wrong cost reaches every store, into a sheet that is rebuilt from the agreed quotes whenever a quote changes.
Next season's line list is due soon: could lookups be filling it from the supplier files by then?
Yes: the path on this page takes about 45 minutes, and the first working lookup comes early in it. Rebuild Lesson 68 on your own line list and one supplier's file the same day, and the copying stops for that supplier. XLOOKUP with its not-found label follows in Lesson 69, then IFERROR and INDEX with MATCH, and by the end of Lesson 73 you can pull codes apart and rejoin them into keys. The Complete Excel Course with AI Integration ships every project with its starter file and its finished file, so you can compare each formula with the finished answer before it touches a live sheet, and the Ninja Challenge of Lesson 78 is a dress rehearsal on products and orders. With lifetime access the lessons wait for the season after, and the Certificate of Completion that comes at the end carries a link any employer can use to verify it.
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 retail buyers
- Pivot tables for retail buyers
- Excel charts for retail buyers
- Excel dashboards for retail buyers
- Conditional formatting for retail buyers
- Data cleaning for retail buyers
- Data validation for retail buyers
- Excel tables for retail buyers
- Text functions for retail buyers
- Date functions for retail buyers
- Dynamic arrays for retail buyers
- Copilot in Excel for retail buyers
- ChatGPT for Excel for retail buyers