The Complete Excel Course with AI Integration

XLOOKUP and VLOOKUP for paralegals

A paralegal's lists rarely sit on one sheet: the privilege log needs dates from the production index, the exhibit list needs descriptions from the case tracker, and the invoice check needs rates from the rate sheet. The Complete Excel Course with AI Integration teaches the lookups that join them on an industry-standard project, and this page picks out its lessons in order: clean keys, VLOOKUP, XLOOKUP, IFERROR, INDEX and MATCH, and the text functions that build and cut codes.

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 a document's date, author and designation into a privilege log or exhibit list from the master index with XLOOKUP, matched exactly on the Bates number.
  • Read and repair the VLOOKUP formulas in older firm templates and files from other parties, with FALSE for an exact match and the table range locked.
  • Label every reference that has no partner on the other list, with XLOOKUP's if not found argument or IFERROR round a VLOOKUP, instead of a wall of #N/A.
  • Match on a reference that sits in the middle of a court or e-discovery export with XLOOKUP or INDEX and MATCH, so no column has to be moved first.
  • Split a matter number into its client and practice parts with LEFT, RIGHT and MID, and join two columns into one key with CONCAT or the ampersand.
  • Make every lookup dependable by trimming stray spaces and removing duplicate references before the first formula is written.

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 over several sheets, it is where VLOOKUP, XLOOKUP and INDEX with MATCH fetch names and details by a shared ID, and where codes are cut apart and joined: the moves that bring a document's date, author and designation into an exhibit list from the master index.

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

    Built as a company's employee list, it is where duplicate IDs are found and removed and stray spaces trimmed away, so the key a lookup reads appears once and in one form, as every Bates number on a log must.

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, 53 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 write formulas and know what a locked reference is: the lookups begin there. If your logs have never been cleaned, take Lesson 22 and Lesson 23 first, since a stray space or a repeated reference undoes any lookup. Formulas still new? Lesson 8 to Lesson 10 give you the arithmetic and the locked reference a lookup relies on, and Lesson 1 starts from the empty Excel window.

10 of 186 lessons · 53 min

03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) 2 of 9 lessons · 19 min Keys that match before any lookup is written: TRIM and Paste Special values clear the stray spaces that make two identical references differ, Find and Replace mends second spellings, and duplicate rows are found and removed so each ID stands once, the way each Bates number must.
  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 workbook: why related sheets need joining, VLOOKUP with an exact match and a locked table, XLOOKUP with exact match, its own if not found message and a two-way lookup, IFERROR for lookup errors in VLOOKUP and XLOOKUP formulas, and INDEX with MATCH for keys that sit in the middle of an export.
  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 Building and cutting keys: CONCAT, the ampersand and TEXTJOIN join names or details into one line, and LEFT, RIGHT and MID take a code apart, such as the client and practice parts of a matter number or the prefix of a Bates range.
  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 · 3 min A challenge that fills an empty orders sheet from a products sheet with XLOOKUP, works out each total and rebuilds every reference in a set style with a text prefix: an exhibit list filled from a master index, in rehearsal.
  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.

Paralegals cross-check Bates numbers, exhibits and billing rates between sheets: is XLOOKUP all they need, or does VLOOKUP still earn its place?

The Complete Excel Course with AI Integration from Coding Liquids teaches both, because a paralegal meets both. XLOOKUP is the one to write on your own files: it looks left or right, names the column it returns and carries its own message for a reference that is not there (Lesson 69). VLOOKUP fills the older templates a firm inherits and the files that arrive from other parties, and it opens in any Excel (Lesson 68). INDEX with MATCH and IFERROR complete the set (Lesson 70, Lesson 71). All of it is taught on the PeopleInsight HR workbook, an industry-standard project designed after talking with people from many different industries, where details on one sheet are fetched by a shared ID from another, exactly what a Bates number, an exhibit reference or a timekeeper's initials do on your logs. The 10 lessons picked out here, 53 minutes of video, run from clean keys to a challenge that fills a whole sheet by lookup.

Can XLOOKUP bring a document's date, author and designation from the production index into the privilege log?

Yes, and The Complete Excel Course with AI Integration teaches the exact pattern in Lesson 69. The lesson matches a code on one sheet against a lookup table on another and brings back four details for every row by copying one formula across and moving its return column each time. It also shows the slip that catches people when a formula is copied sideways: the lookup cell drifts one column right with it and has to be set back. Your version matches each Bates number on the privilege log against the production index and returns its date, author and confidentiality designation, an exact match throughout. Lock the index range first, as the lesson does with F4, and the formula fills down a log of any length. The lessons use HR records; a discovery log is matched the same way, and the log updates whenever the index is corrected.

