Don't trust data validation in Excel! | Excel Off The Grid

  Рет қаралды 5,191

Excel Off The Grid

Excel Off The Grid

Күн бұрын

★ Want to automate Excel? Check out our training academy ★
exceloffthegrid.com/academy
★ Get the example file ★
exceloffthegrid.com/dont-trus...
★ About this video ★
Excel has a dirty little secret - The data validation does not stop a user from entering an incorrect value. That's pretty shocking, as that's the whole point of data validation. 😲
I'm not talking about malicious actions here. I'm talking about simple everyday methods that circumvent data validation without users realizing it.
If you are ready to find out what the issue is... and possible ways to resolve it, then let's go!
0:00 Introduction
0:30 The problem
3:20 Circle invalid data
4:28 Identify invalid data with a formula
4:28 Identify invalid data with conditional formatting
7:08 VBA options
7:44 Prevent drag and drop
9:57 WARNING!
10:32 Prevent copy and paste
11:34 Conclusion
★ Download 30 most useful Excel VBA Macros ebook for FREE ★
exceloffthegrid.com/
★ Where to find Excel Off The Grid ★
Blog: exceloffthegrid.com
Twitter: / exceloffthegrid
#MsExcel

Пікірлер: 29
@GrainneDuggan_Excel
@GrainneDuggan_Excel 3 ай бұрын
Being aware of the issues around data validation is a major step in ensuring our data is valid
@ExcelOffTheGrid
@ExcelOffTheGrid 3 ай бұрын
I agree 100%. Knowing the limitations allows us to create suitable processes to handle it. 👍
@TSSC
@TSSC 3 ай бұрын
Another source for breaking data validation is if the user select multiple cells and uses ctrl+enter to update all the selected cells. The validation of the active cell is evaluated, but not the validation rules in the other cells in the selection.
@ExcelOffTheGrid
@ExcelOffTheGrid 3 ай бұрын
Yes, that’s another good one.
@TSSC
@TSSC 3 ай бұрын
@@ExcelOffTheGrid Or bad one. A VBA prevention method would be to put Target.Cells(1).Select in Worksheet_SelectionChange.
@ivanmamchych5802
@ivanmamchych5802 3 ай бұрын
Thank you for the video. Suppose one of the future Excel upgrades will contain something like a new option in the "Protect Worksheet" list: "Prevent paste/drop to validated cells" or so
@ExcelOffTheGrid
@ExcelOffTheGrid 3 ай бұрын
Would be nice. 👍
@chriswall4795
@chriswall4795 3 ай бұрын
Copy paste has always been an issue with validation: constant irritation in my work! Thank you for this, but not sure we can use it because of restrictions on use of VBA
@ExcelOffTheGrid
@ExcelOffTheGrid 3 ай бұрын
Even if you allow VBA in your organization, if a user does not click Enable Macros, then a user can still do anything. A solid review process is key.
@rodolforibeiro6853
@rodolforibeiro6853 3 ай бұрын
I noticed this situation yesterday. Thank you very much for the tips!
@ExcelOffTheGrid
@ExcelOffTheGrid 3 ай бұрын
You're welcome!
@alterchannel2501
@alterchannel2501 3 ай бұрын
I have applied conditiinal formatting and created a simple macro that loops the cells to check the background color and clear that cell with a msgbox
@ExcelOffTheGrid
@ExcelOffTheGrid 3 ай бұрын
That's a very good technique. I'm guessing it took a while to find out how to do that.
@alterchannel2501
@alterchannel2501 3 ай бұрын
@@ExcelOffTheGridin my experience, there is never a unique way of solving issues, it always depends on the situation. Your channel has helped me a lot to find solutions for problems, so thanks a lot
@ziggle314
@ziggle314 3 ай бұрын
I have certainly been caught by the cut-and-paste issue multiple times. Since my organization frowns on VBA, I will likely use conditional formatting. Thanks!
@ExcelOffTheGrid
@ExcelOffTheGrid 3 ай бұрын
Even I would be uncomfortable with the VBA option in here. I think conditional formatting and a solid review process is the best option.
@maciejkopczynski55
@maciejkopczynski55 3 ай бұрын
Awesome stuff! One off-topic thing confused me though. How is it that our Worksheet subprocedures are set to “Private” and we still get to reference them inside a Workbook code section?
@ExcelOffTheGrid
@ExcelOffTheGrid 3 ай бұрын
Because I used the "Run" command and referenced the module. Run enables us to exclude any Private macro as long as we know the name of it.
@maciejkopczynski55
@maciejkopczynski55 3 ай бұрын
@@ExcelOffTheGridAwesome Mark! Thank you so much!
@andrewcharlesmoss
@andrewcharlesmoss 2 ай бұрын
I've only just discovered that the moving dashed line around a cell is called 'marching ants'. 😮 🐜🐜🐜
@ExcelOffTheGrid
@ExcelOffTheGrid 2 ай бұрын
I always assumed there was a proper name, but apparently it’s a common term in software design… en.m.wikipedia.org/wiki/Marching_ants
@scottjezard6447
@scottjezard6447 3 ай бұрын
Would CTRL+R cause issues, or would the prevent copypaste catch it?
@ExcelOffTheGrid
@ExcelOffTheGrid 3 ай бұрын
I think CTRL + R would break it - as you're not selecting another cell.
@ExcelWithChris
@ExcelWithChris 3 ай бұрын
As far as I know, VBA does not work in SharePoint environment? Is this true?
@ExcelOffTheGrid
@ExcelOffTheGrid 3 ай бұрын
Correct - it will only work in the desktop version.
@yulinliu850
@yulinliu850 3 ай бұрын
@ExcelOffTheGrid
@ExcelOffTheGrid 3 ай бұрын
😁
@Rice0987
@Rice0987 3 ай бұрын
Data validation is not about paste actions. Cause copied cell also copy all properties with itself. :)
@ExcelOffTheGrid
@ExcelOffTheGrid 3 ай бұрын
Excel 365 it doesn’t copy ALL the properties, it changes about 12 months ago. On a protected sheet the DV list is no longer over written by a paste.
Jitter plot in Excel | 100% dynamic | Excel Off The Grid
18:28
Excel Off The Grid
Рет қаралды 4,7 М.
Using SUMIFS with arrays | Excel problem... Solved! | Excel Off The Grid
13:22
Children deceived dad #comedy
00:19
yuzvikii_family
Рет қаралды 7 МЛН
1 or 2?🐄
00:12
Kan Andrey
Рет қаралды 30 МЛН
Пробую самое сладкое вещество во Вселенной
00:41
6 Excel Tools Most Users Never Think to Use (Files Included)
12:34
MyOnlineTrainingHub
Рет қаралды 89 М.
5 Excel Secrets You'll Be Embarrassed You Didn't Know
17:32
Excel Campus - Jon
Рет қаралды 83 М.
Return Multiple Values with Single Xlookup Statement
5:01
Learning With MO
Рет қаралды 10 М.
Say Goodbye to IF Statements in Excel with SWITCH
7:45
Teacher's Tech
Рет қаралды 448 М.
Power Query Calendar Table - including Financial & Non-Standard Calendars
8:37
This ~NEW~ Excel Function is Shockingly Powerful!
9:37
Chandoo
Рет қаралды 270 М.
Make Multiple Dependent Dropdown Lists in Excel (Easiest Method)
10:59
Table slicers for advanced interactivity in Excel | Excel Off The Grid
10:41
Children deceived dad #comedy
00:19
yuzvikii_family
Рет қаралды 7 МЛН