The Complete Excel Course with AI Integration

Date functions for clinical research coordinators

A study site runs to dates: consent, baseline, every protocol visit and its window, kit expiries, stipend deadlines and the cut-off of each enrolment report. The Complete Excel Course with AI Integration teaches the Excel date functions behind all of them on industry-standard projects, set out below in the order a study meets them: date arithmetic and locked references, IF and IFS for windows, COUNTIFS between dates, TODAY, EOMONTH, NETWORKDAYS and TaskFlow.

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:

  • Turn a protocol's visit schedule into real dates for every participant: baseline plus each visit's day offset, weeks multiplied out into days, and each window's first and last allowed day beside the target.
  • Fill a whole calendar of participants against visits with one formula, the baseline column and the offset row each held in place by a mixed reference.
  • Label each completed visit Early, In window or Late with IFS, and test a kit's expiry against the participant's next visit before it is dispensed.
  • Keep live countdowns with TODAY: the days left in each screening period, the days since a participant's last contact, and the visits due before the month ends with EOMONTH.
  • Measure stipend payments and document deadlines in working days with NETWORKDAYS, with the days past due shown on anything late.
  • Report any period the sponsor names, the participants consented, randomised or withdrawn between two dates, with COUNTIFS, and group a log's dates into months and quarters in a PivotTable.
  • Show dates the way a sponsor's listings ask with custom formats, clear the hashes of a narrow column, and catch dates stored as text by setting COUNT beside COUNTA.
  • List the visits due in the days ahead with FILTER on two date conditions, soonest first with SORTBY.

Projects

What you will build.

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

  • Project 06

    PeopleInsight HR workbook

    Employee data joined across sheets with one formula.

    An HR workbook in the course whose date sheet puts TODAY, EOMONTH and NETWORKDAYS to work on three sample tasks: days until each deadline, the last day of the month it falls in and the working days it spans, the very answers a document expiry or a stipend deadline asks for.

  • Project 07

    TaskFlow

    One sheet that shows what is done, what is late and what is urgent.

    Built as a project tracker, it carries the deadline logic any site tracker needs: working days planned and left, days past due that rise each morning, overdue rows coloured by a formula rule, and a Gantt chart showing each task's start and length against the dates.

  • Project 05

    SalesPlusPerformance

    A sales question answered in seconds, straight from the order data.

    Order-level sales in the course, and the place to watch a PivotTable group dates by itself: a date column dropped into Rows splits into years, quarters and months and drills down to days with no helper column, which is how a screening log becomes a monthly or quarterly count.

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

  • Project 03

    Sales Goal Tracker

    A sales tracker in the course, and where your date work starts: days since each sale with TODAY, a follow-up date ten days on, a month flag from IF and MONTH, and COUNTIFS with two conditions on one date column, every one a move a visit schedule or an enrolment report makes too.

Lessons

The lessons that matter, in course order.

The Complete Excel Course with AI Integration has 186 lessons. This page picks out 27 of them, 2 h 22 min of video. Each lesson keeps its number in the course.

Where to start

Lesson 28 Logical functions in Excel

Already logging consents and visits in Excel? Start at Lesson 28: every window check is a comparison, and comparisons begin there, with the date functions themselves arriving at Lesson 39. Never built a formula? Open the course at Lesson 1 and join this path at Lesson 6, where dates get their formats. Writing IF and COUNTIFS already? Go straight to Lesson 39, then Lesson 74 and TaskFlow's deadline lessons from Lesson 82.

27 of 186 lessons · 2 h 22 min

01 Microsoft Excel fundamentals: building a foundation from scratch 5 of 13 lessons · 23 min The ground every date formula stands on, practised on a personal budget: date formats and the short date, the hashes a narrow date column shows, adding and subtracting with cell references, MAX, which on a column of dates finds the latest, and the locked and mixed references that let one formula fill a whole visit calendar.
  1. 6 Number formatting in Excel Currency, date and percentage formats for a budget 5 min
  2. 7 Cell formatting in Excel AutoFit column width, the #### error and cell styles 6 min
  3. 8 Basic maths in Excel Add, subtract, multiply and divide with formulas 3 min
  4. 9 SUM and AutoSum in Excel Total income, expenses and savings with MAX 6 min
  5. 10 Relative vs absolute references in Excel Dollar signs and mixed references 3 min
