The Complete Excel Course with AI Integration

XLOOKUP and VLOOKUP for insurance underwriters

Every quote starts with a lookup: a class's base rate, a territory's loading, the broker behind a code. A VLOOKUP that slips one column quotes the wrong figure without a warning. The Complete Excel Course with AI Integration teaches lookups on industry-standard projects, and here are the lessons a rating sheet and a bordereau call for: XLOOKUP, VLOOKUP, INDEX and MATCH, IFERROR, combined keys, FILTER and a Power Query merge.

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:

  • Pull each class code's base rate from the rate table with an exact-match XLOOKUP that keeps working when someone inserts a column in the table.
  • Read a loading from a grid with classes down the side and territories across the top, through a two-way XLOOKUP or through INDEX with MATCH.
  • Send a class missing from the rate table to referral with a message of your own, through XLOOKUP's if-not-found answer or IFERROR.
  • Read and repair the VLOOKUP formulas in inherited rating sheets: the column number, FALSE for an exact match and a table range locked before filling down.
  • Join class and territory into one lookup key with CONCAT or the ampersand, and take the codes packed into a policy number apart with LEFT, RIGHT and MID.
  • List every policy of one broker, or every risk in a pair of territories, with FILTER and conditions joined by AND or OR.
  • Name the broker and class on every row of a monthly bordereau with one Power Query merge, then spot any code the merge could not pair while the figures are still on your desk.

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 HR records spread across several sheets, it puts VLOOKUP, XLOOKUP and INDEX with MATCH side by side on the same codes, so you watch which one survives an inserted column, which needs IFERROR and which reads in either direction: the judgement every rate table asks of you.

  • Project 12

    SalesFusion

    A sales report that refreshes itself from a folder of files.

    Made on a folder of sales files, its merge step does a lookup for an entire bordereau in one pass: each code paired with its name through a left outer join, no line lost, and a blank left wherever a code is new, repeated for each month's file when you refresh.

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

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, 44 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 IF and SUMIFS are already part of your week: the PeopleInsight workbook is downloaded there, and the lookups build on the habit of locking a range. Never locked a reference before? Take Lesson 10 ahead of them; complete beginners open the course at Lesson 1. Fluent in VLOOKUP already? Go to Lesson 69 for XLOOKUP's two-way lookup and if-not-found answer, then on to Lesson 71 for INDEX and MATCH.

10 of 186 lessons · 44 min

08 Advanced Excel functions: lookups, text and arrays 5 of 12 lessons · 21 min The three lookups on one HR dataset, so their strengths show side by side: why lookups beat copying between tabs, VLOOKUP with an exact match and a locked table range, XLOOKUP with its if-not-found answer and a two-way lookup, IFERROR in place of raw errors, and INDEX with MATCH for a lookup in any direction. The codes are departments and locations; on a rating sheet they are classes and territories.
  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 Keys and codes: CONCAT, the ampersand and TEXTJOIN join fields into one value, and LEFT, RIGHT and MID take a code such as DAL-SAL-0001 apart by position. A class and territory joined into a single key, or a scheme code read out of a policy number, is this exact work.
  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 1 of 12 lessons · 5 min FILTER, the lookup that returns every match: rows picked by one condition, then by two joined with AND or OR, spilling a list that updates itself. On a book of business that means every policy of one broker or every risk in two territories. FILTER needs a modern Excel.
  1. 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 The challenge, solved alone before the solution: XLOOKUP between a products sheet and an orders sheet for the name and the per-unit figure, a total of that figure times quantity, and an ID rebuilt with a text prefix. It is a rating sheet in miniature: a code looked up and its figure multiplied.
  1. 78 Excel Ninja Challenge XLOOKUP, totals and text concatenation lookup challenge 3 min
15 SalesFusion: advanced data tools and a Power Query modelling system 1 of 21 lessons · 5 min A lookup done for a whole file in one go: a Power Query merge pairs product and region codes with their names through a left outer join, so not one row is dropped. For a bordereau, that means broker and class names on every line, set up once and repeated on each month's file.
  1. 163 Merge queries in Power Query Look up product and region names with a left join 5 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.

A wrong base rate means a wrong quote: is XLOOKUP or VLOOKUP the safer lookup for an insurance underwriter?

The Complete Excel Course with AI Integration from Coding Liquids teaches both, and it makes XLOOKUP your default for rating while keeping VLOOKUP in your hands for older files. On the PeopleInsight HR workbook, an industry-standard project designed after talking with people from many different industries, you watch the difference happen: VLOOKUP's results turn to zeros once a column is inserted in its table (Lesson 68), while XLOOKUP points straight at the column it returns and carries on unharmed (Lesson 69). XLOOKUP is also set to an exact match and answers a missing code with words you choose, so an unrated class can never borrow a neighbour's rate. Across 44 minutes, the 10 lessons picked out here add INDEX and MATCH, IFERROR, combined keys, FILTER and a merge for whole bordereaux, every way an underwriter fetches a figure.

