Learn how to use a custom Data Validation rule to prevent users from entering duplicate values in a table column. We will learn how to execute this both statically and dynamically on plain tables and proper Data Tables.
Manual assignment will be performed using Data Validation and (in some cases) named ranges. The process can be automated using pre-created VBA code.
File Download Link:
https://www.bcti.com//wp-content/YT_D...
Video Link - Personal Macro Workbook:
• VBA - Personal Macro Workbook (in Excel)
00:25 File Download Instructions
00:49 Overview of Solution Methods
01:37 Validate a Plain Table (Fixed Range)
03:08 Validate a Plain Table (Dynamic Range)
03:52 Part 1 - Create a Named Range
04:15 Part 2 - Data Validation
04:54 Possible "Fake" Error Warning
05:17 Validate a Data Table (Dynamic Range)
06:33 1-Click Validation (VBA Solutions)
06:49 Demo - Assign Duplicate Prevention by Cursor Location
07:18 Demo - Assign Duplicate Prevention by Column Letter
07:33 Demo - Assign Duplicate Prevention to a Data Table
07:54 Viewing / Modifying the VBA Code
08:26 Where to Place the VBA Code
09:36 Testing the Improved Code
10:44 Conclusion