The Complete Excel Course with AI Integration
XLOOKUP and VLOOKUP for FP&A analysts
Every FP&A report starts with mapping: actuals coded to report lines, budget matched to actual on the same key, headcount joined to departments, and a lookup that fails quietly can leave a cost centre out of a total. The Complete Excel Course with AI Integration teaches lookups on an industry-standard HR workbook, and this page picks out what a planning model needs: XLOOKUP and VLOOKUP, not-found answers, two-way lookups, combined keys and dynamic lists.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Map account, cost centre or department codes to the lines of a report with XLOOKUP, and with VLOOKUP and an exact match where a workbook must open on an older Excel.
- Catch a code the mapping does not know yet, such as a new cost centre, with XLOOKUP's if-not-found answer or IFERROR, so it shows as a message instead of vanishing from a total.
- Read one cost line's figure for a chosen month out of a budget grid with a two-way lookup, in XLOOKUP or in INDEX and MATCH.
- Match budget to actual on a key that combines month, department and category, joined with TEXTJOIN and split again with TEXTSPLIT or LEFT, MID and RIGHT.
- Join headcount records to department and location tables for a people-cost plan, and pull out the active staff at a given level with FILTER.
- Keep the list of budget lines and cost centres current with UNIQUE and SORT, so a line with actuals but no budget still gets its row.
- Apply a mapping once to every future export with a Power Query merge and a left outer join that keeps every row.
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 headcount half of a plan, built by you: staff records given their department, partner, city and region from lookup tables, unmatched codes turned into readable messages, and spilled lists of statuses and job titles that update as the records change.
-
Project 09
FinanceGuard
The budget vs actual report finance teams send every month.
Lookup logic applied to budget work: every key from both tables in one sorted list, department and category split out of each key, and SUMIFS matching the key so budget and actual meet line for line, with a row for any spending nobody budgeted.
-
Project 12
SalesFusion
A sales report that refreshes itself from a folder of files.
The mapping done once and kept: Power Query merges product and region names onto every sales row with a left outer join, so the next export is mapped the moment it is refreshed and no row goes missing on the way.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 13 of them, 1 h 2 min of video. Each lesson keeps its number in the course.
Where to start
Lesson 67 Lookup functions in Excel
Begin at Lesson 67 if SUMIFS, IF and absolute references are already part of your week: the lookups start there, on the HR dataset, and run in the order a mapping is built. If the dollar signs of a locked range are new, take Lesson 10 first, and begin at Lesson 1 if Excel itself is new to you. Already at home in VLOOKUP and XLOOKUP? Start at Lesson 75 for the dynamic lists, then go on to the FinanceGuard model at Lesson 117.
13 of 186 lessons · 1 h 2 min
08 Advanced Excel functions: lookups, text and arrays The lookups themselves, on the PeopleInsight HR dataset: why lookups beat copying across tabs, VLOOKUP with an exact match and a locked table range, XLOOKUP with its own if-not-found answer and a two-way lookup, IFERROR for codes that stop matching, and INDEX with MATCH where VLOOKUP's limits bite. Department and location codes stand in for the account and cost centre codes of your mapping.
- 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 Building and cutting keys: CONCAT, the ampersand and TEXTJOIN join fields into one string with a delimiter, and LEFT, RIGHT and MID pull the parts back out of a packed code, the two moves behind any lookup on a combined key or a GL segment.
- 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 UNIQUE, FILTER, SORT and SORTBY, then the lookup challenge: a distinct list that grows with the data, every row for one value pulled out by formula with AND and OR, lists that re-sort themselves, and XLOOKUP filling an orders sheet from a products sheet before the solution is shown.
- 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
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) FinanceGuard's model, where lookup thinking meets budget work: the keys of both tables stacked into one sorted list, the department and category split out of each key with TEXTSPLIT, and SUMIFS matching every key to set budget beside actual.
- 117 Budget vs actual model in Excel SORT, UNIQUE, VSTACK, LET, TEXTSPLIT, SUMIFS 8 min
15 SalesFusion: advanced data tools and a Power Query modelling system A merge, which the lesson calls Power Query's version of VLOOKUP: product and region names joined to every sales row with a left outer join that keeps every row, the way to apply a mapping once to each export that follows.
- 163 Merge queries in Power Query Look up product and region names with a left join 5 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.
Which course teaches XLOOKUP and VLOOKUP for FP&A work, from account mapping to budget lookups?
The Complete Excel Course with AI Integration from Coding Liquids does, on PeopleInsight, an industry-standard HR workbook designed after talking with people from many different industries, and the matching it drills is the matching an FP&A month runs on. VLOOKUP brings each department's name and HR business partner in from a lookup sheet with an exact match (Lesson 68); XLOOKUP adds city, state, region and work arrangement, with its own not-found answer and a two-way lookup (Lesson 69); IFERROR turns a code that stopped matching into a readable message (Lesson 70); INDEX and MATCH reaches where VLOOKUP cannot (Lesson 71). The codes in the lessons are departments and locations; put accounts and cost centres in their place and the same formulas map your actuals to report lines. FinanceGuard then matches budget to actual on a shared key (Lesson 117). This page gathers 13 lessons, 1 hour 2 minutes in all, with starter and finished workbooks to check against.
XLOOKUP or VLOOKUP for a planning model: which should I write, and when does VLOOKUP still make sense?
XLOOKUP for anything new, VLOOKUP when the file must open on an older Excel, and The Complete Excel Course with AI Integration teaches both so the choice is yours. VLOOKUP counts columns by number: in Lesson 68 a column inserted into the lookup table turns the results to zero, the same accident that hits a mapping when someone adds a column to an export. It also needs FALSE for an exact match, or it can return a near match that looks plausible. XLOOKUP points straight at the column it returns, searches left or right, matches exactly unless told otherwise and carries its own if-not-found answer (Lesson 69). XLOOKUP needs a modern Excel, and the course flags that when it arrives; for a budget holder on an older version, VLOOKUP with FALSE, or INDEX and MATCH (Lesson 71), keeps the workbook working. Knowing all three means no model you inherit or send is beyond you.
A new cost centre appeared this month: will my report flag it or quietly leave it out?
Flag it, if the lookup is written the way The Complete Excel Course with AI Integration teaches. In Lesson 69 XLOOKUP's if-not-found argument returns n/a for any code missing from the lookup table, and Lesson 70 breaks a department code on purpose, watches both lookup columns fill with errors, then wraps them in IFERROR so they read NOT MATCHED instead of #N/A. Make your message Unmapped, count it with COUNTIF (Lesson 36) before the pack goes out, and a new cost centre becomes an item on your list rather than a hole in a total that nobody spots until the budget holder does. The lesson's warning is the one to remember at month end: a single extra letter in a code is enough to break a lookup. Where the mapping runs on every export, the merge in Lesson 163 keeps every row, and Lesson 168 checks the result for empty values after it.
Can a lookup pick one cost line's figure for a chosen month out of a budget grid?
Yes: that is a two-way lookup, and The Complete Excel Course with AI Integration teaches it in two forms. Lesson 69 closes with a two-way lookup in XLOOKUP. Lesson 71 takes INDEX and MATCH apart before joining them: INDEX returns the cell at a given row and column of a table, so row 2, column 2 of the location table gives New York, and MATCH returns a position rather than a value, 2 for the code NYC, with 0 asking for an exact match. Give INDEX one MATCH for the cost line and another for the month heading, and it reads any line at any month, still pointing at the right cell after columns are inserted. A commentary cell can then show the budget for whichever month a manager picks, and a rate table laid out by month, exchange rates included, is read in exactly the same way.
Our budget and actuals share department, account and month: can a lookup match on all three?
Yes, by turning the three into one key, and The Complete Excel Course with AI Integration works on exactly that shape in FinanceGuard. There every budget and actual row carries a key holding the year and month, the department and the category, separated by pipes. Lesson 117 stacks the keys of both tables, lists each once in order with SORT and UNIQUE, pulls the department and the category back out with TEXTSPLIT and INDEX, and matches each key with SUMIFS to set budget beside actual. If your extracts carry no key, build one: Lesson 72 joins fields with CONCAT, the ampersand or TEXTJOIN, whose first argument sets the delimiter, so department, account and month become one code to match on. Keep a delimiter in the key, because without one two different combinations can run together into the same string and meet the wrong partner.
Should budget and actual be fetched with XLOOKUP or with SUMIFS?
SUMIFS for amounts and XLOOKUP for names and attributes, and The Complete Excel Course with AI Integration shows each doing its own job. FinanceGuard fetches budget and actual with SUMIFS against each table's key (Lesson 117), and that suits figures: SUMIFS adds every row that matches, so two actuals posted to one key are both counted, and it returns zero where nothing matches, so a line with no spend still reads cleanly. XLOOKUP returns the first match it finds, which is what you want for a department's name, a region or an HR business partner, the attributes PeopleInsight brings in (Lesson 69). The conditions themselves are drilled on the Sales Goal Tracker in Lesson 37. Fetch a figure with XLOOKUP and a duplicate key silently drops part of it; fetch a name with SUMIFS and you get a zero. Picking the right one is half of building a model people trust.
Can lookups join headcount, department and location data for a people-cost plan?
Yes, and the course's lookups are taught on exactly this kind of data, an HR dataset. In The Complete Excel Course with AI Integration the employee records carry department IDs and location codes, and lookups fill in what a headcount plan needs beside each person: the department name and HR business partner by VLOOKUP (Lesson 68) or by INDEX and MATCH (Lesson 71), and the city, state, region and work arrangement by XLOOKUP (Lesson 69). FILTER then returns the active employees at a given job level in one formula (Lesson 76), UNIQUE lists the statuses in the file, active, on leave or terminated (Lesson 75), and SORTBY puts people in hire date order (Lesson 77). Add your salary bands as one more lookup table and the same joins give every head a cost, ready to total with SUMIFS by department.
Can FILTER pull every line for one department straight into a review sheet?
Yes, in one formula that refreshes itself, and The Complete Excel Course with AI Integration teaches it in Lesson 76. FILTER returns every row of a table that meets a condition: the lesson pulls the employees at one location, then those at one job level, then combines two conditions with the asterisk for AND and two locations with the plus sign for OR. On your actuals that is one department's lines for the month, ready for the budget holder's review, or two departments side by side, with nothing copied and nothing to redo when late journals arrive. The result spills down the sheet, so it needs empty room below it, a point Lesson 75 makes when UNIQUE refuses to spill inside a table. Lesson 34 adds the finance twist, SUM wrapped round FILTER to total one region's quota. FILTER needs a modern Excel, which the course points out as it arrives.
Will UNIQUE and SORT keep my list of cost centres and budget lines current?
Yes, and the list builds itself from the data instead of being typed. Lesson 75 in The Complete Excel Course with AI Integration spills the distinct values of a column, statuses, location codes and work arrangements, and keeps them current as the source changes; Lesson 77 sorts a whole table by formula, sorts the unique job titles alphabetically, and with SORTBY orders rows by a column that is not even shown. FinanceGuard joins the two ideas in Lesson 117: SORT round UNIQUE round VSTACK takes the keys of the budget table and the actuals table together and lists each one once, in order. Because both tables feed the list, a line that has actuals but no budget still gets its own row, so unbudgeted spending appears in the model instead of hiding outside it. These dynamic arrays need a modern Excel, and the course flags them where they appear.
Can formulas cut a GL string into segments so each one can be mapped?
Yes, and The Complete Excel Course with AI Integration teaches both ways a code gets cut. Where the segments have fixed lengths, Lesson 73 uses LEFT, RIGHT and MID on a position code such as DAL-SAL-0001: LEFT takes the first three characters, RIGHT the last four, and MID starts at position 5 and takes three, because that is where the middle segment begins. Where a delimiter separates the parts, FinanceGuard's model in Lesson 117 splits each key at its pipes with TEXTSPLIT and picks the second and third pieces with INDEX. Either way, every segment of a company, cost centre and account string lands in a column of its own, and each column can then be looked up against its own mapping table, department names in one, report lines in another. Lesson 72 works the other way, joining parts back into one code with TEXTJOIN when a mapping needs the combination.
The models I inherit are built on INDEX and MATCH: will I be able to read and extend them?
Yes: The Complete Excel Course with AI Integration takes INDEX and MATCH apart before it puts them together, which is exactly what reading someone else's model needs. Lesson 71 shows INDEX alone returning the cell at a row and column of a table, MATCH alone returning the position of a code, with 0 for an exact match, and then the pair returning each employee's HR business partner from a named table, using the @ to take the current row's department ID. Once you see that MATCH supplies a position and INDEX reads it, any combination in an inherited model becomes readable, and you can extend it, or replace it with XLOOKUP (Lesson 69) where the file will only ever open in a modern Excel. VLOOKUP gets the same treatment in Lesson 68, including why a locked table range matters, so the older formulas in a planning file hold no mystery either.
Our mapping has to be redone on every month's export: is there something better than filling lookups down?
Yes, a merge in Power Query, and The Complete Excel Course with AI Integration teaches it on SalesFusion. Lesson 163 brings product and region lookup files into Power Query and merges them with the sales data on their codes, using a left outer join that keeps every sales row and fills the names in only where a match exists, so no row is lost. The lesson calls a merge Power Query's version of VLOOKUP, and the difference is permanence: the mapping is a saved step, so next month's export arrives mapped at a refresh, and Lesson 164 moves a whole pipeline to a new file by changing nothing but its source. Worksheet lookups still earn their place in the analysis built on top and in the one-off file. Power Query is built into Excel, so this step needs nothing extra to install, and it turns a monthly chore into a button.
Can Copilot or Claude build the lookups in my model, or do I still need to know them?
They can draft them, and The Complete Excel Course with AI Integration makes sure you can tell a sound draft from a broken one. The AI lessons show the pattern: in Lesson 95 Copilot writes formula columns that are read, tested on one row and checked down the sheet before they count; in Lesson 104 Claude calculates a figure in a chosen cell and repairs a column that had broken, one permitted change at a time; Lesson 99 supplies a checklist for any AI output. What you bring is the lookup knowledge to check them: that zeros or errors lower down usually mean an unlocked range (Lesson 69), that a VLOOKUP without FALSE can return a near match, that an inserted column shifts a column number. An AI-written mapping that drops one cost centre is still your number in the pack, so knowing the formulas is what keeps it right.
I only half understand VLOOKUP today: how long until I can build the mapping for our monthly pack?
About 1 hour 2 minutes of lessons, and the mapping itself is in place within the first few. The Complete Excel Course with AI Integration starts the lookups with why they matter, then VLOOKUP, XLOOKUP, IFERROR and INDEX and MATCH in short lessons (Lesson 67 to Lesson 71), all on one HR dataset, so by the end of that run you can map any code to its name and catch the ones that fail. The challenge in Lesson 78 asks you to fill an orders sheet from a products sheet with XLOOKUP before the solution plays, which is where half understanding turns into the real thing. Practise on the starter workbook, compare with the finished one, then rebuild the same steps on your own extract. If a lookup of your own still refuses to behave, the instructor support plan puts your question to the instructor in writing for two months from the day you switch it on.
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 FP&A analysts
- PivotTables for FP&A analysts
- Charts for FP&A analysts
- Dashboards for FP&A analysts
- Conditional formatting for FP&A analysts
- Data cleaning for FP&A analysts
- Data validation for FP&A analysts
- Excel tables for FP&A analysts
- Text functions for FP&A analysts
- Date functions for FP&A analysts
- Dynamic arrays for FP&A analysts
- Power Query for FP&A analysts
- Power Pivot and DAX for FP&A analysts
- Macros and VBA for FP&A analysts
- Power Automate for FP&A analysts
- Copilot in Excel for FP&A analysts
- ChatGPT for Excel for FP&A analysts
- Claude in Excel for FP&A analysts