04 Essential formulas and functions (IF, SUMIF and more) 12 of 13 lessons · 1 h 9 min Comparisons and IF on a practice sheet of students' marks, then the Sales Goal Tracker: IF, nested IF and IFS for labels such as Early, In window and Late, AND and OR, COUNT beside COUNTA to expose dates held as text, COUNTIF and COUNTIFS with two conditions on one date column, Insert Function, and TODAY, NOW, MONTH and date arithmetic.
  1. 28 Start here Logical functions in Excel TRUE and FALSE comparisons for beginners 5 min
  2. 29 The IF function in Excel Pass or fail results with a single condition 3 min
  3. 30 IF function practice in Excel Categorise sales data with IF formulas 6 min
  4. 31 Nested IF and IFS in Excel Customer value tiers with nested IF 6 min
  5. 32 Nested IF and IFS in Excel Sales performance labels with the IFS function 5 min
  6. 33 AND and OR with IF in Excel Flag high-value deals with multiple conditions 8 min
  7. 34 SUM, COUNT and COUNTA in Excel SUM with FILTER and counting numbers with COUNT 7 min
  8. 35 SUM, COUNT and COUNTA in Excel COUNTA, unique counts and completeness checks 4 min
  9. 36 SUMIF and COUNTIF in Excel Conditional sum and count with one criterion 8 min
  10. 37 SUMIFS and COUNTIFS in Excel Sum and count with multiple criteria 7 min
  11. 38 The Excel function library Insert Function dialog and Formula AutoComplete 5 min
  12. 39 Date and time functions in Excel TODAY, NOW, MONTH and date arithmetic 6 min
07 PivotTables and PivotCharts: data analysis made easy 1 of 10 lessons · 4 min Dates grouped by a PivotTable into years, quarters and months, with a drill down to single days, so a screening or consent log gives its monthly and quarterly counts without a helper column. The lesson groups order dates; consent dates group the same way.
  1. 61 PivotTable summaries in Excel Sales by product category and grouping by date 4 min
08 Advanced Excel functions: lookups, text and arrays 1 of 12 lessons · 5 min TODAY, EOMONTH and NETWORKDAYS on a small sheet of HR tasks: days until each deadline, the last day of its month, working days from start to finish and a custom date format, three answers that carry straight over to expiries, report cut-offs and payment deadlines.
  1. 74 TODAY, EOMONTH and NETWORKDAYS in Excel Date calculations for HR data 5 min
08 Advanced Excel functions: lookups, text and arrays 2 of 12 lessons · 9 min FILTER with two conditions joined by the asterisk, which on a date column becomes every visit between today and a week ahead, and SORTBY, which the lesson uses to list staff by hire date and a coordinator uses to put visits soonest first. Both need a modern Excel.
  1. 76 FILTER function in Excel Dynamic array filtering with AND and OR criteria 5 min
  2. 77 SORT and SORTBY in Excel Sort data dynamically with formulas 4 min
09 Project: task automation with data validation and forms 6 of 9 lessons · 32 min TaskFlow's deadline machinery: formula rules that colour overdue and lagging tasks, a Gantt chart of each task's start and length against the dates, data bars and icons, NETWORKDAYS and TODAY for working days planned, working days left and days past due, a protected sheet so nobody types over a formula, and a test that proves the dates recalculate.
  1. 82 Conditional formatting in Excel Highlight overdue and completed tasks 8 min
  2. 83 Gantt chart in Excel Build a project timeline with conditional formatting 6 min
  3. 84 Data bars and icon sets in Excel Visual priority and progress in TaskFlow 6 min
  4. 85 NETWORKDAYS and TODAY in Excel Days remaining and task deadlines in TaskFlow 5 min
  5. 86 Protect a sheet and lock cells in Excel Secure the TaskFlow tracker workbook 4 min
  6. 87 Testing an Excel task tracker Stress test TaskFlow with sample data 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.