Our rate tables change every renewal season: when should I write XLOOKUP, and when is VLOOKUP still fine?

Write XLOOKUP for anything new or anything that changes, and The Complete Excel Course with AI Integration shows exactly why. A rate table gains columns as factors are added, and Lesson 68 proves the risk: VLOOKUP counts columns by number, so one inserted column shifts every result it returns. XLOOKUP in Lesson 69 names its return column directly and searches left or right, so a table reshaped at renewal does not move it, and a code column that sits on the right is no obstacle. VLOOKUP stays useful in two places: reading the formulas already in old rating sheets and broker files, and in a workbook that must open in an older Excel, since XLOOKUP needs a modern one, as the course notes. INDEX and MATCH (Lesson 71) gives the same freedom of direction for those files.

Our territory loadings sit in one class-by-territory table: will a two-way XLOOKUP or INDEX and MATCH fetch the right loading?

Yes: the two-way lookup is in the title of Lesson 69, and The Complete Excel Course with AI Integration gives you a second route to the same grid in Lesson 71. XLOOKUP's two-way lookup finds the row for the class and the column for the territory and returns the loading where they meet, so a whole rating grid is read by one formula instead of a column of formulas per territory. INDEX and MATCH supplies the parts of the same job: INDEX returns the value at a row and column you give it, and MATCH returns the position of a code, with zero asking for an exact match. Combine them and the grid reads in any direction. The lesson works on location and department codes, and your class and territory codes behave the same way, provided each heading is spelled exactly as the formula asks.

What should my rating sheet show when a submission's class code is not on the rate table?

A message that sends it to referral, and The Complete Excel Course with AI Integration teaches two ways to write one. XLOOKUP carries its own if-not-found answer (Lesson 69): the lesson returns a short note where a code has no match, and on your sheet that note can read Refer, class not rated, so an unknown class stops the quote instead of quietly showing nothing. Lesson 70 handles lookup errors in VLOOKUP and XLOOKUP formulas with IFERROR, after changing one code so it no longer matches and watching the errors appear, then replacing them with NOT MATCHED. Count the messages with COUNTIF (Lesson 36) and you know at once how many submissions this week fell outside the classes you rate. A clear refer note protects the book; a raw #N/A tells a reviewer nothing.

Can I swap the VLOOKUP formulas in an inherited rating workbook for XLOOKUP?

Yes, column by column, and The Complete Excel Course with AI Integration gives you everything the swap needs. First read what the old formula does: Lesson 68 takes VLOOKUP apart into its lookup value, its table, the column number it returns and FALSE for an exact match, so a formula someone else wrote stops being a black box. Then write the XLOOKUP beside it (Lesson 69), pointing at the same return column by range rather than by number. Fill both down and compare them row by row before the old column goes, which is the same check-against-a-known-answer habit the course applies to every AI result. Keep the VLOOKUP version wherever a broker or a colleague opens the file in an older Excel. The rating sheet you hand on is then sturdier than the one you inherited.

Why do my lookups return errors or zeros halfway down a broker file?

Four slips account for it, and The Complete Excel Course with AI Integration shows each one happening. An unlocked table range is the commonest: fill a lookup down without pressing F4 and the table slides with it, so lower rows miss (Lesson 68, Lesson 69). A column inserted into the table moves every VLOOKUP result (Lesson 68). An at sign in a table reference takes only the current row's value, which breaks a lookup that needs the whole column (Lesson 78). And a code with one extra letter finds no match (Lesson 70), nor does one with a trailing space, which TRIM clears (Lesson 42). Once you can name the slip, the fix is a keystroke, and a broker file that half works becomes one you trust from the first row to the last.

Can a lookup match on class and territory together, or on any two fields at once?

Yes, by three separate routes, each one taught in The Complete Excel Course with AI Integration. Join the two fields into one key with CONCAT or the ampersand (Lesson 72), build the same key in the rate table, and XLOOKUP matches the pair in a single step (Lesson 69); a separator between the parts keeps one class and territory pair from running into another. When the rates sit in a grid, the two-way lookup reads the class down the side and the territory across the top without any key at all. And when you need every row that meets both conditions rather than one value, FILTER joins them with AND (Lesson 76). The lessons join first and last names and filter employees by status and level; the method is identical on policies.

Can LEFT, RIGHT and MID pull a scheme or territory code out of a policy number so I can look it up?

