The Complete Excel Course with AI Integration

XLOOKUP and VLOOKUP for insurance claims handlers

Reserves on one sheet, payments on another, a partner's bordereau in a third file, and every one keyed by claim number: hours go on copying between them. The Complete Excel Course with AI Integration replaces the copying with lookups, taught on industry-standard projects, and this page picks out the lessons that do it: clean listings to look up against, VLOOKUP, XLOOKUP, IFERROR and INDEX with MATCH, keys built and split with text functions, and FILTER for every match.

Taught by Sagnik Bhattacharya and Virginia Thorn

The Complete Excel Course with AI Integration: Sagnik Bhattacharya and Virginia Thorn

What you will be able to do

At work, you will be able to:

  • Bring the reserve, the excess and the policy limit from a policy or reserve listing onto every payment line with XLOOKUP, ranges locked so one formula fills down and across.
  • Match this week's loss run or bordereau against your own claims log by claim number, and label every claim that is new or has dropped off with XLOOKUP's if-not-found answer.
  • Keep VLOOKUP working in the files you inherit or send to partners, with an exact match, a locked table range and IFERROR for claim numbers that have no match.
  • Look up to the left, and survive a column inserted into a loss run, with XLOOKUP or INDEX and MATCH in place of a counted column number.
  • List every payment on one claim with FILTER, and the distinct claim numbers or handlers in a listing with UNIQUE.
  • Build a matching key from two columns with CONCAT or TEXTJOIN, and split a packed claim reference into its parts with LEFT, RIGHT and MID.
  • Clear stray spaces and repeated claim numbers out of a listing before it serves as a lookup table, with TRIM, Find and Replace and Remove Duplicates.

Projects

What you will build.

The course has 14 industry-standard projects. These two matter most here.

  • Project 06

    PeopleInsight HR workbook

    Employee data joined across sheets with one formula.

    Built on employee records kept on separate sheets, it is where the lookups on this page are written: codes turned into names, a missing code answered with a message and a packed code split into parts, the same moves a claims handler makes with claim and policy numbers.

Tap or pinch to zoom in, drag to move around. Click or scroll to zoom in, drag to move around.

  • Project 02

    Dunder Michael Paper Company employee database

    An employee list cleaned of stray spaces, second spellings and repeated IDs: practice for making a reserve or policy listing fit to look up against, one row per claim number and every code written one way.

Lessons

The lessons that matter, in course order.

The Complete Excel Course with AI Integration has 186 lessons. This page picks out 12 of them, 1 h 3 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 your claims log already lives in Excel and you can write IF and SUMIF: the PeopleInsight lookups begin there and assume nothing more. If your listings arrive with stray spaces or repeated claim numbers, take Lesson 22 and Lesson 23 first. Formulas still new? The first formula lesson, Lesson 8, comes before everything here, with Lesson 1 as the way in for a first look at Excel. Comfortable with VLOOKUP already? Go straight to XLOOKUP at Lesson 69, then FILTER at Lesson 76.

12 of 186 lessons · 1 h 3 min

03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) 2 of 9 lessons · 19 min A lookup is only as good as the listing it reads: TRIM in a helper column, pasted back as values, and Find and Replace take stray spaces and second spellings out of codes, and Remove Duplicates leaves one row per ID, so each claim number in a reserve listing finds exactly one answer. The lessons clean an employee database.
  1. 22 Cleaning data in Excel TRIM, Paste Special values and Find and Replace 13 min
  2. 23 Remove duplicates in Excel Find and delete duplicate rows in an employee list 6 min
08 Advanced Excel functions: lookups, text and arrays 5 of 12 lessons · 21 min The lookups themselves, on the PeopleInsight HR data: why a shared code beats copying between tabs, then VLOOKUP, exact and with its table locked, XLOOKUP, which gives its own if-not-found answer and does a two-way lookup, IFERROR round lookup errors in VLOOKUP and XLOOKUP formulas, and INDEX with MATCH for the lookups VLOOKUP cannot reach.
  1. 67 Start here Lookup functions in Excel The PeopleInsight HR dataset and why lookups matter 2 min
  2. 68 VLOOKUP in Excel Find employee data across sheets with exact match 4 min
  3. 69 XLOOKUP in Excel Exact match, if not found and two-way lookup 6 min
  4. 70 IFERROR in Excel Handle lookup errors in VLOOKUP and XLOOKUP formulas 3 min
  5. 71 INDEX and MATCH in Excel A flexible alternative to VLOOKUP 6 min