From consent to the final follow-up visit, can Excel's date functions work out every date a clinical research coordinator tracks, and which course teaches them?

Yes: the visit dates, windows, countdowns and period counts a site runs on, and The Complete Excel Course with AI Integration from Coding Liquids puts every one to work on industry-standard projects designed after talking with people from many different industries. Date arithmetic turns a baseline and the protocol's day offsets into target dates (Lesson 39); AND and OR inside IF, with IFS for labels, judge each visit against its window (Lesson 33, Lesson 32); TODAY, EOMONTH and NETWORKDAYS count the days and working days to every deadline (Lesson 74); COUNTIFS counts enrolment between any two dates (Lesson 37); and TaskFlow, from Lesson 82, shows a deadline tracker that recalculates each morning. Each of the 27 lessons on this path answers a date your site already keeps, and together they run to 2 hours 22 minutes. You build along on starter files and compare against the finished workbooks, so the method is proven before it touches your own tracker.

Can one formula fill in a whole visit calendar, every participant against every protocol visit, from the baseline dates?

Yes: one formula, copied across and down, once its references are locked the right way. Put participants in rows with their baseline date in one column, and the protocol's visits across the top with each visit's day offset in the row above. Each target date is the baseline plus the offset, and the mixed reference, taught in The Complete Excel Course with AI Integration in Lesson 10, lets a single formula serve the whole grid: the baseline column locked with its row free, the offset row locked with its column free, so every cell reads its own participant and its own visit. The lesson locks a tax rate on a budget; a schedule locks the same way. A visit given in weeks is the week number times seven, and two more grids, the offset less and plus the window, give each visit's first and last allowed day. Visits set in calendar months need EDATE, which no lesson teaches, so state them in days, as many schedules already do.

Screening has to finish within a set number of days of consent: can the log count down what each participant has left?

Yes, and the count moves on by itself every morning. The deadline is the consent date plus the screening period your protocol allows, plain date arithmetic of the kind The Complete Excel Course with AI Integration teaches in Lesson 39, and the days left are that deadline minus TODAY, the same subtraction Lesson 74 uses for the days until a deadline. Wrap it in IF (Lesson 29) so that a participant already randomised or screen-failed shows a blank instead of a countdown, and a formula rule from Lesson 82 colours the rows with only a few days to go. Once a deadline has passed, TaskFlow's Days Past Due column (Lesson 85) shows the other half: how far over it is. The same subtraction gives a participant's age in days at consent; age in completed years is a job for DATEDIF, which the course leaves out, so that check stays with the study team.

Before a kit is dispensed, can the sheet check it will still be in date at the participant's next visit?

Yes: it is one comparison of two dates, and Excel answers it TRUE or FALSE. The Complete Excel Course with AI Integration teaches comparisons in Lesson 28 on a practice sheet of students' marks, and they work identically on dates, because Excel stores every date as a number: an expiry date greater than the next visit's target date means the kit lasts. IF turns that answer into a label such as Use or Swap, and AND (Lesson 33) adds a second test where your pharmacy or the sponsor wants a margin of days before expiry. A formula rule (Lesson 82) then colours every kit in the log that would lapse first. When the next visit's date sits in the participant's schedule on another sheet, XLOOKUP by participant ID (Lesson 69) brings it alongside, so the check always reads the right person's date. Which kit goes to whom stays your site's procedure; the sheet makes a clash impossible to miss.

Can the tracker show which participants have gone longer than the protocol allows without a visit or a call?

