Check data entry in Excel
Regarding checking data entry in Excel in addition to using VBA, there is another simpler way that is using Data Validation tool of Excel.
Regarding checking data entry in Excel in addition to using VBA, there is another simpler way that is using Data Validation tool of Excel.
For example, when checking product codes, suppose you have a product code contained in the range A1: A20 of Sheet1 , the item code entry part in range A1: A10 in Sheet2 .
To make it easier to manage this range, name it by selecting Insert à Name à Define , naming the Sheet1! A1: A20 area as Mahang , clicking OK .
To enter the test conditions for this region, do the following:
Go to Sheet2 à Select area A1: A10 and Select Data and Data Validation .
On the Settings tab , Validation Criteria select Allow : List , Source enter = Mahang , check the Ignore Blank box if you want to ignore the empty boxes, In-cell dropdown box if you want a drop-down list box.
Switch to the Input Messsage tab, enter the instructions, select Show input . if you want the instructions to appear when the cell is selected.
Switching to the Error Alert tab enter the warning information when it is entered incorrectly, select Show error . if you want to show the warning information.
Click OK .
Now when entering data in Sheet2! A1: A10 area , a Dropdown List box appears and almost certainly you don't have a chance to enter the wrong code!
In addition, you can refer to other advanced data entry techniques at the following websites:
- English: www.contextures.com/tiptech.html, download the example file www.contextures.com/DataValSample.zip
- Vietnamese: www.webketoan.com, www.giaiphapexcel.com (http://www.giaiphapexcel.com/forum/showthread.php?t=98&highlight=Data+Validation).
Nguyen Trong Thanh
Email : ng.tr.thanh@gmail.com; ntthanhhp@vnn.vn
Discover more
data com www enterShare by
Samuel DanielYou should read it
- Method to enter data simultaneously into multiple sheets
- Tricks to import data in Excel fastest
- How to enter a text into multiple Excel cells at the same time
- How to Enter Data in SPSS
- MS Access 2003 - Lesson 7: Enter information for the table
- The Quiet Details That Make a Sports Betting Platform Feel Reliable
- Instructions on creating toy set images with ChatGPT AI
- How are AI agents changing the journalism industry?
- 10 quick operations with MS Office
- Manually print shortcuts in MS Word
- Open and save Word documents