The Complete Excel Course with AI Integration
Excel data validation for government officers
In a register several officers type into, one status drifts into five spellings, an office name changes shape and a word lands where a figure belongs, and every count built on it suffers. The Complete Excel Course with AI Integration teaches data validation on industry-standard projects, and this page picks out its lessons: drop-down lists fed from a list sheet, checks on values already entered, a locked and tested tracker, and a VBA macro that audits a whole return.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Add drop-down lists to the status, office, department and scheme columns of a register with Data Validation, so each value can only be entered one way.
- Keep every approved list on a sheet of its own, so one edit on that sheet reaches every drop-down that reads it.
- List the distinct values an old register already holds with UNIQUE, and settle the variants before a drop-down goes on.
- Bring entries that predate the rules into line, replacing a value the list refuses with a choice from the drop-down.
- Lock formulas and headings with sheet protection while colleagues still choose from the drop-downs, and protect the workbook's structure so the list sheet stays put.
- Stress test a validated tracker with a copied row before it goes to the team.
- Run one VBA macro over a filled-in return that flags blanks and entries which are not numbers, colours the cells to check and reports when it is done.
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 shows drop-downs at work on a log that behaves much like a request or correspondence register: status and priority lists fed from a list sheet, empty rows that already carry their lists, then a protected sheet and a test with a copied row.
-
Project 06
PeopleInsight HR workbook
Employee data joined across sheets with one formula.
Built for HR data, it is where UNIQUE spills the distinct values a column already holds: a quick view of the variants hiding in an old register and a ready starting list for a new drop-down.
-
Project 11
FormatWizard
One click that checks a whole sheet for you.
Built on a long sales sheet, its VBA half writes the check a drop-down cannot make on data already entered: a macro that walks every row, flags gaps and non-numbers, colours the cells concerned and reports at the end.
-
Project 02
Dunder Michael Paper Company employee database
Built as an employee database, its department column becomes the course's first validated field, fed from a sheet of approved names, and its challenge puts lists on four columns of a messier copy.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 16 of them, 1 h 19 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 can already enter and format data: the course's first drop-down list is built there, on an employee table. New to Excel? Begin at Lesson 1, and watch the free lessons on the course page to see the teaching first. Drop-downs already familiar? Go to Lesson 79, where TaskFlow puts them to work in a tracker, or to Lesson 146 for the macro that checks a whole sheet, once the section's opening lessons from Lesson 136 have shown you the VBA editor.
16 of 186 lessons · 1 h 19 min
05 Text functions and data validation (enhancing data quality) Data validation on the employee list: Allow set to List, Ignore blank and In-cell dropdown ticked, the source drawn from a sheet of approved departments, then a challenge that puts lists on four columns of a messier list and shows what to do with a value a 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 every distinct value a column holds, beside the table and updating as the data changes: the quick audit of an old register's variants and a ready source for a drop-down. 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 from its brief to its drop-downs: a tracker laid out with a frozen, highlighted header and checked with a test entry, then priority and status lists, first typed into the rule and then linked to a list sheet, reaching every row including the empty ones below.
- 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
09 Project: task automation with data validation and forms Protecting the validated tracker: cells locked and the sheet protected so formulas refuse edits, the workbook's structure protected so no sheet is renamed or deleted, then a stress test with a copied row proving that 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 FormatWizard's validation macro, after the section's opening lessons on recording macros and the VBA editor: old flags cleared, a loop that flags missing regions and salespeople, cells coloured with RGB, a check that flags entries which are not numbers in a number column, Debug.Print to test the code, and one master routine with an error handler. The data is a long sales sheet.
- 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.
Is it realistic for a government officer, without help from IT, to keep a shared register's entries in line with Excel data validation?
Yes: drop-down rules and sheet protection live inside the workbook itself, so they need no new system, and The Complete Excel Course with AI Integration from Coding Liquids teaches them in the order an office uses them, on industry-standard projects designed after talking with people from many different industries. A department column first takes only names from an approved list (Lesson 45), then a challenge puts lists on several columns of a messier file and settles the values a list refuses (Lesson 47). TaskFlow, built as a task tracker that works much like a log of requests, gets status and priority drop-downs that reach every row (Lesson 81), a locked sheet (Lesson 86) and a test with a copied row (Lesson 87). UNIQUE exposes the variants hiding in an old column (Lesson 75), and FormatWizard's macro checks a sheet already filled in with one click (Lesson 152), once Lesson 142 has shown the macro security settings that decide whether it may run. The 16 lessons on this page take 1 hour 19 minutes, each rule built by hand from a starter file.
Which columns of a case register deserve a drop-down, and which should be left free?
Any column whose answer comes from a fixed set deserves one, and The Complete Excel Course with AI Integration shows the pattern on several. Status, office or district, department, scheme and priority all qualify: Lesson 45 puts a list on Department, the challenge in Lesson 47 adds Status, Location and Job Title, and Lesson 81 gives a tracker its priority and status lists. The lesson's warning case shows why it matters: HR and Human Resources look like one department to a reader, yet they count as two in every filter, PivotTable and dashboard. Columns holding something unique or personal stay free: a case reference, a name, an address, a note. Those are kept tidy by the clean-up tools instead, and a repeated reference is caught with a duplicate highlight (Lesson 23). A rule of thumb from the lessons: if colleagues could reasonably disagree on how to write a value, it belongs in a list.
Should the approved values be typed into the rule, or kept on a list sheet of their own?
Both ways are shown in The Complete Excel Course with AI Integration, and the list sheet wins for anything an office changes. Lesson 81 first types High, Medium, Low straight into the rule's Source box, which is quick for a short list that never moves. It then undoes that and points the priority and status columns at lists kept on a separate sheet, the approach Lesson 45 takes with a sheet of approved departments. The gain is control: one list feeds every drop-down that reads it, so when a scheme is renamed you correct one cell on the list sheet, not dozens of rules. The list sheet is also where a reviewer sees, in one place, every value the register accepts. Protect the sheet and the workbook's structure (Lesson 86) and the lists stay exactly as you set them, safe from a well-meaning colleague tidying up.
Before the lists go on, how can I see every spelling our register already holds for each office and status?
The Complete Excel Course with AI Integration gives you three views of what a column already holds, and they matter because a drop-down judges only what is typed after it goes on, leaving older values as they were. UNIQUE (Lesson 75) spills every distinct entry into a short list beside the table, so a district spelt three ways shows as three lines at a glance; it needs a modern Excel. The check boxes under a column's filter button list the same variants by hand (Lesson 21). For a whole sheet, FormatWizard's macro walks every row and flags what is missing or not a number (Lesson 152). Clean what you find with TRIM, PROPER and Find and Replace, as the challenge solution does before it adds its lists (Lesson 47), and that lesson also shows the remedy for a value a list refuses: pick the right one from the drop-down. Then the list goes on, and the variants stop multiplying.
A district return arrives already filled in: can one click check every row for blanks and for words where figures belong?
Yes: FormatWizard builds that one-click audit, and The Complete Excel Course with AI Integration writes it with you a line at a time on a long sheet of sales rows. The routine first wipes the marks left by its previous run (Lesson 146), then steps down the rows one by one and writes a note beside any row whose region is empty, trimming first so a cell holding only spaces is caught too (Lesson 147). It learns to test two columns at once and string the notes together (Lesson 148), to tint the faulty cell (Lesson 149) and to mark an entry in a number column that is no number at all, whether a word, an N/A or a stray character (Lesson 150). Debug.Print proves the code reads the right cells before it writes anything (Lesson 151), and a master routine with an error handler runs the lot (Lesson 152). Swap in a return's own column letters, and the blank office names and stray words in a district's figures are marked before anyone adds them up.
Can validation catch an extra zero typed into an allocation or a grant amount?
The Complete Excel Course with AI Integration gives you two catches for it, one at entry and one after. The lessons build list rules, and the Data Validation dialog they open (Lesson 45) also offers whole number and decimal rules with a minimum and a maximum, chosen from the same Allow box: the entry-time guard for an amount with a known ceiling. After entry, the course's own tools find the slip. Sorting the column largest first puts a tenfold figure at the top (Lesson 20), a highlight rule colours any amount above a limit (Lesson 15), and an IF formula labels a line that passes its threshold (Lesson 30). FormatWizard's macro adds a pass that flags any amount which is not a number at all (Lesson 150). Together they mean a mistyped allocation is seen before it reaches a return or a variance report.
How do drop-downs make our monthly counts by status and district more trustworthy?
They make every count find all of its cases, and The Complete Excel Course with AI Integration shows the chain from list to figure. With a drop-down, an approved case can only be recorded as Approved, so COUNTIFS on that word (Lesson 37) counts all of them, where free typing would have scattered some under Aproved or under Approved with a trailing space. A PivotTable behaves the same way, giving a second spelling a row of its own. In TaskFlow the consistency pays off further: the highlight rules for unfinished high-priority work (Lesson 82) and the Priority Score built from the priority column (Lesson 84) both test for exact values, so they work only because the drop-downs supply them. A monthly return built on validated columns needs no clean-up before it is counted, and a figure challenged in a meeting traces back to entries that could only be made one way.
Once I lock the formulas and headings, can colleagues still pick from the drop-downs?
They can, and The Complete Excel Course with AI Integration shows the setting that makes it work (Lesson 86). Every cell starts out Locked, but the setting means nothing until the sheet is protected, so the entry columns are unlocked first on the Protection tab of Format Cells, and then Protect Sheet goes on, with an optional password. After that, formulas, headings and calculated columns refuse edits with a warning, while the cells people fill in still take their drop-down choices. The same lesson protects the workbook's structure, so nobody can delete, hide or rename the sheet that holds your lists, the quiet way many drop-downs break. Unprotect with the password whenever a rule needs changing. For a register that travels round several offices, validated entry cells beside locked formulas are what bring it back intact.
Before the tracker goes to the whole team, how do I make sure its drop-downs and formulas hold up?
Run the stress test that closes TaskFlow in The Complete Excel Course with AI Integration (Lesson 87): add a row at the bottom, copy the row above into it, move its dates on, then check that the status and priority drop-downs, the highlight rules and every calculated column work in the new row. The telling check is a formula's response: with the due date a day later, the days-past-due figure must drop by one, proof that it recalculates instead of carrying a copied value. Earlier, Lesson 80 enters a test task before any real data to confirm the layout reads right, and Lesson 81 applies the lists to the empty rows below the data, so the next entry already has its drop-downs. New cases are usually made by copying an old one, which is why this test mirrors the way a shared log is really used.
What is the Data Validation tool, and which lessons set it up on a real sheet?
It is Excel's gatekeeper for a cell: a rule, set from the Data Tools group of the Data tab, that decides what the cell will accept, and The Complete Excel Course with AI Integration builds it on working files rather than a blank grid. Lesson 45 walks through the dialog on an employee table: the Settings tab, Allow changed from Any value to List, Ignore blank and In-cell dropdown ticked, and a Source taken from a sheet of approved departments. Anything typed that is not on the list is refused with a message. Lesson 81 repeats the build on TaskFlow, once with the values typed into the rule and once linked to a list sheet, and stretches it over the empty rows below. Lesson 47 then applies it to four columns at once. By the end, a drop-down on any register column takes a minute, and you know why each box is ticked.
With drop-downs on many columns, how do I keep track of what each one allows?
Keep every list on one sheet, as The Complete Excel Course with AI Integration does, and the whole set of rules becomes one page anyone can read. Lesson 45 draws its departments from a Validation Lists sheet and Lesson 81 links TaskFlow's priority and status to a list sheet, so the allowed values sit in labelled columns rather than hidden inside dozens of cells. To see a single cell's rule, select it and open Data Validation: the Settings tab shows what it allows and where its list comes from. Excel's Go To Special command can also select every validated cell on a sheet, a shortcut outside the lessons. Protect the workbook's structure (Lesson 86) so the list sheet cannot be renamed or deleted, and the rules survive as the register passes between officers. A list sheet doubles as documentation when someone new takes the register over.
District offices fill in copies of one template: will drop-downs keep their returns consistent enough to combine?
They are what makes combining work, and The Complete Excel Course with AI Integration teaches both halves. Put the lists in the template before it goes out (Lesson 45, Lesson 81), protect its structure so no office renames a sheet (Lesson 86), and every return comes back with the same names for statuses, schemes and districts. That matters the moment the returns are stacked: Power Query's folder query (Lesson 166) combines files that share a layout and Group By (Lesson 161) totals them, so one office typing a second spelling would split a district's figures across two lines. With validated templates, the combined table needs no clean-up first, and a total that looks wrong points to a real difference between offices rather than a typing slip. SalesFusion teaches the combining on sales files; the lists on this page keep the inputs fit for it.
I have never opened anything on the Data tab: can I still follow these lessons?
Yes, and the first drop-down in The Complete Excel Course with AI Integration is built in a few clicks you can pause and repeat. Lesson 45 starts from the Data tab itself, names each setting as it is ticked and ends with a working list on a real employee table. If the ribbon is new to you, the course's early lessons are a short step back: the Excel window and its tabs (Lesson 3), then tables, sorting and filtering from Lesson 19, which make every later rule easier to place. TaskFlow repeats the drop-down build on a tracker, so by the second time through it is yours. The VBA lessons at the end of this page ask more of you, but they write the code with you line by line, explain each part and test it before it runs. With lifetime access, you can return to any of it the next time a register needs a rule.
Can an AI assistant draft the checking macro, so I do not have to write VBA from scratch?
An AI draft is part of the method in The Complete Excel Course with AI Integration: after the two-check solution in Lesson 148, you write parts of the macro with Claude or ChatGPT, each in its own window, and then correct what they produce. That correcting is the skill the lessons build. You read the loop and the If tests line by line, so a wrong column letter or a message that overwrites another is spotted, and you test with Debug.Print in the Immediate window (Lesson 151) before a single flag is written. The finished routine (Lesson 152) adds an error handler, so a problem is reported instead of stopping halfway down a return. The same habit runs through the AI lessons (Lesson 99): the assistant drafts, the officer signs off. Without the VBA lessons, an AI-written macro is a script you cannot check; with them, it is a quick first draft.
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
- Formulas for government officers
- Lookups for government officers
- PivotTables for government officers
- Charts for government officers
- Dashboards for government officers
- Conditional formatting for government
- Data cleaning for government officers
- Excel tables for government officers
- Text functions for government officers
- Date functions for government officers
- Dynamic arrays for government officers
- Power Query for government officers
- Power Pivot and DAX for government
- Copilot in Excel for government officers
- ChatGPT for government officers