08 Advanced Excel functions: lookups, text and arrays 2 of 12 lessons · 10 min The text work around a match: CONCAT, the ampersand and TEXTJOIN fuse two columns into one value, and LEFT, RIGHT and MID pull the parts out of a packed code, which is how a policy number and a loss date become one matching key, or a claim reference gives up its class and branch.
  1. 72 CONCAT and TEXTJOIN in Excel Combine employee names and text with a delimiter 3 min
  2. 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 2 of 12 lessons · 10 min UNIQUE for the distinct claim numbers or handlers in a listing, and FILTER for all the rows that meet a rule, AND and OR included: the answer when one claim has many payment lines and a lookup would return only the first. Both need a modern Excel.
  1. 75 UNIQUE function in Excel Extract a distinct list with dynamic arrays 6 min
  2. 76 FILTER function in Excel Dynamic array filtering with AND and OR criteria 5 min
08 Advanced Excel functions: lookups, text and arrays 1 of 12 lessons · 3 min A lookup challenge to solve before its solution: XLOOKUP across two sheets for a name and a figure, a total worked out from them and an ID rebuilt with text, the whole routine of enriching one listing from another.
  1. 78 Excel Ninja Challenge XLOOKUP, totals and text concatenation lookup challenge 3 min

Instructors

Who teaches it.

Virginia Thorn smiling at the camera, dark hair tied back, wearing a navy top.

Instructor, Excel with AI

Virginia Thorn

Emmy Award winner. Teaches Excel with AI at Coding Liquids.

Questions

Asked before starting.

As a claims handler, do I need XLOOKUP, VLOOKUP or both to match claim numbers across listings, and which course teaches them?

Both, and The Complete Excel Course with AI Integration from Coding Liquids teaches them side by side so you always know which to reach for. XLOOKUP (Lesson 69) is the one to build your own files on: it reads left or right, points straight at the column it returns and answers a missing claim number in words of your choosing. VLOOKUP (Lesson 68) is the one you will meet in inherited workbooks and in files that travel to partners, so the lesson covers its exact match, its locked table range and the inserted column that breaks it. INDEX and MATCH (Lesson 71) complete the set. Every lookup is written on the PeopleInsight HR workbook, an industry-standard project designed after talking with people from many different industries, and this page adds the clean-up, the keys and FILTER around them: 12 lessons that turn a claims listing into a matched one in about 1 hour 3 minutes.

Which claims files should be built on XLOOKUP, and which are better left on VLOOKUP?

Build every file that is yours on XLOOKUP, and The Complete Excel Course with AI Integration shows why on the same employee data. XLOOKUP in Lesson 69 takes the lookup column and the return column directly, so nobody counts across a wide loss run to find the reserve column, and it searches to the left as easily as to the right. It also carries its own answer for a claim number it cannot find, which VLOOKUP needs IFERROR to give (Lesson 70). VLOOKUP still earns its place in two situations: the inherited workbook full of it, and the file you send to a partner who may open it in an older Excel, since XLOOKUP needs a modern version. XLOOKUP remains the modern lookup to learn, and FILTER (Lesson 76) works beside it when one claim number has many matching rows.

What are the three lookup functions the course teaches, and where does each fit in claims work?

VLOOKUP, XLOOKUP, and INDEX with MATCH, and The Complete Excel Course with AI Integration teaches them one after another on the PeopleInsight HR workbook, so each one's strengths show against the others. VLOOKUP (Lesson 68) reads from left to right and returns a column counted by number: dependable for a simple listing with the claim number in its first column, and the function older files are built on. XLOOKUP (Lesson 69) points at its columns, looks in either direction, answers a missing match itself and handles a two-way lookup, such as an authority limit read from a grid by handler grade and claim type. INDEX and MATCH (Lesson 71) find a position first, then fetch the value at it, lifting VLOOKUP's limits without needing XLOOKUP at all. Learn all three and no claims workbook you are handed will be unreadable to you.