Yes, and The Complete Excel Course with AI Integration teaches all three on a code built much like a policy number. In Lesson 73 a position code such as DAL-SAL-0001 packs a location, a group and an ID into one cell: LEFT reads the first three characters, RIGHT the last four, and MID takes a set length from a set starting point, the S of SAL at position five. Policy numbers often pack a scheme, a branch or a class prefix in the same way, so one formula column turns them into codes a lookup can use, filled down the whole book with a double-click on the fill handle. Feed that column to XLOOKUP (Lesson 69) and every policy carries its scheme name or territory factor without anyone retyping a code.

XLOOKUP stops at the first match: how do I list every policy one broker has with us?

With FILTER, which The Complete Excel Course with AI Integration teaches as the formula that returns every match. Lesson 76 picks rows by one condition, then by two: the asterisk joins conditions with AND, the plus sign joins them with OR, and the result spills into as many rows as it needs, updating itself when the data changes. On your book that is every live policy for one broker before a broker review, or every risk written in either of two territories. Lesson 75 adds UNIQUE for the list of distinct brokers or classes a file holds, and the spilled results must sit outside the table so they have room. Both need a modern Excel. Where XLOOKUP answers what is the rate for this class, FILTER answers which risks match this description.

Can a lookup put the broker's name on every row of a monthly bordereau?

Yes, by a formula within one sheet or by a merge across the whole file, and The Complete Excel Course with AI Integration covers each. Inside a sheet, XLOOKUP filled down the code column does it (Lesson 69), with the table range locked so the last row is as right as the first. For a file that arrives every month, a Power Query merge handles the whole file in one pass (Lesson 163): the bordereau is paired with a table of broker codes through a left outer join, so no line is dropped and a name appears wherever its code is known. When next month's file lands, the merge repeats itself and nobody fills a formula down again. Lesson 168 adds the check that makes it safe, a look for empty values after each merge, so an unknown broker code is caught before any premium total leaves your desk.

If Copilot writes the XLOOKUP for my rate table, how will I know it returned the right column?

Because the lookup lessons teach you what a right lookup looks like, and The Complete Excel Course with AI Integration then has you check AI formulas against it. Lesson 95 has Copilot and ChatGPT draft formula columns, each read before it is inserted and one row worked through by hand, and Lesson 99 adds a checklist for every AI result. On a rate table the checks are the ones Lesson 69 drills: the lookup array is the code column, the return array is the rate column, the match is exact, and the ranges are locked so the last row works. Spot-check a handful of classes against the printed rate table and you are done. Copilot works inside Excel where your Microsoft 365 includes it; the ChatGPT lessons use a free account in its own window.

I mostly key in submissions: can I learn lookups from scratch with these lessons?

Yes, the section is built for a first lookup. The Complete Excel Course with AI Integration opens it with Lesson 67, which explains why lookups exist before you write one: related facts sit in separate tables, and copying between tabs is slow and invites mistakes. Each lesson after that is short and adds one idea on the same workbook, from a first VLOOKUP to INDEX and MATCH, so nothing arrives without the step before it. The one habit you need first is the locked reference, taught in Lesson 10, and it is worth the few minutes. Practise on the PeopleInsight starter file, compare with the finished one, and by the challenge in Lesson 78 you write the lookups unaided, the moment the skill becomes yours rather than the video's.

Will these lessons carry over to my rate tables and broker files, or only to the course's HR data?

They carry over completely, because a lookup cares about a code and a column, never about what the rows describe. The Complete Excel Course with AI Integration teaches on HR records: department codes looked up in a department table, location codes in a location table, position codes split into parts. Your rate table is a lookup table of the same shape, the class code playing the department code, the base rate playing the department name. That is why the lessons choose a dataset spread over several sheets: it is exactly the problem of a submission on one sheet and its rates on another. The PeopleInsight HR workbook is an industry-standard project, designed after talking with people from many different industries, and its starter and finished files let you test each method before it touches a live quote.

How soon can I have a rating sheet that finds every rate by itself?

About 44 minutes for the whole route, and much sooner for the rating sheet itself. By the end of Lesson 69 in The Complete Excel Course with AI Integration you can fetch a base rate with an exact-match XLOOKUP, read a two-way grid and answer an unknown class with a refer message, which is the core of a working rating sheet. IFERROR and INDEX with MATCH come straight after, then keys, code extraction and FILTER, and the challenge in Lesson 78 proves you can do it without the video. The merge for whole bordereaux closes the route. Lifetime access keeps every lesson to hand when a new factor table arrives, and the Certificate of Completion you earn at the end carries its own link for your manager to verify.

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.