The Complete Excel Course with AI Integration
Excel data validation for researchers
Every coding slip made at entry costs a cleaning session later, and a study's sheets pass through many hands. The Complete Excel Course with AI Integration teaches the rules that stop those slips as they are typed, on industry-standard projects, and the lessons below are the ones a research entry sheet needs: coded drop-downs fed from one list sheet, protected cells, a pilot before data collection, checks of what was entered and a VBA checker for the whole sheet.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Restrict a coded variable to its agreed values with a Data Validation drop-down list, typed in for a short scale or fed from a codebook on its own sheet.
- Run every drop-down in a workbook from one list sheet, so a new site, arm or category is added once and offered on every entry row.
- Guard an entry workbook with Protect Sheet and Protect Workbook, keeping headers, formulas and the list sheet out of reach of a stray keystroke.
- Pilot an entry sheet with a test row before data collection, proving that drop-downs, highlights and formulas carry into every new record.
- Highlight entries that break a rule with a formula-based conditional format, and mark a participant ID that appears twice with the Duplicate Values highlight.
- List every code a column really holds with UNIQUE, the check that finds values typed before a rule existed.
- Run a VBA macro that clears old flags, marks every blank in a required column and every entry that is not a number in a number column, and colours each problem cell in one pass.
Projects
What you will build.
The course has 14 industry-standard projects. These four matter most here.
-
Project 07
TaskFlow
One sheet that shows what is done, what is late and what is urgent.
Built for tasks, it is the course's lesson in entry rules: status and priority drop-downs fed from a list sheet and laid on spare rows in advance, cells guarded against stray edits and a test row that proves every rule reaches new records, the pattern a study's entry sheet follows.
-
Project 11
FormatWizard
One click that checks a whole sheet for you.
Built on a long sheet of sales rows, its VBA is a ready-made model for checking entries: blanks flagged in required columns, a non-number flagged in a number column, problem cells coloured and every message gathered in one flag column for the person who typed it.
-
Project 06
PeopleInsight HR workbook
Employee data joined across sheets with one formula.
Built for HR records, its UNIQUE lesson spills every distinct status, location and work arrangement in a column, the same move that shows which codes a study's data really holds and feeds a drop-down list.
-
Project 02
Dunder Michael Paper Company employee database
Built as a staff list, it ends its text and validation lessons with a department drop-down read from a sheet of approved names, then a Ninja Challenge that adds four drop-down columns and settles what happens to a value the list refuses.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 19 of them, 1 h 38 min of video. Each lesson keeps its number in the course.
Where to start
Lesson 45 Data validation in Excel
Start at Lesson 45 if you already type study data into Excel: the drop-down list is the rule everything else on this page builds on. Spreadsheets themselves unfamiliar? Lesson 1 opens the course gently, and the Tables of Lesson 19 come next. Never written VBA? Take FormatWizard from Lesson 136 before the validation macro of Lesson 146, which builds on the section's first lessons.
19 of 186 lessons · 1 h 38 min
03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) One ID, one person: the Duplicate Values highlight marks every ID that appears twice, and Remove Duplicates clears the repeats once you have chosen which record stays. The lesson checks the IDs of an employee list.
- 23 Remove duplicates in Excel Find and delete duplicate rows in an employee list 6 min
04 Essential formulas and functions (IF, SUMIF and more) The completeness check after entry: COUNTA set against COUNT shows text sitting where a number belongs, and a distinct count with UNIQUE shows how many codes a column holds. The lesson counts sales records.
- 35 SUM, COUNT and COUNTA in Excel COUNTA, unique counts and completeness checks 4 min
05 Text functions and data validation (enhancing data quality) Drop-down lists from Data Validation, with the Source on a sheet of approved values, then a Ninja Challenge that adds four drop-down columns to a cleaned staff list and shows what to do with a value the list refuses.
- 45 Start here Data validation in Excel Create drop-down lists for consistent data entry 4 min
- 46 Ninja Challenge: problem Clean messy data with text functions and validation 4 min
- 47 Ninja Challenge: solution PROPER, Text to Columns and drop-down lists 7 min
08 Advanced Excel functions: lookups, text and arrays UNIQUE spills the distinct values of a column, a source for drop-down lists and a quick test of which codes were really typed. It needs a modern Excel.
- 75 UNIQUE function in Excel Extract a distinct list with dynamic arrays 6 min
09 Project: task automation with data validation and forms TaskFlow's entry design: a frozen, highlighted header, a test entry to check the layout, status and priority drop-downs on every row and on the spare rows below, and formula rules that highlight the entries needing attention.
- 79 TaskFlow project tracker in Excel Overview of the task tracker dashboard 4 min
- 80 Designing a task tracker in Excel TaskFlow layout, columns and headers 5 min
- 81 Data validation in Excel Status and priority drop-down lists in TaskFlow 8 min
- 82 Conditional formatting in Excel Highlight overdue and completed tasks 8 min
09 Project: task automation with data validation and forms Protecting and proving the sheet: Locked cells, Protect Sheet and Protect Workbook guard the formulas and the structure, and a stress test copies a row to prove the drop-downs, rules and formulas carry into new entries.
- 86 Protect a sheet and lock cells in Excel Secure the TaskFlow tracker workbook 4 min
- 87 Testing an Excel task tracker Stress test TaskFlow with sample data 3 min
14 VBA and macros in Excel: FormatWizard A validation macro in VBA, built on the section's earlier basics: clear old flags, loop through every row to flag blanks, gather a message per row, colour the problem cells, flag entries that are not numbers with IsNumeric, check the code with Debug.Print and run it all from one subroutine with an error handler.
- 146 Clear old flags with VBA Reset messages and fill colours with if statements 5 min
- 147 For Next loop in VBA Flag missing region values in Excel 4 min
- 148 VBA If Else and loops Check missing sales data and build a FlagText message 5 min
- 149 Highlight cells with VBA Interior.Color and RGB for missing data 5 min
- 150 IsNumeric in VBA Validate unit price and amount data types in Excel 7 min
- 151 Debugging VBA for beginners Debug.Print and the Immediate window 5 min
- 152 Complete Excel validation macro One VBA subroutine with an error handler 3 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.
Setting up a study's entry sheet before the first participant: which Excel data validation rules should it have from the start?
Coded drop-downs, a list sheet behind them, locked cells, a pilot and a checker for the whole sheet: The Complete Excel Course with AI Integration from Coding Liquids builds each of them with you, on industry-standard projects designed after talking with people from many different industries. You make drop-down lists that accept only the agreed values (Lesson 45), feed every list from one sheet of approved entries (Lesson 81), lock the cells that must not change (Lesson 86) and test the finished sheet before anyone relies on it (Lesson 87). Then FormatWizard writes a VBA macro that sweeps a whole sheet, flags every blank in a required column, marks entries in a number column that are not numbers and colours each problem (Lesson 152). This page lists 19 lessons, 1 hour 38 minutes in all, that take a study's entry sheet from a blank grid to one that refuses most mistakes and finds the rest. The lessons use staff, task and sales sheets; the rules carry over to participants, samples and visits.
Can a drop-down hold my codebook's values, such as the points of a rating scale or the names of the treatment arms?
Yes, and The Complete Excel Course with AI Integration shows two routes to it. For a short, fixed set, type the values straight into the Source box: Lesson 81 does exactly that with High, Medium and Low, and the points of an agreement scale or the codes of your arms go in the same way. For a longer list, or one that may change, point the Source at a range on a sheet of its own: Lesson 45 builds a Validation Lists sheet of approved names and selects it as the source, so the codebook lives in one place and every entry sheet reads from it. Either way the cell offers an in-cell drop-down and turns away anything that is not on the list. Number-range and date rules sit in the same dialog's Allow box, though the lessons build the list rule, the one that covers every coded variable a questionnaire holds.
Several assistants type into one workbook: how do I stop each of them coding answers their own way?
Take the choice away from the keyboard, which is what The Complete Excel Course with AI Integration teaches across TaskFlow. Free typing produces variants such as high and high priority for one value, the lesson's own example (Lesson 81); a drop-down offers only the agreed codes, so every assistant enters the same word for the same answer. Lesson 45 makes the point about shared files directly: the rule keeps entries consistent when several people edit one sheet, and Excel treats two names for one thing, such as HR and Human Resources, as two different values, which breaks filters and summaries. Then Lesson 86 protects the sheet, so headers, formulas and the list sheet cannot be typed over, and Protect Workbook stops anyone renaming, hiding or deleting a sheet. The result is an entry workbook every assistant fills in the same way, and a dataset that needs far less cleaning when it reaches you.
An assistant types a code that the drop-down does not offer: what does Excel do, and what does the course say to do next?
Excel turns it away with an error message, and The Complete Excel Course with AI Integration shows what to do next. A list rule from Data Validation checks each entry as it is typed: a value that is not on the list is blocked (Lesson 45), and the person picks the right code from the drop-down instead. Lesson 47 meets this in the Ninja Challenge, where a refused value is replaced from the drop-down. One thing to know before adding rules to a sheet already in use: Excel tests entries as they are typed, so values that sat in the cells before the rule arrived stay exactly as they were. That is why the course pairs rules with checks. UNIQUE (Lesson 75) lists every value a column holds, so an old variant shows at once, and the completeness counts of Lesson 35 expose text where a number should be. Rules for new entries, checks for old ones: together they cover the whole column.
Can the entry sheet warn me the moment someone types an ID that is already in the column?
Yes: a Duplicate Values highlight does exactly that, and The Complete Excel Course with AI Integration sets one up in Lesson 23. It sits among Conditional Formatting's Highlight Cells Rules, and applied to the whole ID column it colours every ID that appears more than once. Because a highlight reacts to each new entry, a second copy of an ID lights up the instant it is typed, together with the first, while the assistant is still at the keyboard and can check the form in hand. Real doubles found later are cleared by the methods the same lesson goes on to teach. Add the formula rules of Lesson 82, which colour a whole row when it meets a condition you write, and the entry sheet flags trouble as it happens rather than at the end of the week. The lesson's principle for IDs is the one every study works to: one person, one ID.
How do I stop the formulas, headers and code lists of an entry sheet being typed over?
With sheet and workbook protection, which The Complete Excel Course with AI Integration teaches in Lesson 86. Every cell starts out Locked, but the setting only bites once the sheet is protected, so you decide on the Protection tab of Format Cells what should stay open, then switch on Protect Sheet from the Review tab. The Protect Sheet dialog sets what everyone may still do, from selecting cells to formatting them, and a password is optional. Protect Workbook then guards the structure: with it on, no one can add, delete, hide or rename a sheet, so the list sheet that feeds your drop-downs and the codebook beside it stay exactly where the rules expect them. Unprotect Sheet lifts the guard when a rule needs changing. On a study where students and assistants rotate, protection is what keeps a carefully built entry sheet the same from the first participant to the last.
Can Excel check a whole entry sheet at the end of a day and flag every gap?
Yes: one click runs the FormatWizard macro you build in The Complete Excel Course with AI Integration, and it reads every row. Its VBA clears the previous run's flags (Lesson 146), loops through every row and writes a message beside any row whose required column is blank, trimming first so a cell of spaces still counts as empty (Lesson 147), and gathers several messages for one row (Lesson 148). Lesson 149 colours each problem cell, and Lesson 150 uses IsNumeric to flag an entry in a number column that is not a number, such as a word, an N/A or a stray character. Lesson 152 runs all of it from one subroutine with an error handler. Pointed at a day's entries, it hands you a list of every row to query with whoever typed it, while the session is still fresh in their memory. The lessons check a sheet of sales rows, and the loops read your columns once their letters are changed.
How do I pilot an entry sheet before data collection begins?
Enter test data and watch what the sheet does, the way The Complete Excel Course with AI Integration tests TaskFlow. Lesson 80 types a single test task into the empty tracker to check its layout before any real entry, and Lesson 87 runs the fuller test: a new row at the bottom, copied from the row above with its dates moved on, then a check that the drop-downs, the highlighting and every calculated column have carried into it. The lesson's key test is worth borrowing: change a date and confirm the calculated figure moves with it, which proves the formula is working rather than pasted as a value. For a study, run the same pilot with a few dummy participants, then delete them before the first real record. A pilot costs one short sitting; a sheet that fails during recruitment costs a cleaning job and an awkward conversation with whoever typed the entries.
When a new site joins the study, how much of the entry sheet has to change?
One line on one sheet: that is how TaskFlow in The Complete Excel Course with AI Integration builds its lists. Lesson 81 links the status and priority drop-downs to lists kept on their own sheet, and the lesson's point is that this one list then controls every drop-down that reads it: add the new site inside the range the rule reads, and every entry row offers it at once. The same lesson applies the rule to the spare rows below the data, so participants not yet recruited already have their drop-downs waiting. Lesson 45 sets the Source by selecting cells on the Validation Lists sheet, the same idea for a longer list. Kept this way, a protocol amendment touches the list sheet and nothing else, and the entry sheet your assistants know does not move. Its protection, from Lesson 86, keeps that list sheet safe between amendments.
Do I need VBA for any of this, or do menus do most of the work?
Menus do most of it. In The Complete Excel Course with AI Integration the drop-down lists, the list sheet, the protection and the formula-based highlights are all set through dialogs: Data Validation, Format Cells, Protect Sheet and New Rule under Conditional Formatting. The completeness counts and UNIQUE are short formulas. VBA enters only for the checker that sweeps a whole sheet, and FormatWizard does not throw you in at the deep end: it starts from recorded macros in Lesson 137, opens the VBA editor step by step and reads every routine line by line before you run it. Nothing on this page needs Windows, since the course's requirements name it only for Power Automate and Power Pivot; the shortcuts shown are the Windows ones. A workbook holding the macro is saved as a macro-enabled file (Lesson 140), which is worth knowing before you share it with a team.
My survey runs online with its own checks: is Excel validation still worth learning?
Yes, for every sheet a person types into, and a study is full of them. A platform's checks cover the questionnaire itself, but the lab log, the sample register, the follow-up tracker, the paper forms keyed in afterwards and the codes a partner site sends are all typed into Excel, and each gains from the coded drop-downs, list sheet and protection that The Complete Excel Course with AI Integration teaches from Lesson 45 onwards. Even the survey's own export benefits: build its codebook once as a list sheet, and the lists that guard the typed sheets also record which values every variable may take. Keep in mind that rules test entries as they are typed, not values pasted or imported, so an export is checked after it lands, with UNIQUE (Lesson 75) and the other checks this path teaches.
Could I have a validated entry sheet ready before recruitment opens?
Yes: the lessons that build one are short, and you can apply each to your own sheet as you go. In The Complete Excel Course with AI Integration the drop-down list is built in Lesson 45, the list sheet and spare-row rules of TaskFlow in Lesson 81, protection in Lesson 86 and the pilot in Lesson 87, and together they make an evening's work. The formula highlights and the checks after entry follow, and the VBA checker can wait until data starts arriving, since it reads what has already been typed. The whole path is 1 hour 38 minutes. Every project comes with a starter file and a finished file, so you can compare your entry sheet with a working one at each step, and on the plan that includes instructor support you can ask the instructor about your own study's sheet through the inbox under each lesson and get the reply in writing.
How do I prove the checking macro reads the right cells before I trust it with study data?
Watch it work before it writes anything, the method The Complete Excel Course with AI Integration teaches in Lesson 151. Debug.Print sends a value to the Immediate window, opened with Ctrl+G, without touching the sheet or raising a pop-up, so a test routine can print each row number beside the value it reads and you confirm the order and the cells before a single flag is written. The lesson's reason fits research data exactly: a slip caught there cannot spread across hundreds of rows. Then test on purpose, as the lessons do: Lesson 147 deletes one row's region and runs the loop to see that row flagged, and Lesson 149 shows what a column letter left unchanged does: the wrong column lights up. Where you draft parts of the macro with Claude or ChatGPT, as Lesson 148 invites, these checks are how you correct what they return before the macro meets real entries.
Does validation mean I can skip checking the data before the analysis?
It shrinks that check to what validation cannot see, and The Complete Excel Course with AI Integration covers both halves of the job. Drop-downs stop wrong codes at the keyboard, but a rule cannot notice a participant entered twice, a required answer left blank or a value pasted in from elsewhere. So the path adds the checks that close those gaps: the Duplicate Values highlight and Remove Duplicates for repeated IDs (Lesson 23), COUNT set against COUNTA for text where numbers belong (Lesson 35), UNIQUE for the codes actually present (Lesson 75) and the FormatWizard macro for blanks and non-numbers across the whole sheet (Lesson 152). Run them at the end of each entry session and again before the analysis, and the dataset you lock for the statistics has been guarded at entry and checked afterwards, a record that stands up to a supervisor's questions and a reviewer's.
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
- Excel formulas for researchers
- Lookups for researchers
- PivotTables for researchers
- Charts for researchers
- Dashboards for researchers
- Conditional formatting for researchers
- Data cleaning 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