Skip to main content

Quickly only allow specific characters to be entered in a range of cells

Kutools for Excel

Boosts Excel With 300+
Powerful Features

In Excel, have you ever tried to prevent any characters but only allow some specific characters to be entered into a range of cells? May be the Data Validation feature with a long formula can help you to solve this job. However, if you have Kutools for Excel, with its Prevent Typing utility, you can only allow some specific characters to be entered in a range of cells easily and quickly without any formula.

Only allow specific characters to be entered in a range of cells


Only allow specific characters to be entered in a range of cells

To limit other characters but only allow some specific ones to be entered into a worksheet, please do as follows:

1. Select one column or a range of cells where you need to only allow certain characters to be inputted.

2. Then click Kutools > Prevent Typing > Prevent Typing, see screenshot:

shot allow specific characters 01

3. In the Prevent Typing dialog box, please do the following operations:

(1.) Select Allow to type in these chars option under the Define restrictions section;

(2.) Then enter the characters which you allow to be inputted in selection only, or you can click shot only allow specific characters 3 button to select the cells which contain the characters you want to only allow to be inputted;

(3.) Check the Case sensitive if you want the entered characters are case sensitive, if not, please uncheck.

shot only allow specific characters 2

4. And then click Ok button, a message box will pop out to remind you the original data validation will be removed after applying this feature, see screenshot:

shot only allow specific characters 4

5. If you want to continue, please click Yes button, another prompt box is popped out to remind you only certain characters are allowed entered in the selection, see screenshot:

shot only allow specific characters 5

6. Now, when you enter the characters beyond your specified in the selection, a warning message will pop out, see screenshot:

shot only allow specific characters 6

Demo: only allow specific characters to be entered in a range of cells

Kutools for Excel: with more than 300 handy features, free to try with no limitation in 30 days. Download and free trial Now!

Productivity Tools Recommended
The following tools can greatly save your time and money, which one is right for you?
Office Tab: Using handy tabs in your Office, as the way of Chrome, Firefox and New Internet Explorer.
Kutools for Excel: More than 300 Advanced Functions for Excel 2021, 2019, 2016, 2013, 2010, 2007 and Office 365.

Kutools for Excel

The functionality described above is just one of 300 powerful functions of Kutools for Excel.

Designed for Excel(Office) 2021, 2019, 2016, 2013, 2010, 2007 and Office 365. Free download and use for 30 days.

Screen shot of Kutools for Excel

btn read more      btn download     btn purchase

Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations