The Complete Excel Course with AI Integration

XLOOKUP and VLOOKUP for research coordinators

Every log a study site keeps is tied together by the subject ID: the screening log, the randomisation list, the visit tracker, the stipend sheet. The Complete Excel Course with AI Integration teaches the lookups that join them on PeopleInsight, its industry-standard HR workbook, and the lessons chosen here run from VLOOKUP and XLOOKUP to IFERROR, INDEX and MATCH, the text functions that repair mismatched IDs, and FILTER for every row a subject has.

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 each participant's cohort, randomisation date and consent date into any tracker by subject ID with XLOOKUP, held to an exact match.
  • Mark screened participants missing from the randomisation list with XLOOKUP's own not-found text, and the gaps in a VLOOKUP sheet with IFERROR.
  • Turn the initials on source documents into names and delegated roles from the delegation log with VLOOKUP, and flag initials the log does not list.
  • Read a visit's day offset and window from the protocol's schedule table, and whether a procedure is due at a visit from the schedule of assessments grid with a two-way lookup.
  • Match EDC subject numbers to a site log by joining codes with CONCAT or the ampersand and splitting them with LEFT, MID and RIGHT.
  • List every open query or adverse event for one participant with FILTER before their visit.
  • Read and maintain the INDEX and MATCH formulas in inherited trackers, and keep the VLOOKUPs in sponsor templates from breaking when columns move.

Projects

What you will build.

The course has 14 industry-standard projects. This one matters most here.

  • Project 06

    PeopleInsight HR workbook

    Employee data joined across sheets with one formula.

    Built for HR records, it gives a coordinator every lookup a study site needs in one workbook: an exact-match VLOOKUP, XLOOKUP with a not-found answer and a two-way lookup, IFERROR, INDEX with MATCH and the text functions that repair a key, all practised on staff and location codes before they touch a subject log.

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 9 of them, 39 min of video. Each lesson keeps its number in the course.

Where to start

Lesson 67 Lookup functions in Excel

Begin at Lesson 67 if your trackers already hold formulas such as SUM and IF: the section opens with the HR dataset and the case for joining sheets by ID. If locking a reference with F4 is new to you, spend a short while on Lesson 10 first, since every lookup range here is locked. Already at ease with VLOOKUP? Skip ahead to Lesson 69, where XLOOKUP and its not-found answer start. Never written a formula at all? The course's opening lessons, from Lesson 1, bring you up to this point.

9 of 186 lessons · 39 min

08 Advanced Excel functions: lookups, text and arrays 5 of 12 lessons · 21 min The lookups themselves, on PeopleInsight: why sheets joined by a shared ID beat copy and paste, VLOOKUP with FALSE for an exact match and its range locked with F4, XLOOKUP with its own not-found answer and a two-way lookup, IFERROR for the VLOOKUP that finds nothing, and INDEX with MATCH. Employee and department IDs in the lessons; subject IDs, visit codes and staff initials at a site.
  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 that do not match as they stand: CONCAT, the ampersand and TEXTJOIN to join parts into one code, and LEFT, RIGHT and MID to take a code such as DAL-SAL-0001 apart, the repair for a subject number written one way in the EDC export and another in the site's own log.
  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, for the question a lookup cannot answer: every row that matches, not only the first, with AND and OR conditions built in. It needs a modern Excel, and it turns a query log into one participant's list of open items.
  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 A challenge on an orders file: XLOOKUP for product names and per-unit figures, a total and an order code joined from a prefix, tried first and then checked against the solution file, so the method is proven before it meets a study log.
  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.

Can XLOOKUP and VLOOKUP keep a study site's screening, visit and stipend logs in step by subject ID, and which course teaches coordinators to write them?

Yes, all three logs and more, and The Complete Excel Course with AI Integration from Coding Liquids builds both lookups on the PeopleInsight HR workbook, an industry-standard project designed after talking with people from many different industries, where one ID joins several sheets just as a subject ID joins a site's logs. VLOOKUP with an exact match comes first (Lesson 68), then XLOOKUP, which looks in either direction, answers in your own words when an ID is missing and reads a grid both ways (Lesson 69). IFERROR (Lesson 70) and INDEX with MATCH (Lesson 71) complete the set, and FILTER lists every row for one subject. The 9 lessons picked out here take 39 minutes, and the result is a cohort, a consent date or a stipend total typed once in the master log and read everywhere else by formula, so a correction made in one place reaches every tracker that uses it.

Sponsor tracker templates often arrive built on VLOOKUP: should a coordinator still learn it, or go straight to XLOOKUP?

