The Complete Excel Course with AI Integration
XLOOKUP and VLOOKUP for management accountants
Standard costs, absorption rates, cost centre owners and report lines all live in separate tables, and every management report starts by bringing them onto the actuals. The Complete Excel Course with AI Integration teaches that work with VLOOKUP, XLOOKUP, INDEX and MATCH on industry-standard projects, and this page picks out the lessons a management accountant needs: exact matches, not-found flags, two-way reads, joined keys, FILTER and a Power Query merge.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Bring a standard cost, an absorption rate or a cost centre's owner onto every line of actuals with XLOOKUP, matched exactly, with the table's range locked as it fills down.
- Read and repair the VLOOKUP columns of an inherited costing workbook, and judge where INDEX and MATCH or XLOOKUP should replace them.
- Pick one cost element for each product from a standard cost card with a two-way lookup, or with INDEX and MATCH.
- Show a plain message where a product or cost centre is missing from the map, with XLOOKUP's not-found argument or IFERROR, and count the gaps before the report goes out.
- Match on two fields at once, such as labour grade and site, by joining them into one key with the ampersand or TEXTJOIN.
- Cost a month's output at standard: the per-unit standard looked up, multiplied by quantity and totalled by product with SUMIFS.
- Pull every product past its standard into a ranked list with FILTER and SORTBY, and keep the cost centres in use listed with UNIQUE.
- Apply a cost centre map to a whole monthly export with a Power Query merge, so the lookup runs again at each refresh.
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: codes matched exactly, a not-found message, INDEX and MATCH as the flexible alternative, a two-way read, then UNIQUE, FILTER and SORTBY, every move a cost card or a cost centre map needs.
-
Project 09
FinanceGuard
The budget vs actual report finance teams send every month.
Built as the course's budget vs actual project, it is where a key packing period, department and category lets SUMIFS match plan to spend on three fields at once, the pattern behind any match on several conditions in a cost report.
-
Project 12
SalesFusion
A sales report that refreshes itself from a folder of files.
Built as a sales reporting system, its merge step is a lookup for a whole table: product and region names joined onto every row with a left outer join, the way a cost centre map can meet each month's export at a refresh.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 14 of them, 1 h 9 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 with SUMIFS: the PeopleInsight workbook opens there and VLOOKUP follows straight after. If SUMIFS is new, take Lesson 37 first, and if formulas themselves are new, step back to Lesson 8. Fluent in VLOOKUP already? Go to Lesson 69 for XLOOKUP's not-found message and two-way lookup, then the dynamic arrays from Lesson 75.
14 of 186 lessons · 1 h 9 min
04 Essential formulas and functions (IF, SUMIF and more) SUMIFS, the lookup that adds: where actuals hold many lines per product or cost centre, it returns their total for any mix of conditions, which a first-match lookup cannot.
- 37 SUMIFS and COUNTIFS in Excel Sum and count with multiple criteria 7 min
08 Advanced Excel functions: lookups, text and arrays The lookups on PeopleInsight's sheets: VLOOKUP with an exact match and a locked table, XLOOKUP with a not-found message and a two-way lookup, IFERROR round both, INDEX and MATCH, then CONCAT, TEXTJOIN, LEFT, RIGHT and MID to build or cut the key a lookup matches on. The data is employee records; a standard cost card is read 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 UNIQUE for a live list of the codes in use, FILTER with AND and OR for every line that meets a condition, SORT and SORTBY to rank them, and a Ninja Challenge that looks up a per-unit figure and multiplies it by quantity, the shape of output costed at standard. These 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
- 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 budget and actual meet on a key that packs period, department and category, and SUMIFS reads it: matching on several fields at once, held in one column.
- 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 in Power Query, the lookup for a whole table: product and region names joined onto every sales row with a left outer join and rerun at each refresh, the way a cost centre map can be applied to each month's export.
- 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.
What jobs do XLOOKUP and VLOOKUP do in management accounting, and is one of them enough?
They bring the reference tables onto the actuals: standard costs, absorption rates, cost centre owners and report lines. One is not enough, and The Complete Excel Course with AI Integration from Coding Liquids teaches both, with INDEX and MATCH beside them. VLOOKUP (Lesson 68) runs the workbooks you inherit and opens in any Excel; XLOOKUP (Lesson 69) is the one to write new, because it points at its return column, looks left or right, matches exactly by default and carries its own not-found message. Among the formulas every accountant should know, they come straight after SUMIFS. The lessons use PeopleInsight, an industry-standard HR workbook designed after talking with people from many different industries; a standard cost card or a cost centre map is read with the same formulas. This page gathers 14 lessons, 1 hour 9 minutes in all, from the first exact match to a Power Query merge, each built on the course's practice files with the finished workbook to check against.
Can XLOOKUP put a standard cost on every line of actual production, so the month's output is costed at standard?
Yes: one lookup, one multiplication and one total, and The Complete Excel Course with AI Integration teaches each. XLOOKUP with an exact match finds each product's standard cost per unit on the cost card (Lesson 69); lock the card's ranges with F4 before filling down, or the rows below drift and return errors. The Ninja Challenge of Lesson 78 has exactly this shape: it looks up a per-unit figure for each order line and multiplies it by the quantity. SUMIFS then totals standard cost by product, cost centre or month (Lesson 37), and actual cost less that total is the period's variance. The lessons look up products and employees; the formulas do not care that the table is a cost card. Splitting the variance into its rate and usage parts is not taught; the standard cost of actual output, the base every such split starts from, is a single column of formulas you own.
Our standard cost card has a column for each cost element: can one formula pick the right element for each line?
Yes, with a two-way lookup, which The Complete Excel Course with AI Integration teaches in Lesson 69: it returns the value where a product's row and an element's column cross. Lesson 71 shows the logic underneath with INDEX and MATCH: INDEX reads a table by row and column number, and MATCH, with 0 for an exact match, works out a position from a code or a header. Put material, labour and overhead across the top of the card and products down the side, and an element chosen in one cell drives every line, so a report switches from labour to overhead without a formula being rewritten. INDEX and MATCH also look left of the code and run in any Excel, which matters when the card is shared with colleagues on an older version. The lessons read locations and HR partners out of lookup sheets; a cost card reads exactly the same way.
Can a lookup cost a bill of materials, pulling each component's standard cost?
Yes, and the roll-up is one column and one total. In The Complete Excel Course with AI Integration XLOOKUP brings each component's cost per unit from the parts list onto its line of the bill (Lesson 69), the quantity per finished unit multiplies it, just as the Ninja Challenge multiplies a looked-up per-unit figure by quantity (Lesson 78), and SUMIFS adds the lines for each finished product (Lesson 37). Change a component's cost on the parts list and every product that uses it is recosted at once. A component missing from the list returns your own message instead of #N/A (Lesson 70), so no bill is costed short in silence. Multi-level bills, where a subassembly is itself a product, take the same pattern level by level. No lesson works a bill of materials as such; the lookup, the multiplication and the total it is built from are all on this path.
Can I look up a rate that depends on two things, such as labour grade and site?
Yes, and The Complete Excel Course with AI Integration gives you two ways. The first joins the two fields into one key: the ampersand or TEXTJOIN (Lesson 72) sets grade and site side by side in a helper column of the rate table and again on each timesheet line, and XLOOKUP matches the joined key exactly (Lesson 69). FinanceGuard's model runs on the same idea, a key that packs period, department and category so that SUMIFS can match budget to actual on all three at once (Lesson 117). The second skips the key: FILTER with the asterisk as AND returns every row meeting both conditions (Lesson 76), and SUMIFS takes several conditions natively when the answer is a total (Lesson 37). The joined key keeps a rate card readable; FILTER is quicker for a one-off question. The lessons join employee names and codes; a grade and a site join the same way.
A product has no standard cost yet: what should the lookup show, and how do I catch it before the report goes out?
A message you choose, never a zero that flatters the margin, and The Complete Excel Course with AI Integration teaches both ways to write it. XLOOKUP takes the message as an argument of its own (Lesson 69), so a product missing from the cost card reads, say, No standard instead of #N/A; VLOOKUP reaches the same result inside IFERROR (Lesson 70), where the lesson breaks a code on purpose and replaces the error with NOT MATCHED. A visible label matters more in costing than almost anywhere: a missing standard that turns into zero makes a product look free to make. Then count and list the gaps: COUNTIF on the label tells you how many (Lesson 36), and FILTER pulls every one into a list for whoever keeps the cost card (Lesson 76). Lesson 70 makes the warning plain: one extra letter in a code is enough to break a lookup.
Cost centres move between departments in a reorganisation: how do I keep every report's mapping right?
Keep the mapping in one table and let every report look it up, the habit The Complete Excel Course with AI Integration builds from Lesson 67. Each cost centre appears once in the map with its department, division and manager; XLOOKUP brings those onto the actuals (Lesson 69), copied across to fill a column per attribute, as the lesson fills city, state, region and work arrangement from one location table. When a cost centre moves, you change one row of the map and every report that reads it follows at the next recalculation, prior months included, which restates the comparatives with no extra work; if past months must keep the old structure, give them a map of their own. UNIQUE lists the cost centres actually in the data (Lesson 75), so a new one missing from the map stands out, and SORT puts the list in order (Lesson 77). The lessons map employees to locations; a cost centre map works the same way.
Our costing workbook was built on VLOOKUP years ago: should I rewrite it in XLOOKUP?
Rewrite the columns that break and keep the rest, and The Complete Excel Course with AI Integration gives you what you need to judge which. Lesson 68 builds VLOOKUP with FALSE for an exact match, then inserts a column into the lookup table and watches the results turn to zero, because VLOOKUP counts columns by number: that is the fault that hides in old costing files. Its other limits show there too: the code must sit in the first column, and without FALSE it settles for an approximate match. XLOOKUP (Lesson 69) points straight at its return column, so an inserted column does no harm, while INDEX and MATCH (Lesson 71) do the same and still work in older Excel. Rebuild one column at a time beside the old one, compare the two, and switch only when every row agrees. Claude in Excel (Lesson 104) can repair a broken column with you, one approved change at a time.
The lookup returns nothing although I can see the code in both lists: what does the course teach about that?
Three causes are worth checking first, and The Complete Excel Course with AI Integration covers each. A code that differs by a single character, a stray space or a letter, will not match: Lesson 70 breaks a code on purpose to show it, and TRIM with Find and Replace cleans the strays (Lesson 22). A code held as text in one list and as a number in the other will not match either, and COUNT against COUNTA (Lesson 35) shows how many cells of a column are true numbers. The third is an unlocked table range: the first rows work and the rows below fail, which Lesson 68 fixes with F4. Cost centre and product codes exported from two systems can meet all three, so a lookup column with gaps is often a cleaning job rather than a formula fault. Where the same export arrives every month, Power Query sets the data types once and keeps them (Lesson 158).
Which products ran furthest over standard this month: can FILTER and SORTBY pull them out?
Yes, as a list that rebuilds itself. Once a variance column sits beside the actuals, FILTER returns every row past your threshold (Lesson 76), with the asterisk for AND when two conditions must both hold, say over standard and above a minimum amount, and the plus sign for OR. SORTBY then ranks the result by the size of the variance without showing the column it sorts on (Lesson 77), so the largest gap leads the page. Change the threshold in its cell and the list redraws; post next month's actuals and it rebuilds. The Complete Excel Course with AI Integration teaches both on HR data, filtering employees by location and job level; a cost report filters the same way. They are dynamic array functions, so they need a modern Excel. For a quick visual pass over the whole column, a custom number format colours each variance by its sign (Lesson 119).
When should lookup columns give way to a Power Query merge or a data model?
When the same lookup is filled down every month, or the tables have outgrown a sheet, and The Complete Excel Course with AI Integration teaches both steps up. A Power Query merge is a lookup for a whole table: Lesson 163 joins product and region names onto every sales row with a left outer join, and the merge runs again on each new export at a refresh, with nothing filled down. A data model goes further: Power Pivot relates the tables in Diagram View instead of copying columns across (Lesson 169), and DAX measures total them (Lesson 170); those lessons need Excel for Windows. XLOOKUP stays the right tool for a one-off schedule, a cost card read into a working file, and any review where you want the formula in plain sight. Nothing has replaced XLOOKUP: the merge and the data model sit beside it for the monthly, repeated work.
How long until I can cost a month's output at standard with lookups I wrote myself?
About 1 hour 9 minutes for everything on this page, and far less for the first useful lookup. The Complete Excel Course with AI Integration reaches VLOOKUP in Lesson 68 and XLOOKUP with its not-found message in Lesson 69, each only minutes long and built on the PeopleInsight starter file, so by the end of Lesson 71 you can bring a standard cost onto actuals three ways and flag what is missing. The Ninja Challenge of Lesson 78 then asks you to do it unaided, looking up a per-unit figure, multiplying by quantity and totalling, which is the core of output costed at standard. Rebuild one schedule of your own the same week, and the rest of the path, the joined keys, FILTER and the merge, comes in as each report needs it. Lifetime access keeps every lesson open for the next new table.
Management accounting interviews often include an Excel test with VLOOKUP: will this path get me through one?
It prepares you for exactly that kind of task, and The Complete Excel Course with AI Integration lets you prove it afterwards. If the test hands you two sheets and asks for a column brought across, a missing code handled and a total by category, that is the work of Lesson 68 to Lesson 70 and of SUMIFS in Lesson 37. You will have written the lookup three ways, VLOOKUP, XLOOKUP and INDEX with MATCH, so whichever the tester expects is familiar, and the Ninja Challenge of Lesson 78 is a rehearsal: the problem file first, the solution after. Completing the course earns a Certificate of Completion with a verification link, and the finished PeopleInsight and FinanceGuard workbooks are yours to open in the interview itself, industry-standard work you built rather than described.
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 management accountants
- Pivot tables for management accountants
- Charts for management accountants
- Dashboards for management accountants
- Conditional formats for cost accountants
- Data cleaning for management accountants
- Data validation in management accounting
- Excel tables for management accountants
- Text functions in management accounting
- Date functions in management accounting
- Dynamic arrays in management accounting
- Power Query in management accounting
- Power Pivot & DAX in management accounts
- Macros and VBA in management accounting
- Power Automate in management accounting
- Copilot for management accountants
- ChatGPT for management accountants
- Claude in Excel for management accounts