Can one XLOOKUP formula fill in the reserve, the excess and the limit for every payment line?

Yes, written once and filled down and across, and The Complete Excel Course with AI Integration teaches the two habits that make that safe. In Lesson 69 XLOOKUP fetches a city for each employee from a location table on another sheet, with the lookup and return ranges locked by F4, then the formula is copied across to bring back the state, the region and the work arrangement, its return range moving one column each time. The lesson also catches the trap in copying across: the lookup value shifts a column too, and has to be set back to the code. On your payment sheet the code is the claim or policy number and the columns are reserve, excess and limit. The lesson's other warning saves an afternoon: errors or zeros appearing further down usually mean a range was left unlocked. Lesson 68 locks VLOOKUP's table the same way.

Can lookups show which claims on a new loss run are missing from my log, and which have dropped off it?

Yes: one lookup in each direction does it, and The Complete Excel Course with AI Integration teaches the piece that makes the result readable. XLOOKUP's if-not-found argument (Lesson 69) returns your own words when a code has no match, so a lookup from the new loss run into your log marks every unknown claim New claim, and a lookup from your log into the loss run marks every claim it no longer lists Not on this run. Lesson 70 handles lookup errors in VLOOKUP and XLOOKUP formulas with IFERROR and a NOT MATCHED message, after changing one code on purpose to show how little it takes to break a match. Filter on the message and a reconciliation that used to mean a morning of scanning becomes a short list. COUNTIF (Lesson 36) then counts the claims in each group for your weekly note.

The claim number sits to the right of the policy number on our bordereau: which lookup can read leftwards?

XLOOKUP and INDEX with MATCH both can, and The Complete Excel Course with AI Integration teaches the two of them where VLOOKUP's limit shows. VLOOKUP looks only to the right of its first column, so a bordereau with the claim number in the middle and the policy number on the left defeats it unless the columns are rearranged. XLOOKUP (Lesson 69) takes a lookup column and a return column wherever each happens to sit. INDEX and MATCH (Lesson 71) split the job in two: MATCH finds the position of the claim number, with 0 for an exact match, and INDEX returns the value from any column at that position. The lesson builds it first on plain ranges, then on named tables, so the finished formula reads almost like a sentence. Either way, the bordereau stays exactly as it arrived.

A column was added to the loss run and my VLOOKUPs started returning the wrong figures: why?

Because VLOOKUP counts columns by number, and The Complete Excel Course with AI Integration breaks one on purpose so you never forget it. Lesson 68 inserts a column into its lookup table on purpose, and every result changes at once, turning to zero, because the column number inside the formula stayed put while the data moved. In a real loss run the inserted column may hold figures of its own, and then the wrong column's values come back looking entirely plausible next to each claim. XLOOKUP (Lesson 69) avoids the problem by pointing straight at the return column, so an inserted column leaves it untouched, and INDEX with MATCH (Lesson 71) is just as steady. Rebuild your key lookups that way and a change to the extract's layout stops being a risk to the figures you report.

A claim on my payment sheet shows #N/A although I can see it on the listing: what is going on?

Almost always the two codes are not quite the same, and The Complete Excel Course with AI Integration teaches you to find out why and to say so in the sheet. Lesson 70 changes a single department code so it no longer matches, and errors appear at once: one extra character is enough. Stray spaces are the usual cause in claims exports, and Lesson 22 clears them with TRIM, pasted back as values, with Find and Replace for second spellings. A claim number held as text on one sheet and as a number on the other fails too, and setting COUNT against COUNTA on that column (Lesson 35) brings the text entries to light. For the claims that genuinely have no match, XLOOKUP's own not-found answer or IFERROR puts a message where #N/A stood, which tells a reviewer far more.

A claim can carry a dozen payment lines: can a formula list them all, not just the first?