Yes: a days-since column, a label and a list, all of which keep themselves current. In The Complete Excel Course with AI Integration, Lesson 39 subtracts a date from TODAY to show how many days have passed since it, switching the cell from a date format to a number so the answer reads as a count. Keep a last-contact date for each participant, subtract it from TODAY, and IF labels anyone past your protocol's limit Chase. COUNTIF (Lesson 36) counts how many need a call before the weekly team meeting, and FILTER (Lesson 76) lists them on a sheet of their own. Because TODAY moves on, a name joins the list on the day the gap passes your limit and leaves it the moment a new contact date goes in. Where contacts sit across a row, one column per attempt, MAX, met in Lesson 9, returns the most recent, since a later date is a bigger number.

Some target dates land on a Saturday or a Sunday, when the clinic is shut: can Excel flag them before the visits are booked?

Yes, with a function the course already puts in your hands. NETWORKDAYS counts the working days between two dates, taught in The Complete Excel Course with AI Integration in Lesson 74 and again in TaskFlow's Lesson 85; handed the same date as both start and end, it returns 1 for a weekday and 0 for a Saturday or a Sunday. Set that beside each target date, let IF (Lesson 29) turn a 0 into the word Weekend, and a formula rule from Lesson 82 colours those rows before a single visit is booked. The fix is then yours to choose inside the protocol: the window's first and last allowed days, worked out beside each target, show at once whether the Friday before or the Monday after still counts. The Custom box that shows a month's name in Lesson 39 can show the day's name beside each date too, so the whole schedule reads at a glance when you plan the clinic's week.

How many days does each site take, on average, to move a participant from screening to randomisation?

One subtraction per row and one division per site give the answer. Randomisation date minus screening date is each participant's interval in days, the date arithmetic of Lesson 39. For one site's average, The Complete Excel Course with AI Integration hands you two functions that combine neatly: SUMIFS (Lesson 37) totals that site's intervals, COUNTIFS counts its randomised participants, and the first divided by the second is the mean, with IFERROR (Lesson 12) keeping a site that has randomised nobody yet from showing a division error. AVERAGE (Lesson 14) gives the figure for the whole study. Lay the sites side by side and the slow one stands out at once; add a condition on the screening date and this quarter sits beside the last. Insert Function's search, shown in Lesson 38, also lists AVERAGEIFS, which reaches the same figure in one function once SUMIFS makes sense to you.

Participants should be paid within a set number of working days of each visit: can Excel show which payments are running late?

Yes: NETWORKDAYS counts the working days between two dates, and The Complete Excel Course with AI Integration teaches it twice, in Lesson 74 and again in TaskFlow's Lesson 85. For each completed visit still without a payment date, NETWORKDAYS from the visit to TODAY gives the working days the participant has been waiting. IF sets that beside your site's limit and labels the row Late or On time, and a COUNTIF of the Late labels hands the finance office one number to act on. TaskFlow's Work Days Left column gives the forward view, the working days still in hand before a deadline, falling to zero once it passes. Type the payment date when the money goes out and the row leaves the late count by itself. Weekends never count against the site, which is what separates a fair measure of a working-day promise from a raw subtraction of one date from another.

Can NOW stamp the moment each visit is entered in the log, or does it only show when the sheet last recalculated?

It shows when the workbook last recalculated, which makes it the right stamp for a report and the wrong one for a log. The Complete Excel Course with AI Integration presents NOW in Lesson 39 as a live timestamp that updates whenever the workbook recalculates: put it at the top of the enrolment summary as an as-of line and the sponsor knows exactly how current the figures are. A log's entry date must never move, so it is typed in as a value; a formula there would rewrite every row's date at the next recalculation. Where a date did come from a formula, copying the cells and pasting them back as values, taught in Lesson 22, freezes it for good. TODAY moves the same way, and that movement is what makes TaskFlow's countdowns work: Lesson 87 pushes a due date a day later and watches Days Past Due drop by one, proof that the column recalculates rather than sitting still.

The sponsor wants every date on our listings as day, month name and year: can Excel show them that way without retyping?