Can a lookup check each timekeeper's billed rate against the firm's rate sheet before invoices go out?

Yes, with a lookup and one comparison, both taught in The Complete Excel Course with AI Integration. Lesson 68 uses VLOOKUP with FALSE for an exact match to fetch a name and a second detail by code from another sheet, and shows the two faults that matter on a rate sheet: a table range left unlocked, which returns errors lower down, and a column inserted into the table, which points VLOOKUP at the wrong one. Fetch each timekeeper's standard rate beside the billed rate, and an IF comparison (Lesson 29) marks every line where they differ. Where the rate sheet is a grid, timekeepers down the side and matter types across the top, the two-way lookup in Lesson 69 reads the value where row and column meet. The lessons look up employee details by department code; rates keyed by timekeeper initials work the same, and the check is done before a single invoice leaves the firm.

Can I fill an exhibit list or trial binder index from the master case tracker without retyping a line?

Yes: type the exhibit number once and let lookups fill the rest. The Complete Excel Course with AI Integration builds that shape in Lesson 78, a challenge with an empty orders sheet and a products sheet holding the details: XLOOKUP fills each order's product name and its per-unit figure, a formula works out the total, and each order ID is rebuilt in a set style by joining a text prefix to it. On your binder index, the exhibit number fetches its description, date and witness from the master tracker, and a prefix such as PX turns a bare number into the label the court will see. Lesson 72 adds CONCAT, the ampersand and TEXTJOIN, which join a deponent's first and last names, or several details, into one line with a separator. The whole index then follows every correction made to the tracker, so the two never drift apart.

My VLOOKUPs return #N/A on matter numbers that are plainly on the other sheet: will the course show me why?

Yes, and the causes are few once you know them. The Complete Excel Course with AI Integration shows each where it bites. An unlocked table range is the commonest: the formula is right in the first row and fails lower down, which Lesson 68 fixes with F4. A stray space or one extra character in a code breaks the match, as Lesson 70 shows by changing a single code, and Lesson 22 clears spaces with TRIM. A matter number held as text on one sheet and as a number on the other will not match either, and COUNT set beside COUNTA (Lesson 35) shows which cells hold text. Capitals are never the culprit: a lookup reads ABC and abc as the same code. VLOOKUP also needs FALSE for an exact match (Lesson 68); without it, it can return a neighbouring entry instead of an error, the most dangerous result on a legal list.

Can the lookup itself list the Bates numbers that are missing from the production index?

Yes: give the lookup a message for no match, then filter on it. In Lesson 69 of The Complete Excel Course with AI Integration, XLOOKUP's own if not found argument returns a word of your choosing instead of #N/A, and Lesson 70 wraps VLOOKUP in IFERROR to show NOT MATCHED, because a message tells whoever reviews the file what went wrong where a raw #N/A tells most people nothing. Write Not in index as that message and every privilege log entry without a partner in the production index labels itself. A filter on that column (Lesson 21) leaves only the gaps on screen, and COUNTIF (Lesson 36) puts their number at the top of the sheet for the supervising lawyer. Run it the other way, index against log, and you also catch documents produced but never logged: the same formula, with the two lists swapped.

Court and e-discovery exports put the reference number in a middle column: which lookups can reach the columns to its left?

XLOOKUP and INDEX with MATCH both reach them, and The Complete Excel Course with AI Integration teaches the pair beside VLOOKUP. VLOOKUP reads only to the right of the column it searches, so with the reference in the middle of an export it cannot reach the columns to its left, and because it counts columns by number, a column inserted into the export points it at the wrong one (Lesson 68). XLOOKUP looks left or right and names its return column directly, so an inserted column leaves it unharmed (Lesson 69). INDEX with MATCH lifts the same limits in every Excel: MATCH finds the row's position and INDEX returns the value from whichever column you name (Lesson 71), and that lesson names both tables first so the formula reads clearly to the next person. Exports change shape without warning; with these two, nobody rearranges columns before a lookup runs.

Our matter numbers pack a client code and a practice area into one string: can I look each part up?

Yes: cut the code apart with text functions, then look each piece up. Lesson 73 of The Complete Excel Course with AI Integration works on a code of exactly that kind, three facts packed into one cell and split by hyphens: LEFT takes the first characters, RIGHT the last, and MID a stretch from the middle, given where it starts and how long it runs. On a matter number, LEFT gives the client code, MID the practice area and RIGHT the running number, each in its own column. XLOOKUP then turns the client code into the client's name from your client list (Lesson 69), and the practice area into the team responsible. Because the pieces are formulas, every new matter is split and named the moment its number is typed. The lesson's codes belong to employees; any reference built to a fixed pattern, Bates prefixes included, splits the same way.