Yes, with FILTER, and The Complete Excel Course with AI Integration teaches it straight after the lookups. XLOOKUP and VLOOKUP stop at the first match, which is right for a reserve and wrong for a claim with several payments. FILTER (Lesson 76) returns every row that meets a rule, spilling them into as many cells as they need: point it at the payments listing with the claim number as the rule and the whole payment history appears, growing when a new payment is added. The lesson builds AND and OR conditions as well, so payments on one claim above a set amount, or payments on either of two claims, are a single formula. UNIQUE (Lesson 75) lists the distinct claim numbers of a listing beside it. Both are dynamic arrays, so they need a modern Excel.

Can a lookup match on policy number and loss date together when a claim number is missing?

Yes: fuse them into a single matching key, and The Complete Excel Course with AI Integration shows how that fusing is done. Lesson 72 combines columns with CONCAT, the ampersand and TEXTJOIN, the last with a separator of your choice between the parts. Build that key in both listings, policy number and loss date with a separator between them, and XLOOKUP (Lesson 69) matches on it exactly as it would on a claim number. The lesson joins first and last names; the method is the same for any pair of columns. Where you would rather not add a column at all, FILTER with two conditions multiplied together (Lesson 76) returns the rows that meet both. Either way, a notification that arrived without its claim number can still be tied to the claim it belongs to.

Our claim references pack the class of business and the branch into one code: can formulas split them out?

Yes, with LEFT, RIGHT and MID, which The Complete Excel Course with AI Integration teaches on a code built the same way. Lesson 73 takes position codes that pack a location, a department and a sequence number into one cell and pulls each part into a column of its own: LEFT counts in from the first character, RIGHT back from the last, and MID starts wherever you tell it and takes as many characters as you ask. A claim reference that opens with a class code and carries a branch code in the middle splits the same way, and the new columns become things you can filter, count with COUNTIF or look up against a table of class and branch names with XLOOKUP. The lesson ends by turning the sheet into a formatted table, so the split columns stay with their rows.

Can I ask Copilot to write the lookup between the loss run and my claims log, and trust what it writes?

You can ask, and The Complete Excel Course with AI Integration teaches you how to check the answer before it touches a claim. In Lesson 95 Copilot and ChatGPT write formula columns on sales data, and every formula is read before it goes in and tested on a row worked out by hand. A lookup drafted for you needs the same three checks this page makes second nature: is the range locked, is the match exact, and what comes back for a claim number that is not there. Lesson 99 adds a checklist for anything an AI returns, and Lesson 104 has Claude repair a broken formula column inside Excel. The lookup lessons are what let you read an AI's formula in seconds, instead of hoping it is right on reserves that matter.

How much study before I can reconcile next month's loss run with lookups?

About 1 hour 3 minutes for the whole of this page, with the core lookups at its centre. In The Complete Excel Course with AI Integration VLOOKUP, XLOOKUP, IFERROR and INDEX with MATCH run from Lesson 67 to Lesson 71, each short and built on the PeopleInsight HR workbook, and with them a reconciliation of two listings by claim number is within reach. The clean-up lessons before them and FILTER after them make the result dependable on real extracts. Lesson 78 then sets a lookup challenge to solve before the solution is shown, the honest test of whether you can do it unaided. The workbook comes with a finished version to check against, lifetime access keeps every lesson open for the day a new extract layout arrives, and completing the course brings a Certificate of Completion whose verification link an employer can follow.

Can a claims assistant who has never written a lookup start with these lessons?

Yes, and The Complete Excel Course with AI Integration makes sure the ground is ready first. Lesson 67 opens by explaining why lookups matter before any is written: related facts sit in separate tables, copying between tabs is slow and invites mistakes, and a shared code such as an ID lets Excel join them across thousands of rows. VLOOKUP then arrives one argument at a time, with FALSE for an exact match explained in plain words. The lessons are short, and several make a real mistake on screen, the unlocked range or the broken code, so you meet the failures in practice before they happen at work. If formulas themselves are new to you, the course's opening formula lessons, from Lesson 8, bring you up to speed before this page's path begins.

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.