Yes, with a custom date format, and not a single date is retyped. The Complete Excel Course with AI Integration teaches each piece: Format Cells and the short date in Lesson 6, the MMM and MMMM codes that show a date's month as a short or a full name in Lesson 39, and a custom day-month-year pattern built under More Number Formats in Lesson 74. Combine them and a date reads as day, short month name and full year, the style sponsors favour because nobody misreads it, whichever country the reader is in. A format changes only what the cell shows: the date underneath stays a number, so every window, countdown and COUNTIFS keeps working. If the column fills with hashes after the change, it is simply too narrow, and AutoFit in Lesson 7 widens it. Where the date has to sit inside a label or a sentence, TEXT applies the same pattern within a formula, as FinanceGuard does for its month labels in Lesson 117.

Can I see how many visits each coordinator has falling due between today and the month end?

Yes: COUNTIFS with three conditions, one on the coordinator and two on the visit date. EOMONTH, taught in Lesson 74, returns the last day of a month; given TODAY, it returns the last day of this one, so the window runs from today to the month end and moves on by itself when the month turns. The Complete Excel Course with AI Integration teaches COUNTIFS with stacked conditions in Lesson 37, where two of them sit on one date column; add each coordinator's initials as the third, and a small table shows every person's load at a glance, ready for planning clinic days and cover for leave. FILTER (Lesson 76) turns the same three conditions into the list of visits behind each number, and SORTBY (Lesson 77) puts that list in date order, soonest first. Those two need a modern Excel; the count itself works in any copy.

When an amendment widens a visit window, will I have to rewrite every formula in the schedule?

One edit, to one cell, and every date follows: keep each window in a cell of its own instead of typing it inside the formulas. That is the design The Complete Excel Course with AI Integration teaches in Lesson 10, where a rate typed once in its own cell is locked into every row's formula, and in Lesson 8, where a formula built on references follows the moment a value changes. Keep a small visit schedule holding each visit's offset and window, point the calendar's formulas at it, and an amendment becomes one change instead of hundreds. Protect the formula cells as TaskFlow does in Lesson 86, so a colleague entering a visit date cannot type over a calculation by accident, and test the change the way Lesson 87 tests the tracker: alter one value and watch every dependent date move. Save a copy of the workbook as it stood before the amendment, too, so the old windows stay on file.

Our sponsor counts the baseline as Day 1 and has no Day 0: can a formula give every visit its study day the sponsor's way?

Yes: one subtraction, one added day, and an IF for anything dated before baseline. A study day is the visit date minus the baseline date plus one, so the baseline itself lands on Day 1, using the date arithmetic The Complete Excel Course with AI Integration teaches in Lesson 39, where one date taken from another gives the days between them once the cell shows a number. With no Day 0, a screening visit before baseline is the plain negative difference with nothing added, and IF, first practised in Lesson 29 on a sheet of students' marks, picks the right sum by comparing the visit with the baseline. Fill it down and every row carries its study day, counted the way the sponsor's own listings count, which heads off queries about a visit that only looks a day late. Check a few rows by hand against the protocol's schedule before you trust the column, the testing habit Lesson 87 builds into TaskFlow.

A monitoring visit is a fortnight away: which date lessons should come first, and what does the whole path take?

About 2 hours 22 minutes for the whole path, and the lessons that change a tracker before the monitor arrives come first. In The Complete Excel Course with AI Integration, Lesson 39 gives you TODAY, date arithmetic and readable day counts in one sitting; Lesson 74 adds EOMONTH and NETWORKDAYS; and TaskFlow's Lesson 82 and Lesson 85 turn them into coloured overdue rows and working days left, the first things a monitor's questions tend to reach for. Rebuild those on a copy of your own visit tracker and the overdue follow-ups and documents near expiry are on screen before anyone asks. The rest of the path, from locked references to COUNTIFS between dates, fills in over the following weeks. Every project comes with a starter file and a finished one to compare against, and when the whole course is done your Certificate of Completion arrives carrying a verification link for employers.

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.