The Complete Excel Course with AI Integration
XLOOKUP and VLOOKUP for customer service leaders
The ticket export names the agent, the roster names the team, the QA sheet holds the scores, and a team leader's report needs all three on one row. The Complete Excel Course with AI Integration teaches the lookups that join them: XLOOKUP with an answer for a missing ID, VLOOKUP for inherited workbooks, INDEX and MATCH, text functions that make keys match, FILTER for every evaluation and a Power Query merge, on industry-standard projects.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Put each agent's team, team leader and site beside every ticket with XLOOKUP, with a word such as Unassigned wherever an ID is missing from the roster.
- Read and repair the VLOOKUP formulas in inherited workbooks: exact match with FALSE, the return column counted by number, the table range locked before filling down.
- Find the agent behind an escalated ticket even when the agent's column sits left of the ticket number, with XLOOKUP or INDEX and MATCH.
- Replace raw #N/A errors with a readable NOT MATCHED through IFERROR, and trace the stray space, unlocked range or mistyped code that caused them.
- Split a packed reference into channel, queue and number with LEFT, MID and RIGHT, and build a matching key with CONCAT or the ampersand.
- List every QA evaluation or contact for one agent with FILTER, newest first with SORTBY, where a lookup would stop at the first match.
- Add roster details to each day's export with a Power Query merge that keeps every row and leaves the unmatched ones blank for checking.
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.
Its starter spreads one workforce over a main sheet and separate lookup sheets for departments and locations, the shape of a ticket log beside a roster and a queue list. You fill partner, city, region and work arrangement columns by VLOOKUP, XLOOKUP and INDEX MATCH, then take a packed code apart with LEFT, RIGHT and MID.
-
Project 12
SalesFusion
A sales report that refreshes itself from a folder of files.
For one lesson of its Power Query half (Lesson 163): the merge with a left outer join, which adds names to codes across an entire export at once, so each day's contacts gain the agent's team the moment the query runs.
-
Project 02
Dunder Michael Paper Company employee database
The table and clean-up lessons run on it: a list turned into a table that grows with every paste, then TRIM, Paste Special values and Find and Replace to remove the stray spaces that make an agent ID look identical on screen yet refuse to match.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 15 of them, 1 h 18 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 can total and filter a column: the lookups begin there, on sheets you download ready to use. Never locked a cell reference? Watch Lesson 10 first, since every lookup on this page depends on it. New to Excel altogether? Begin at Lesson 1. Already fluent in VLOOKUP? Go straight to Lesson 69 for XLOOKUP, or to Lesson 163 if your exports already run through Power Query.
15 of 186 lessons · 1 h 18 min
01 Microsoft Excel fundamentals: building a foundation from scratch Absolute references, the cure for the classic lookup fault: a table range left unlocked slides down as the formula fills, and the rows below start returning errors. The lesson locks a tax rate in a budget; a roster 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) Excel tables and structured references: a roster or ticket log kept as a named table grows with each paste, and a formula that points at its columns by name keeps reaching the new rows. The lessons use an employee database.
- 19 Excel tables Create and format a table, structured references and total row 8 min
03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) TRIM, Paste Special values and Find and Replace: the clean-up that strips the trailing space or second spelling behind an ID that looks right and still fails to match.
- 22 Cleaning data in Excel TRIM, Paste Special values and Find and Replace 13 min
08 Advanced Excel functions: lookups, text and arrays The lookups themselves, on a workforce spread over several sheets: why lookups beat copying between tabs, VLOOKUP with an exact match, XLOOKUP with an if-not-found answer and a two-way lookup, IFERROR for lookup errors in VLOOKUP and XLOOKUP formulas, and INDEX with MATCH, which looks in any direction.
- 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 Keys that agree: CONCAT, the ampersand and TEXTJOIN join a first and last name into the form a roster uses, and LEFT, RIGHT and MID take a packed code apart into its pieces.
- 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 for the distinct list of agents or queues, FILTER for every matching row with AND and OR, SORT and SORTBY to put the newest first, then a lookup challenge on an orders sheet. The dynamic arrays 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
15 SalesFusion: advanced data tools and a Power Query modelling system The lookup done once for a whole export: a Power Query merge with a left outer join adds names to codes on every row and leaves unmatched rows blank. It builds on the import and clean-up lessons the job's own page lists, and it needs no Windows.
- 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.
Joining ticket exports to the agent roster: is XLOOKUP or VLOOKUP the better choice for a customer service team leader?
XLOOKUP, for nearly every join a service report needs, and The Complete Excel Course with AI Integration from Coding Liquids teaches both so you can work with either. On PeopleInsight, an industry-standard project designed after talking with people from many different industries, Lesson 68 fills department and HR business partner names with VLOOKUP, which counts its return column by number and reads only to the right, and Lesson 69 fills city, state, region and work arrangement with XLOOKUP, which points straight at the column it returns, looks either way and gives its own answer when an ID is missing. Beside a roster, that means a team and a team leader on every ticket, with Unassigned in place of an error. This page gathers the 15 lessons that build it, 1 hour 18 minutes in all.
Can XLOOKUP add each agent's team leader to every ticket, so the weekly coaching sheet builds itself?
Yes, one formula filled down the ticket log, and The Complete Excel Course with AI Integration builds exactly that pattern. In Lesson 68 each employee row gains a department name and an HR business partner from a lookup sheet keyed on the department ID; swap the department ID for an agent ID and the partner for a team leader, and every ticket carries its supervisor. Lesson 69 does it with XLOOKUP, whose if-not-found argument writes a word of your choosing, such as Unassigned, for an agent missing from the roster, with both ranges locked so the formula holds as it fills. With the team leader on each row, COUNTIFS or a PivotTable groups the week's tickets by supervisor for one-to-ones, and next week's export takes the same formula.
A customer complains about a ticket: can a lookup find the agent when the name sits left of the ticket number?
Yes: XLOOKUP and INDEX with MATCH both look left, and The Complete Excel Course with AI Integration teaches each. VLOOKUP cannot, because it searches the first column of its table and returns columns to the right of it, the limit Lesson 71 names before lifting it. In Lesson 69 XLOOKUP takes the column to search and the column to return as two separate ranges, so the return column can sit anywhere, and a column inserted later does not break it. Lesson 71 builds INDEX and MATCH: MATCH finds the position of the value you look for, with 0 for an exact match, and INDEX returns what stands in that row of another column. Either way a complaint or a low survey score leads straight to the agent who handled it, with no rearranging of an export that arrives in the same awkward order every day.
Why do so many service workbooks still run on VLOOKUP, and is it worth learning?
Because many were built before XLOOKUP existed or are shared with colleagues on older Excel, and yes, The Complete Excel Course with AI Integration teaches it so you can read and repair them. Lesson 68 shows VLOOKUP's four parts on real sheets: the value to find, the table, the column counted by number and FALSE for an exact match. It also shows why such files break: a column inserted into the lookup table turns the answers to zeros, and a table range left unlocked fills the rows below with errors until F4 fixes it. Knowing both functions, you can keep an inherited scorecard working, convert it once the whole team has a modern Excel, and wrap either version in IFERROR (Lesson 70) so a missing agent shows a message rather than #N/A. XLOOKUP needs a modern Excel; VLOOKUP runs everywhere.
Copilot can write a lookup for me: is XLOOKUP still worth learning as a team leader?
Yes, because a lookup that returns the wrong team quietly misreports a whole week, and only someone who can read the formula catches it. The Complete Excel Course with AI Integration teaches AI and lookups side by side: Copilot and ChatGPT draft formula columns that you check before inserting (Lesson 95), Lesson 99 gives a short checklist for anything Copilot returns, and Lesson 104 has Claude repair a broken column in a live workbook. Each of those checks assumes you know what a correct XLOOKUP looks like: which column it searches, which it returns, what it says when an ID is missing. No newer function has taken its place; FILTER, Power Query merges and AI sit beside it for other jobs. Learn it on PeopleInsight first, and AI becomes a quicker way to write what you can already verify.
Team leader interviews often ask about VLOOKUP: will this course help me explain it?
Yes, in a sentence and with a workbook to show for it. VLOOKUP finds a value in the first column of a table and returns what sits in a column you name by number, exactly as Lesson 68 in The Complete Excel Course with AI Integration builds it; XLOOKUP points at the return column directly, searches in either direction and answers a missing value itself (Lesson 69). Add why lookups matter, joining sheets through a shared ID instead of copying between tabs (Lesson 67), and you have covered what an interviewer listens for. Then the proof: the finished PeopleInsight workbook, departments, locations and partners joined across sheets by your own formulas, and the lookup challenge of Lesson 78 solved. The Certificate of Completion you earn at the end carries a verification link that an interviewer can open on the spot.
Agents have several QA evaluations each: can a lookup show them all, or only the first?
A lookup stops at its first match, so The Complete Excel Course with AI Integration hands that job to FILTER, which returns every matching row. Lesson 76 filters a table by one value, then by two conditions joined with the asterisk as AND, then with the plus sign as OR, each result spilling into as many rows as it needs. Point it at your QA log with an agent's ID and every evaluation appears together; Lesson 77 orders a result with SORTBY by a date column, so the newest can stand at the top, and COUNTIFS (Lesson 37) puts the number of evaluations beside it. XLOOKUP's setting for searching from the last row upward is not covered; the FILTER and SORTBY route shows the whole history as well as the latest score, which is what a coaching conversation needs. Both need a modern Excel.
Our targets are set per agent per week: can one formula find a figure by both at once?
Yes, and The Complete Excel Course with AI Integration gives you three ways to do it. The simplest builds one key from both values: Lesson 72 joins text with CONCAT and the ampersand, so agent and week become a single code on each sheet, and XLOOKUP then matches that key. FILTER takes several conditions directly, joined with the asterisk as AND (Lesson 76), and returns every row that meets them all. Lesson 69 adds the two-way lookup, which finds a row and a column at once, the shape of a target grid with agents down the side and weeks across the top. FinanceGuard uses the key method at full scale in Lesson 117, where a key packing the month, department and category sets budget beside actual with SUMIFS. Choose by the question: one value, every row, or one cell of a grid.
My lookups return #N/A for agents who are plainly on the roster: does the course cover why?
Yes, the usual causes and the cure for each. A stray space comes first: an ID that reads the same on screen but carries a trailing space never matches, and Lesson 22 in The Complete Excel Course with AI Integration strips it with TRIM, pastes the clean values back with Paste Special and tidies spellings with Find and Replace. An unlocked range comes second: Lesson 68 watches the rows below fill with errors until the table range is fixed with F4, the skill Lesson 10 teaches. A code that differs by one letter is the third, which Lesson 70 creates on purpose before catching it with IFERROR and a NOT MATCHED message that tells a reviewer what went wrong. Once you can tell which of the three you face, an #N/A on the scorecard becomes a quick repair rather than an afternoon of checking by eye.
Our ticket references pack the channel and queue into one code: can formulas split them before the lookup?
Yes, with LEFT, MID and RIGHT, and The Complete Excel Course with AI Integration teaches them on exactly that kind of packed code. Lesson 73 takes a position code such as DAL-SAL-0001 apart: LEFT reads the location from the start, RIGHT the number from the end, and MID the department from the middle, given where it starts and how many characters to take. A reference built as channel, queue and number splits the same way, and each piece can feed its own lookup or COUNTIFS. Lesson 72 works in the other direction, joining first and last names with CONCAT, the ampersand or TEXTJOIN, so a roster that lists full names and an export that splits them can still meet. Between them, splitting and joining make two files agree on a key before a single lookup runs.
My roster and ticket log sit on different sheets: are lookups across sheets taught?
Yes, every lookup lesson in The Complete Excel Course with AI Integration works across sheets, because that is how the PeopleInsight workbook is built. Employee rows sit on one sheet and departments and locations on lookup sheets of their own, and Lesson 68 to Lesson 71 reach from one to the other with VLOOKUP, XLOOKUP and INDEX with MATCH. Lesson 71 also names the tables on the Table Design tab, so a formula refers to your data by name rather than by a string of sheet and cell addresses, and Lesson 19 shows how structured references keep up as rows are added. Keep the roster as a named table on its own sheet of the reporting workbook, and a lookup pointed at its columns takes in each new agent the moment the row is added.
Can Power Query add the team to each day's export before I even start the report?
Yes: a merge is Power Query's lookup, and The Complete Excel Course with AI Integration teaches it in Lesson 163. There, product and region names join a sales query through a left outer join: every sales row stays, and the matching names arrive in new columns. Point the same merge at your agent roster and each contact in the daily export gains the agent's team and team leader; an ID the roster does not know yet comes back blank, ready to be caught with a filter rather than buried in a total. The difference from XLOOKUP is reach: the merge is a saved step that runs on every new file at a refresh, while a worksheet formula covers only the rows it was filled into. The lesson builds on the Power Query import and clean-up lessons, and none of it needs Windows.
I have only ever used SUM and filters: how long until lookups work on my own reports?
About 1 hour 18 minutes for the whole path, and VLOOKUP is working within its first few lessons. The Complete Excel Course with AI Integration explains why lookups matter in Lesson 67, then has you fill a column with VLOOKUP in Lesson 68 and with XLOOKUP in Lesson 69, on sheets that come ready to download. Rebuild that on your own roster and ticket log the same week and the copying between tabs stops. The clean-up, key-building and FILTER lessons then deal with the files that refuse to match, and the challenge in Lesson 78 sets four lookup tasks to solve before you see the solution. The project comes with a starter and a finished workbook, so any formula can be checked against a working answer, and lifetime access keeps them on hand for the day a new export lands.
Will these lookups work in my company's Excel, and do I need Windows?
VLOOKUP, INDEX and MATCH, IFERROR and the text functions work in every Excel, and The Complete Excel Course with AI Integration says where a newer one is needed. XLOOKUP and the dynamic arrays, UNIQUE, FILTER, SORT and SORTBY, need a modern Excel such as Microsoft 365, and the course points that out as they arrive; on an older copy, VLOOKUP and INDEX with MATCH do the joining and the Sort and Filter buttons do the rest. Windows is not needed for anything on this page: the course's requirements name it only for Power Pivot and Power Automate, and the Power Query merge here runs on a Mac with Excel from Microsoft 365. If your team mixes versions, build shared scorecards with VLOOKUP or INDEX and MATCH, and keep XLOOKUP for workbooks everyone opens in a modern Excel.
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 service team leaders
- Pivot tables for service team leaders
- Excel charts for service team leaders
- Dashboards for service team leaders
- Conditional formatting for service leads
- Data cleaning for service team leaders
- Data validation for service team leaders
- Excel tables for service team leaders
- Text functions for service team leaders
- Date functions for service team leaders
- Dynamic arrays for service team leaders
- Power Query for service team leaders
- Power Pivot and DAX for service leaders
- Copilot in Excel for service leaders
- ChatGPT for service team leaders