Learn both, because The Complete Excel Course with AI Integration shows exactly where each one fits. VLOOKUP runs in every Excel, so a template meant for many sites is likely to use it, and Lesson 68 teaches it properly: FALSE for an exact match, the table range locked with F4 before filling down, and the return column counted by number. That last detail is why such templates break. The lesson inserts a column into the lookup table and the results change to zero, the same fault that strikes when a revised template gains a column inside the range. XLOOKUP (Lesson 69) points straight at the column it returns, so an inserted column leaves it unharmed, and it searches leftwards as readily as rightwards. XLOOKUP itself belongs to a modern Excel, as the course says when it appears. Build new trackers with XLOOKUP, and read and repair VLOOKUP in the ones you inherit.

How do I bring each participant's cohort and randomisation date into the visit tracker without retyping them?

With one XLOOKUP per column, keyed on the subject ID, which The Complete Excel Course with AI Integration teaches in Lesson 69. The formula looks for the ID in the master subject log's ID column and returns the matching value from the column you point at; a 0 at the end asks for an exact match, so a participant never borrows a neighbour's date. The lesson fills four columns this way, city, state, region and work arrangement for every employee, by copying the formula across and moving the return range one column each time, with both ranges locked by F4 so the rows below stay correct. It also shows the slip to watch: the lookup value shifts when the formula is copied across, and resetting it is part of the method. The lessons look up locations by code; a cohort, a randomisation date and a consent date come across the same way, typed once and read everywhere.

Can a lookup show which screened participants never reached the randomisation list?

Yes: look each screened ID up in the randomisation list and let the misses name themselves. The Complete Excel Course with AI Integration gives XLOOKUP an answer of your own for an ID it cannot find (Lesson 69), so instead of #N/A the column reads Not randomised, and a filter on those words lists the screen failures in seconds. In a sheet built on VLOOKUP, Lesson 70 wraps the formula in IFERROR for the same effect: the lesson changes one department code so it no longer matches, watches the errors appear and replaces them with NOT MATCHED. Its reason suits a monitored site well, since a message tells whoever reviews the file what happened, where a raw #N/A tells most people nothing. Run the same lookup the other way round and you catch the opposite fault, a randomised ID with no screening record behind it.

Source documents carry staff initials: can a lookup turn them into names and roles from the delegation log?

Yes, with a plain VLOOKUP, the first lookup The Complete Excel Course with AI Integration teaches (Lesson 68). The delegation log becomes the lookup table, initials in its first column and name and delegated role in the next; VLOOKUP finds the initials and returns the name with column index 2 and the role with column index 3, exactly as the lesson brings in each employee's department name and HR business partner. FALSE keeps it to exact matches, so a near miss never borrows someone else's name. Wrap it in IFERROR (Lesson 70) with a message such as Not on delegation log, and the column flags any procedure signed by someone the log does not list, a finding far better spotted by you than by a monitor. The lessons use HR department codes; a delegation log has exactly the same shape, a short reference table read by a long list.

Can a lookup read each visit's target day and window from the protocol's visit schedule?

Yes: keep the protocol's schedule as a small table and let XLOOKUP read it, which The Complete Excel Course with AI Integration teaches in Lesson 69. A table of visit codes, each with its day offset and the days allowed either side, becomes the lookup table; the visit tracker looks up its visit code there and returns the offset, and a second XLOOKUP, copied across, returns the window. The baseline date plus that offset, the date arithmetic of Lesson 39, gives every visit a target date and an earliest and latest date without anybody counting days on a calendar. When an amendment changes a window, you edit one cell of the schedule table and every participant's dates move with it. The lessons look up locations and departments by code; a schedule of visit codes is the same kind of reference table, and keeping it in one place is the whole point.

Can a two-way lookup tell me whether a procedure is due at a given visit, straight from our schedule of assessments grid?

Yes, with the two-way lookup The Complete Excel Course with AI Integration teaches in Lesson 69. A schedule of assessments is a grid: procedures down the side, visits across the top, a mark where a procedure is due. A two-way lookup finds the row for the procedure and the column for the visit and returns what sits where they cross, so a checklist for Visit 4 can read whether vital signs, bloods or an ECG belong to it. Copied down a list of procedures, the formula builds the day's visit checklist straight from the grid, and when an amendment adds a procedure or a visit, the checklist reads the new grid with no formula rewritten. In an older Excel, INDEX with MATCH (Lesson 71) is the route, since INDEX reads a table by row and column number. The lessons run the two-way lookup on HR data; a protocol grid is made for it.

Our EDC export lists each subject number with the site code in front, while my log keeps site and participant number in separate columns: how do I match them?

Build the same key on both sides with the text functions The Complete Excel Course with AI Integration teaches in Lesson 72 and Lesson 73. On your log, CONCAT or the ampersand joins the site column, a hyphen and the participant number into one subject number, and TEXTJOIN does the same with a separator you set once. On the export, LEFT takes the site code from the front and MID or RIGHT takes the rest, as the lesson does when it splits a position code such as DAL-SAL-0001 into its location, department and number. Either way both files end up holding a key they share, and XLOOKUP (Lesson 69) can join them. One habit the lessons make plain: Excel adds nothing you did not ask for, so a hyphen or a space goes into the key on purpose, just as the lesson types the space between a first and a last name.

