In this article, we will learn how to validate only uppercase text entries in Excel 2016.
Problem:
Here we have a task where only uppercase text entries are allowed. So we need to check two conditions at the same time.
How to solve the Problem:
Validation of uppercase text entries is done with the use of Excel functions. The following steps will be a guide, how to validate text entries.
The use of functions will help us get through the situation.
We will construct a formula out of it. First the text would be checked that it is text or not. Then the text will have to match with the uppercase of the same text. Last but not the least AND operator will check if only the above two conditions matches.
Generic formula:
Explanation:
Let's get this through with this via using the formula using .
Here we have a list of Full forms and we need to fill the short form list.
But we need to lock these input cells with some rules. Now we learn how to do it.
We will use the data validation attribute of excel. Follow the steps to do the same:
3. The Data validation dailog box appears in front.
4. In the Settings option, select the Custom option from the Allow list.
5. The formula box will appear under the same option.
6. We will construct a formula out of it. First the text would be checked that it is text or not. Then the text will have to match with the uppercase of the same text. Last but not the least AND operator will check if only the above two conditions matches.
7. Use the formula in the formula box.
Explanation:
7. Fill in the details as shown above. Click OK
Now when I enter the value as shown below. A default error generates.
As you can see an error is generated "This value doesn't match the data validation restrictions defined for this cell".
But now the problem is how the user knows what restrictions are there and what type of value the cell can accept.
So for this, we will customize some changes as shown below.
In Error alert option, type the details under Title & Error Message box as shown above.
Click Ok.
A message is displayed when the cell is selected and an error message is displayed as shown below.
Now fill in the right answers to complete the table.
To copy the data validation to the adjacent cells use the drag down or drag right option in excel.
Now our table is complete. Now it's user friendly and informative as well.
Hope you understand how to Validate only uppercase data validation in Excel. Explore more articles on Accounting here. Please write your queries in the comment box below. We will help you.
Related Articles:
Data Validation in Excel : restricts user to input value manually in Excel.
Way to use Vlookup function in Data Validation : allow values from the vlookup table in Excel.
Restricted Dates using Data Validation : allow dates in the cell which lays within Excel date format.
How to give the error messages in Data Validation : customize your data validation cell with error messages.
Create Drop Down Lists in Excel using Data Validation : restricts user to input data manually.
Popular Articles
50 Excel Shortcut to Increase Your Productivity
If with conditional formatting
Convert Inches To Feet and Inches in Excel 2016
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.