The Complete Excel Course with AI Integration
Excel formulas for researchers, with examples
A study dataset is rarely ready for analysis: a score has to become a band, each participant has to meet the criteria, every condition needs its n, and a number column has to hold only numbers. The Complete Excel Course with AI Integration teaches the formulas behind that work on industry-standard projects, and the lessons gathered here are the ones a study leans on: references and percentages, IF and IFS with AND and OR, COUNT and COUNTA, COUNTIFS and SUMIFS, and error handling.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Derive new variables from raw entries with IF, IFS and nested IF: a score above or below a cut-off, an age band, a response grouped into categories, with TRUE as the final test so no value is left uncoded.
- Write inclusion and exclusion criteria as formulas with AND, OR and the not-equal sign, so every participant's row states whether it enters the analysis and COUNTIF totals the eligible.
- Report the n for each cell of a study design with COUNTIF and COUNTIFS, by arm, site and collection window, and turn each count into a share of the sample with a locked reference.
- Test a results column before analysis by setting COUNT against COUNTA, so readings typed as text, a note or a stray symbol among the numbers, surface before they bend a mean.
- Produce the means, totals and extremes of a descriptive table with AVERAGE, SUM, MAX and MIN, and a mean for every group as SUMIFS divided by COUNTIFS.
- Hold cut-offs, detection limits and conversion factors in one labelled cell that every formula reads through an absolute reference, so a revised protocol is one edit.
- Read #VALUE!, #NAME? and #DIV/0! for what they reveal about the data, and use IFERROR where a clear message should stand in place of a raw error.
- Find any function by its purpose through Insert Function's search and fill its arguments in the Function Arguments window, the statistical functions beyond the lessons included.
Projects
What you will build.
The course has 14 industry-standard projects. These three matter most here.
-
Project 01
Personal Budget Tracker
Your first workbook: where the money goes each month.
A household budget in the course, and the gentlest place to learn what a dataset leans on later: SUM and AVERAGE over a deliberately chosen range, MAX, a share of a locked total, and the error messages every new formula writer meets.
-
Project 14
Agentic AI in Excel
AI finds and fixes the formula; you check it before it counts.
The course's AI project, where Copilot and ChatGPT draft whole formula columns from a prompt and you read each one before inserting it, the discipline a derived variable needs before it reaches an analysis.
-
Project 03
Sales Goal Tracker
Built on a table of sales deals, it is where every coding and counting rule a researcher writes gets practised: IF and IFS turn amounts into categories, AND and OR join conditions, and the conditional counts and sums answer one question per formula, the way a study reports n by group.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 21 of them, 1 h 48 min of video. Each lesson keeps its number in the course.
Where to start
Lesson 8 Basic maths in Excel
Start at Lesson 8 if you already enter study data in Excel but write few formulas of your own: the path climbs from arithmetic to conditional counts in the order a dataset needs them. If the Excel window itself is unfamiliar, the opening lessons from Lesson 1 show it before any formula is typed. Comfortable with SUM and locked references? Go straight to Lesson 28 for comparisons and IF, or try the Ninja Challenge at Lesson 40 first and return to the lesson behind any answer you miss.
21 of 186 lessons · 1 h 48 min
01 Microsoft Excel fundamentals: building a foundation from scratch The arithmetic under every derived variable: operators and brackets, SUM, AutoSum and MAX, references that stay put when a formula is copied down, values as a percentage of a locked total, the #VALUE!, #NAME? and #DIV/0! errors with IFERROR, and raw entries, totals and notes kept on separate sheets. The lessons use a personal budget.
- 8 Start here Basic maths in Excel Add, subtract, multiply and divide with formulas 3 min
- 9 SUM and AutoSum in Excel Total income, expenses and savings with MAX 6 min
- 10 Relative vs absolute references in Excel Dollar signs and mixed references 3 min
- 11 Calculating percentages in Excel Each expense as a percentage of income 2 min
- 12 Common Excel errors and how to fix them DIV0, NAME, VALUE errors and IFERROR 4 min
- 13 Organising an Excel workbook Dashboard, transactions and notes sheets 2 min
02 Project: personal budget tracker AVERAGE, the mean that opens every descriptive table, taken over a range picked so that only the right rows count, with the sheet reference that lets a summary sheet read a data sheet.
- 14 SUM and AVERAGE in Excel Personal budget tracker totals and average expense 4 min
04 Essential formulas and functions (IF, SUMIF and more) Comparisons that return TRUE or FALSE, then IF returning Pass or Fail against a pass mark, on a small practice sheet of students' marks: the cut-off logic behind every screening rule in a study.
- 28 Logical functions in Excel TRUE and FALSE comparisons for beginners 5 min
- 29 The IF function in Excel Pass or fail results with a single condition 3 min
04 Essential formulas and functions (IF, SUMIF and more) Categories from numbers on the Sales Goal Tracker: IF in a table column that fills itself down, nested IF and IFS for more than two bands with TRUE as the catch-all, and AND, OR and the not-equal sign for rules that combine conditions, the shape of inclusion and exclusion criteria.
- 30 IF function practice in Excel Categorise sales data with IF formulas 6 min
- 31 Nested IF and IFS in Excel Customer value tiers with nested IF 6 min
- 32 Nested IF and IFS in Excel Sales performance labels with the IFS function 5 min
- 33 AND and OR with IF in Excel Flag high-value deals with multiple conditions 8 min
04 Essential formulas and functions (IF, SUMIF and more) Counting and totalling for a sample description: SUM with FILTER for one subgroup, COUNT for numeric entries, COUNTA for filled cells and distinct values, then COUNTIF and SUMIF with one condition and COUNTIFS and SUMIFS with many, for the n and the totals of every group. The examples run on sales records.
- 34 SUM, COUNT and COUNTA in Excel SUM with FILTER and counting numbers with COUNT 7 min
- 35 SUM, COUNT and COUNTA in Excel COUNTA, unique counts and completeness checks 4 min
- 36 SUMIF and COUNTIF in Excel Conditional sum and count with one criterion 8 min
- 37 SUMIFS and COUNTIFS in Excel Sum and count with multiple criteria 7 min
04 Essential formulas and functions (IF, SUMIF and more) The function library searched by purpose through Insert Function, the date arithmetic behind days elapsed and follow-up dates, and a Ninja Challenge of conditional counts, sums and IF formulas, tried first and then checked against its solution file.
- 38 The Excel function library Insert Function dialog and Formula AutoComplete 5 min
- 39 Date and time functions in Excel TODAY, NOW, MONTH and date arithmetic 6 min
- 40 Excel Ninja Challenge COUNTIF, SUMIF, IF, COUNTIFS, SUMIFS and IFS practice 8 min
10 Boosting productivity with AI in Excel (Copilot, ChatGPT and Claude) Copilot and ChatGPT writing formula columns on request, from a margin to a flag, each read and tested on one row before it stays: how a researcher puts AI to work on a derived variable without handing over the judgement.
- 95 Excel formulas with AI Copilot and ChatGPT write formula columns you verify 6 min
Instructors
Who teaches it.
Instructor, Excel with AI
Virginia Thorn
Emmy Award winner. Teaches Excel with AI at Coding Liquids.
Questions
Asked before starting.
How far can Excel formulas take a researcher before the statistics package takes over, and which course teaches them?
All the way to a coded, checked and described dataset, and The Complete Excel Course with AI Integration from Coding Liquids builds each formula on that road with worked examples. IF, IFS and nested IF turn raw values into categories (Lesson 29 to Lesson 32); AND and OR write inclusion criteria (Lesson 33); COUNT and COUNTA test whether a column holds what it should (Lesson 34, Lesson 35); COUNTIFS and SUMIFS, with their single-condition forms, give the n and the totals for every group (Lesson 36, Lesson 37). Underneath sit AVERAGE, MAX, locked references, percentages and IFERROR. Its worked examples are course projects built to industry standard, designed after talking with people from many different industries, with a starter file to build in and a finished copy to compare against. The 21 lessons picked out here run to 1 hour 48 minutes, and every formula in them works on your own data file the day you learn it.
Which descriptive statistics can I produce with the formulas this course teaches?
The mean, the minimum and maximum, the n and a mean for every group. The Complete Excel Course with AI Integration teaches AVERAGE as the arithmetic mean, the total divided by the count, over a range chosen so that only the right rows enter it (Lesson 14); MAX and MIN come from AutoSum's own list (Lesson 9); COUNT gives the number of numeric values (Lesson 34). For groups, SUMIFS divided by COUNTIFS (Lesson 37) returns the mean of one arm, one site or one wave, with as many conditions as your design has. Standard deviation, the median and the inferential tests have no lesson of their own, so Lesson 38 gives you the method that reaches them: Insert Function searched by purpose, with every argument laid out in the Function Arguments window. A search for average there already lists AVERAGEIF and AVERAGEIFS beside AVERAGE, ready for the same group conditions.
Can formulas recode raw scores into bands, such as age groups or severity levels, in a single column?
Yes, and the course moves from a single cut-off to as many bands as a codebook defines. IF handles one threshold: Lesson 29 returns Pass or Fail against a pass mark on a practice sheet of students' marks, which is exactly above or below a clinical cut-off. Nested IF gives three outcomes (Lesson 31), and IFS takes any number of bands tested in order, with TRUE as the final test catching every value the others missed (Lesson 32). Two habits from these lessons protect your coding. Excel stops at the first test that comes out true, so the order of the tests decides the band. And naming the function in the column header, as the lesson does with Nested IF, tells anyone reading the file how the variable was made. The Complete Excel Course with AI Integration practises this on sales amounts; ages, symptom scores and lab values band the same way.
Can IF with AND and OR write my inclusion and exclusion criteria into a column, and count who is eligible?
Yes: IF with AND or OR writes the criteria into a column, and COUNTIF counts what it returns. The Complete Excel Course with AI Integration builds this kind of rule in Lesson 33: an eligibility column where every condition must hold (AND), a flag where any single condition is enough (OR), and an exception written with the not-equal sign, the way a study leaves out one site or one arm. In your terms, aged 18 or over AND consent recorded marks a row Eligible, while any one exclusion criterion met, through OR, marks it Excluded. The comparisons underneath return TRUE or FALSE (Lesson 28), and COUNTIF on the new column gives the number eligible (Lesson 36), ready for the recruitment report. Because the rule lives in a formula, a protocol amendment is one edit that runs down every row, and nobody screens a spreadsheet by eye again.
Can COUNTIFS give the n for every cell of my design, such as condition by site by collection period?
Yes: COUNTIFS stacks as many conditions as the design has, and The Complete Excel Course with AI Integration teaches it beside SUMIFS in Lesson 37. One formula counts the rows that are in the intervention arm, at the second site and inside the collection window, the window written as two conditions on the date column, which the lesson does for a single month. When the answer is zero, that is a finding: the lesson's count for one month comes back as zero, and an empty cell of a design is worth knowing before the analysis, not after it. COUNTIF and SUMIF (Lesson 36) cover the single-condition counts, with a warning worth keeping: ranges that do not line up give an answer that looks fine and is quietly wrong. Divide each count by the total held in a locked cell (Lesson 11) and every n becomes a percentage of the sample.
Can formulas score a questionnaire, totalling or averaging the items for each participant?
Yes: SUM and AVERAGE across a row of item columns give each participant a total or a mean item score, and The Complete Excel Course with AI Integration teaches both. SUM and AutoSum arrive in Lesson 9, AVERAGE in Lesson 14, and the arithmetic for a weighted or rescaled score, with brackets setting the order, in Lesson 8. Written once on the first participant's row with relative references (Lesson 10), the formula copies down the whole sample and scores every row by the same rule. Missing items need a decision, and the course hands you the tools to write it: COUNT across the row shows how many items were answered (Lesson 34), and IF (Lesson 29) can return a score only when that count meets your scale's rule. AVERAGE skips empty cells by itself, so a mean item score is taken over the answered items alone, worth knowing before you choose between reporting a total and a mean.
My cut-off scores and conversion factors change between studies: can every formula read them from one cell?
Yes: an absolute reference fixes a formula on one cell, so a constant typed once drives every row. The Complete Excel Course with AI Integration teaches it in Lesson 10, where a single rate cell is locked with F4 while each row's own value stays free, and the formula is copied down the column without drifting. The lesson also shows the failure it prevents: a relative reference slides as it is copied, so the first row looks right and every row beneath it is wrong. Mixed references, the column locked and the row free or the other way round, follow in the same lesson. For a study, keep the cut-off, the detection limit or the unit conversion in a labelled cell, point every derived column at it, and a revised protocol becomes a single edit. Lesson 11 applies the same lock to percentages of one fixed total.
My summary sheet fills with #DIV/0! for groups that have no data yet: does the course deal with formula errors?
Yes, and it teaches you to read an error before you hide it. The Complete Excel Course with AI Integration produces the common three on purpose in Lesson 12: #DIV/0! from dividing by zero, which a mean or a rate returns for a group with no participants yet; #NAME? when a function name is left unfinished or mistyped; and #VALUE! from text where a number should be, which in a dataset usually points to an entry typed wrongly. IFERROR then shows a message of your choosing while the calculation stays in place, so a table you circulate carries a clear note instead of raw errors. The lesson's distinction matters in research: IFERROR manages an error and does not repair the data behind it, so a #VALUE! is a reason to inspect the cell it points to. The workbook's Notes sheet (Lesson 13) keeps these explanations for whoever opens the file next.
Can a co-author check the formula behind each derived variable without asking me?
Yes, because a formula carries its workings with it: click any cell and the formula bar shows the calculation. The Complete Excel Course with AI Integration adds habits that make a workbook easy to audit. Lesson 31 names the function in the column header, so a reader knows how a column was made before opening a single cell. Lesson 30 writes formulas inside an Excel table, where a structured reference reads the value of its own row and the formula fills itself down each new row, so a participant added next month is coded by exactly the same rule. Lesson 13 keeps raw entries, summary figures and notes on separate sheets, and Lesson 38 builds formulas through the Function Arguments window, which names every argument as you fill it. A co-author can retrace each derived variable without a meeting, and your methods section can describe it exactly.
Can formulas catch answers that contradict each other, such as a non-smoker with a figure for cigarettes a day?
Yes: IF with AND turns a contradiction between two variables into a flag on the row, and The Complete Excel Course with AI Integration teaches the pattern in Lesson 33. There the conditions describe deals, an amount above quota AND an excellent rating, or a poor rating OR a small sale; in a study the same structure reads smoking status equal to never AND cigarettes a day above zero, and returns Check instead of OK. The not-equal sign covers the reverse case, a field that should be empty but is not. Give each rule its own column, named in its header as Lesson 31 recommends, and COUNTIF (Lesson 36) totals the flags so you know how many records go back to the source forms. Skip patterns, impossible combinations and a follow-up dated before baseline all fit the same mould, and every rule reruns the moment a value is corrected.
Does the formula path start low enough for someone who has never typed an equals sign?
Yes: the path starts with the equals sign and adds one idea per lesson. The Complete Excel Course with AI Integration opens the formulas at Lesson 8 with adding, subtracting, multiplying and dividing, brackets to set the order, and the rule that an entry without an equals sign is only text. SUM, AutoSum and MAX follow (Lesson 9), then references, percentages and errors, each on a small budget sheet before any complexity arrives. The logical functions begin gently as well: a TRUE or FALSE comparison on a practice sheet of students' marks (Lesson 28) comes before IF, and IF comes before nested IF and IFS. If even the Excel window is unfamiliar, start at Lesson 1. The Ninja Challenge at Lesson 40 then tests the whole set with hints, so you know you can do it before your thesis data depends on it.
Can formulas produce the numbers for a participant flow diagram, from screened to analysed?
Yes: each box of the diagram is a count, and The Complete Excel Course with AI Integration teaches every count it needs. COUNTA on the ID column of the screening log gives the number screened (Lesson 35). COUNTIF on an eligibility column built with IF, AND and OR (Lesson 33) gives the numbers eligible and excluded (Lesson 36). COUNTIFS splits the later boxes by arm, counting those allocated, those who completed follow-up and those analysed in each (Lesson 37). Because every figure is a formula on the log, the diagram updates as recruitment goes on, and the boxes can be held against one another: the arms should add up to the number randomised, a test that a simple subtraction (Lesson 8) makes visible at a glance. The habit comes straight from the Sales Goal Tracker, where each COUNTIF answers one plain question about its table, and a flow diagram is a set of such questions.
If a results table of counts and means by group is due first, which lessons should I take before the rest?
Lesson 14, Lesson 36 and Lesson 37 first, with the locked reference of Lesson 10 and the percentages of Lesson 11 beside them. In The Complete Excel Course with AI Integration those lessons give you AVERAGE for the mean, COUNTIF and COUNTIFS for the n of each group and SUMIFS for its total, so a group mean is one division away and a share of the sample one locked reference away. Build the table on your own data as each lesson ends. The rest of the path, 1 hour 48 minutes in all, rounds the set off: IF and IFS for the groupings themselves, the function library for anything not taught directly, date arithmetic for days since enrolment (Lesson 39) and the Ninja Challenge. For a table with many groups, the PivotTables from Lesson 57 summarise every group at once by dragging fields, with a count or an average on offer in Value Field Settings as well as a sum. Lifetime access keeps every lesson open for the next dataset, and the Certificate of Completion arrives once the whole course is done.
Does the course go past the basics to the advanced formulas researchers search for?
Yes, well past them, and every advanced formula is built on the basics on this page. The Complete Excel Course with AI Integration already takes these lessons into multi-condition logic: IFS with a catch-all, AND and OR inside IF, SUMIFS and COUNTIFS with stacked criteria, SUM wrapped round FILTER to total one subgroup (Lesson 34), and COUNTA round UNIQUE for distinct counts. Beyond this path, XLOOKUP, VLOOKUP and INDEX with MATCH join a data sheet to a codebook or a second sheet by participant ID (Lesson 68 to Lesson 71), FILTER, SORT and SORTBY extract a subgroup as a live list (Lesson 76, Lesson 77), and LET and VSTACK build a whole model in the FinanceGuard project (Lesson 117). FILTER, UNIQUE and the other dynamic arrays need a modern Excel; every other formula here works in Excel on Windows or Mac.
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.
The same course
For another job, skill, goal, level, topic or comparison.
The course for this job
More skills for this job
- Lookups for researchers
- PivotTables for researchers
- Charts for researchers
- Dashboards for researchers
- Conditional formatting for researchers
- Data cleaning for researchers
- Data validation for researchers
- Excel tables for researchers
- Text functions for researchers
- Date functions for researchers
- Dynamic arrays for researchers
- Power Query for researchers
- Power Pivot and DAX for researchers
- Copilot in Excel for researchers
- ChatGPT for Excel for researchers
- Claude in Excel for researchers