Guide: Implementing Data Entry Limits in Excel Using Data Validation Techniques
Guide: Implementing Data Entry Limits in Excel Using Data Validation Techniques
If you use Excel spreadsheets to collect data from other people, but find that they often fill your carefully-planned cells with the wrong kind of information, data validation can help.
This tool lets you restrict specific cells to only allow properly-formatted data. If someone enters anything that’s not supposed to be there—like “lunch at airport” instead of “$15.68” on an expense report—Excel rejects the input until they get it right. Think of it as a passive-aggressive way to make sure people don’t waste your time.
As an example, here’s the basic expense report worksheet for How-To Geek. Let’s say we want to make sure that people only enter numerical values that are formatted as currency (i.e., some digits, followed by a decimal point, followed by two more digits) into certain cells.
First, select all the cells you want to restrict.
Switch over to the “Data” tab on the Ribbon, and then click the “Data Validation” button. If your window isn’t full size and you can’t see the labels, it’s the icon with two horizontal boxes, a green check mark, and a red crossed circle.
In the Data Validation window, on the “Settings” tab, click the “Allow” dropdown menu. Here, you can set a specific type of input to allow for your selected cells. For our expense report, we’re going to insist that users put in a number with two decimal values, so we would select the “Decimal” option. You can also select other criteria, like making sure a cell contains text, a time or date, text of a specific length, or even your own custom validation.
Whatever type of data you select on the “Allow” dropdown changes the options available to you on the rest of the “Settings” tab. Since we want a numerical value corresponding to currency, we’re setting the “Data” dropdown to the “between” setting. Then, we’re configuring a minimum value of 0.00 and a maximum value of 10000.00, which is way more than enough to cover our needs.
To test it our, click “OK” to apply the validation settings, and then try putting in an improper value. For example, if we type “pancakes” for the Breakfast value instead of the cost of the meal, we’ll get an error message.
While that does restrict people to entering only the correct type of data, it doesn’t give them any feedback on what type of data is required. So, let’s set that up, too.
Head back to the Data Validation window (Data > Data Validation on the Ribbon). You’ve got two options here (and you can use both of them if you want). You can use the “Input Message” tab to have a pop-up tool tip show people the type of data you want whenever they select a cell for which data validation is turned on. You can also use the “Error Alert” tab to customize the error they see when they enter the wrong type of data.
Let’s switch over to the “Input Message” tab first. Here, make sure the “Show input message when cell is selected” option is turned on. Then, give your input tooltip a title and some text. As you can see below, just clicking in one of the cells pops up the message letting people know what’s expected.
On the “Error Alert” tab, you can customize the error message people see when they enter the wrong type of data. Make sure the “Show error alert after invalid data is entered” option is turned on. Pick a style for your error message from the “Style” dropdown. You can go with a Stop (the red circle with the X), Warning (yellow triangle with an exclamation point), or Information (blue circle with a lowercase “i”), depending on how strong you want the message to come across.
Type a title for your message, the text of the message itself, and then hit “OK” to finish up.
Now, if someone tries to enter improper data, that error message is a little more helpful (or sarcastic, if you prefer).
It’s a bit of extra legwork setting up data validation, but it can save you a lot of time later on if you use spreadsheets for collecting data from other people. It’s even useful for preventing your own mistakes. And this is doubly true if you’ve set up formulas or any kind of automation tasks that rely on that data.
Also read:
- [New] Enhancing Instagram Presence Vimeo Videos Included for 2024
- [Updated] High-Quality Android Photoshoppers for 2024
- [Updated] Pinnacle Gadgets The Leading Smartphones for Artists
- 2024 Approved An Overview and Comparative Study of Google's Augmented Reality Stickers
- Download Logitech G920 Mouse Drivers: Compatible with Windows 11, 10, 8 & 7
- Expert Reviews: Unveiling the Most Durable & Stylish 11 iPad Air Cases for This Year
- Free Download: Compatible MSI Bluetooth Drivers for Windows 11 & Windows 10
- Free Music Making Software The Top 10 Picks for 2024
- Guide: Resolve Compatibility Issues Between HP Monitors & Windows 10/8/7 Drivers
- Hassle-Free MSI Graphics Driver Installation Guide for Windows 11/7
- How to Update Your PC's Sound Card Software on Windows Platform
- In 2024, Easy Guide to Capturing YouTube Content
- In 2024, How To Bypass Xiaomi 14 Pro FRP In 3 Different Ways
- Install the Newest Intel Network Driver Software for Windows Operating Systems: 11, 10 & Nv7
- New In 2024, Animation Drawing Made Easy Top 7 Software Solutions
- Step-by-Step Instructions for Downloading and Setting Up Epson XP-400 Drivers
- TP-Link Wireless NIC Drivers for Windows 10/8/7 - Download Latest Versions
- Title: Guide: Implementing Data Entry Limits in Excel Using Data Validation Techniques
- Author: David
- Created at : 2024-10-16 16:32:10
- Updated at : 2024-10-20 17:04:02
- Link: https://win-dash.techidaily.com/guide-implementing-data-entry-limits-in-excel-using-data-validation-techniques/
- License: This work is licensed under CC BY-NC-SA 4.0.