In this article we will learn how to restrict cell entries to text only in Microsoft Excel 2010.
While working on reports, you may want to prevent the users from entering any value other than text. To prevent users from entering numbers in a cell, we will use Excel’s built in feature Data Validation.
Let us take an example:
In column A, we want to ensure that only text can be entered into the cells.To prevent the users from entering numbers in column A.
- Select column A.
- Click on Data ribbon
- In Data Tools group, click on Data Validation
- The Data Validation dialog box will appear
- In Settings tab, select Custom in Validation criteria & enter the formula as =ISTEXT(A1) in Formula box
- The above mentioned formula will prevent the users from entering digits as it will allow the user to enter only text in column A.
- Click on OK
- If we enter text then Excel will allow us while if we try to enter the numbers then it will display an error message
- In above shown screenshot, cell A1 contains “http://www.exceltip.com/tips” which is a text, and Data Validation feature will allow to enter any text if we try to enter a number in cell A3 then it will not be allowed & an error message will pop-up.
Using Excel’s built in feature Data Validation, we can make customized reports for the end user to enter the information that we are looking for.