The central lab reports results by kit number: can a lookup attach each result to the right participant and visit?

Yes, in two steps that The Complete Excel Course with AI Integration teaches in Lesson 69 and Lesson 72. Your kit log already records which participant and which visit each kit number was used for, so XLOOKUP on the kit number brings both into the lab report sheet, one formula per column, copied across. With participant and visit beside each result, join them into one key with CONCAT or the ampersand, the subject ID, a hyphen and the visit code, and a second XLOOKUP files the result on the matching row of your visit tracker. A kit number missing from your log comes back with XLOOKUP's own not-found text instead of an error, so no result goes unfiled without you seeing it. The lessons join employee names and look up location codes; kit numbers, subject IDs and visit codes behave in just the same way.

Before a participant comes in, can I pull every open query and adverse event logged against them onto one sheet?

Yes, with FILTER, which The Complete Excel Course with AI Integration teaches in Lesson 76 for exactly the question a lookup cannot answer. XLOOKUP stops at the first match, so it would show one query when the participant has five; FILTER returns every row that meets its test and spills them below the formula. Type the subject ID into one cell, point FILTER at the query log with that ID as the condition, and the sheet lists every query against that participant; multiply two conditions together and only the open ones remain, or add them for an either-or test, the AND and OR logic the lesson builds. A second FILTER on the adverse event log sits beside it, and the pair becomes a pre-visit summary that refreshes the moment either log changes. As a dynamic array, FILTER asks for a modern Excel, and the course flags that as soon as it arrives.

Subject IDs typed by different staff no longer match each other: what does the course teach for cleaning them before a lookup?

Enough to make every key match, and The Complete Excel Course with AI Integration spreads it across a handful of lessons. Lesson 70 shows how little it takes to break a lookup, one extra letter in a code, and IFERROR names the rows that failed so you know where to look. The usual culprits are a stray space at the end of an ID, which TRIM removes (Lesson 22), and a missing or doubled hyphen, which Find and Replace or SUBSTITUTE fixes down a whole column at once (Lesson 43). An ID typed as a number on one sheet and held as text on another also refuses to match; COUNT set beside COUNTA on the ID column (Lesson 35) shows the cells holding text where a number should be. Capitals are never the problem, since lookups read SUB-014 and sub-014 as one ID. Once the keys are clean, the lookups simply work.

The senior coordinator who built our trackers used INDEX and MATCH everywhere: do I need to learn it too?

Yes, and The Complete Excel Course with AI Integration makes it straightforward in Lesson 71. MATCH finds the position of an ID in a column and returns a number, 2 for the second row; INDEX takes a table with a row and a column number and returns what sits there; nested together, they look up a value without VLOOKUP's limits, searching any column and returning from either side. The lesson first runs each function alone, so the pieces make sense, then names the tables on the Table Design tab and builds the full formula with the current row's ID, the form you will meet in a tracker built by someone experienced. Once you can read it, you can maintain it, and you can decide calmly whether a formula is worth rewriting as XLOOKUP in a modern Excel or better left as it is, working in every version your colleagues open.

Can I practise lookups without touching our live study trackers?

Yes: The Complete Excel Course with AI Integration gives you files built for practice, so nothing at the site is at risk while you learn. The PeopleInsight HR workbook comes as a starter file and a finished file, with employee records on one sheet and department and location tables on others, the arrangement a subject log shares with its schedule and delegation tables. Build each lookup on the starter, then compare it with the finished file. Lesson 78 then sets a challenge on a separate orders file: XLOOKUP for product names and per-unit figures, a total, and an order code joined from a prefix, attempted before the solution file is opened. When every answer matches, carry the method onto a copy of your own tracker, never the live one, and test it on participants whose details you know by heart before anyone relies on it.

How soon could the lookups be running on my site's logs, and who answers when my own file misbehaves?

Quickly: the lookup lessons on this page take 39 minutes, and the ones you can use at work the next day, VLOOKUP on a delegation log and XLOOKUP on the master subject log, come first, in Lesson 68 and Lesson 69. Practise on the PeopleInsight files, then move one lookup at a time onto copies of your own logs. When your file behaves differently from the lesson's, the instructor support plan of The Complete Excel Course with AI Integration lets you send the question to the instructor through the inbox under the lesson, and the reply comes in writing; the plan runs for two months, counted from when you turn it on, with Ask AI in every lesson for the same stretch. The lessons stay yours for good, ready for the next study whose logs are laid out differently, and completing the course brings a Certificate of Completion 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.