When a row is identified only by a client and a matter number together, can XLOOKUP still find it?

Yes, by giving the lookup one key made of both, and The Complete Excel Course with AI Integration teaches each piece. Join the client and the matter number into one value with the ampersand or CONCAT (Lesson 72), build the same joined key in the list you search, and XLOOKUP matches it like any single code (Lesson 69). When the answer you need is a count or a total rather than a detail, SUMIFS and COUNTIFS take several conditions directly, hours for one client and one matter in one cell (Lesson 37). When every matching row should come back, say each hearing for one witness, FILTER with AND criteria spills them all (Lesson 76), a dynamic array function that needs a modern Excel. Between them, those three routes handle every two-condition question a paralegal's lists are likely to raise, from conflict lists to hearing schedules.

Files go out to clients and co-counsel on all kinds of Excel: which lookup travels safely?

VLOOKUP and INDEX with MATCH travel everywhere, and The Complete Excel Course with AI Integration teaches them beside XLOOKUP for exactly that reason. XLOOKUP needs a modern Excel, as the course overview says plainly at the start (Lesson 2), so a formula that works on your screen can fail on a recipient's older copy. For a workbook leaving the firm, VLOOKUP with an exact match (Lesson 68) or INDEX and MATCH (Lesson 71) is the safe choice, while on your own trackers XLOOKUP's flexibility and its built-in message for a missing match win. Where a file only has to be read, not recalculated, pasting the results as values settles the question altogether, a move taught with Paste Special in Lesson 22. Knowing all three is what lets you choose per file, instead of hoping the other side's Excel copes.

I have never written a lookup: which should a paralegal learn first?

Learn them in the order The Complete Excel Course with AI Integration teaches them, and XLOOKUP will feel easy by the time you reach it. Lesson 67 sets out the problem first: related details spread across several sheets, which copying and pasting only makes slower and riskier. VLOOKUP comes next (Lesson 68); it is the one you will meet in older firm templates, and it makes the idea of a lookup table plain. XLOOKUP follows (Lesson 69), naming its return column directly with no column number to count, which is why most people find it the easier of the two to write. Before any of it, the locked reference from Lesson 10 matters most, because an unlocked lookup table is a beginner's first fault. With the PeopleInsight starter file open beside the videos, you write each formula as it is taught, then check it against the finished workbook.

Could Copilot or Claude match my privilege log to the production index for me?

Yes: both work inside the workbook, and The Complete Excel Course with AI Integration teaches you to prove what they write before the log goes anywhere. In Lesson 104, Claude in Excel calculates in a cell you choose and repairing a broken column, with a permission prompt before each change; in Lesson 95, Copilot writes formula columns into a table and every one is read before it is kept. A lookup drafted that way passes the tests you would set your own: check a handful of Bates numbers by hand, count the not-found rows against what you expect, and read the formula for an exact match. Lesson 99 turns those habits into a short checklist. Because you will have written XLOOKUP yourself first (Lesson 69), a wrong draft is obvious on sight, and a right one saves you an afternoon.

The same two exports arrive every week: is there a way to match the whole table at once?

Yes: Power Query's merge, which The Complete Excel Course with AI Integration teaches as the lookup for data that keeps coming back. Lesson 163 merges a sales query with product and region tables on their codes, using a left outer join that keeps every row of the first table and brings matching names in beside it. Swap in your weekly e-discovery export and the master production index, and every row of every future export is matched at a refresh, with no formula filled down. A row with no partner comes back blank, and Lesson 168 makes checking for those blanks a habit before anything is reported. Power Query is built into Excel, on the Data tab, and these lessons use no Windows-only tool. For a one-off list, XLOOKUP stays the quicker choice; for an export that returns every week, the merge does the matching for you.

How much of the course stands between me and an exhibit list that fills itself from the master index?

About 53 minutes, the length of the lessons on this page. The Complete Excel Course with AI Integration gets you there in a straight line: clean keys with TRIM and duplicate removal, then VLOOKUP, XLOOKUP with its if not found message and two-way lookup, IFERROR, INDEX and MATCH, the text functions that build and cut codes, and a challenge that fills an empty sheet from another with no help. At the end you hold the PeopleInsight workbook with departments, HR partners and locations pulled in for every employee and codes split into their parts, plus the completed challenge sheet, each checked against a finished file. Rebuild the same formulas on your own master index the next day and the exhibit list follows. Lifetime access keeps the lessons open for the next shape of export, and completing the course earns a Certificate of Completion with a link an employer can check.

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.