In this article, we will learn How to use data validation with no punctuation in Excel.
Data validation tool restricts the user to input data to ensure its accuracy and consistency in Excel. It helps in the consistency of the data. It guides the user to input the type of option which is necessary for your worksheet. Here the problem is, we need to check the cell, if it has punctuation or not. If the cell has any punctuation mark, that value must be rejected by Excel. If you want to learn more about Data validation in Excel, follow the link. Here we will just consider the problem, allow values only with no punctuation.
How to solve the problem?
Here we have a task that only allows entries with no punctuation. So we need to focus on a list of punctuation to check.
The use of functions and a tool will help us get through the problem.
The formula be used in Data Validation tool. The formula checks the condition and returns True or False. Here the True means that the punctuation doesn't exist, so the tool accepts the value.
All of these might be confusing to understand. So, let's test this formula via running it on the example shown below. Here we will apply data validation on the cell to restrict the user to input any value which has punctuation. So below is the formula to use in the data validation tool.
Use the formula:
$ : freezes reference
$E$4:$E$10 : array of all punctuation
C4 : cell to check
Here we have punctuation in the E4:E10 array and to check is C4 cell. Now here the formula is used for the C4 cell. Copy the formula to other remaining cells using the shortcut Ctrl + D. Now we will input values in the cell to check.
Now we use the value with punctuation.
As you can see the value is not accepted by Excel and throws an error "This value doesn't match the data validation restrictions defined for this cell". You can also customize the error message and alert message to let users know what values are prohibited. Edit values as shown below.
As you can see, there is a caution sign saying "No punctuation". Now edit the error message.
As you can see, you get the caution and alert message as required. This Error alert message will be shown whenever a punctuation value is used. Now fill your database without hesitation.
As you can see here are all the values without punctuation.
Here are all the observational notes regarding using the formula.
Hope this article about How to use data validation with no punctuation in Excel is explanatory. Find more articles on Date & Time functions here. If you liked our blogs, share it with your friends on Facebook. And also you can follow us on Twitter and Facebook. We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you. Write us at email@example.com
Data Validation in Excel : restricts user to input value manually using this tool in Excel.
Way to use Vlookup function in Data Validation : allow values from the vlookup table in Excel.
Restrict Dates using Data Validation : allow dates in the cell which lays within Excel date format in Excel.
How to give the error messages in Data Validation : customize your data validation cell with error messages in Excel.
Create Drop Down Lists in Excel using Data Validation : restricts users to input data manually in Excel.
50 Excel Shortcut to Increase Your Productivity : Get faster at your task. These 50 shortcuts will make you work even faster on Excel.
How to use the VLOOKUP Function in Excel : This is one of the most used and popular functions of excel that is used to lookup value from different ranges and sheets.
How to use the COUNTIF function in Excel : Count values with conditions using this amazing function. You don't need to filter your data to count specific values. Countif function is essential to prepare your dashboard.
How to Use SUMIF Function in Excel : This is another dashboard essential function. This helps you sum up values on specific conditions.
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.