Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to only allow certain values input or enter in Excel?

In Excel, we can protect cells for limiting users doing some special edit, but it cannot limit users to only input certain values. In this article, I introduce some tricks on only allowing certain values input in some cells in Excel.

Only allow certain values input with Data Validation

Only allow certain characters input with Kutools for Excel good idea3


good idea4Prevent Duplicate

In some cases, you may want to prevent duplicates entering in a column, but how can you quickly solve this job? With Kutools for Excel' s Prevent Duplicate utility, you just need to select the column you want to limit and applyy Prevent Duplicate, the selected column has been limited to enter unique values only.
doc prevent duplicate


The Data Validation function in Excel can help you to only allow certain values input in a selection.

1. Firstly, you need to enter the values you allow input in a list of cells. See screenshot:
doc only allow certain value input 1

2. Then select the cells you want to limit only the certain values input, and click Data > Data Validation. See screenshot:
doc only allow certain value input 2

3. Then, in the Data Validation dialog, under Settings tab, select List from the drop down list under Allow section, and clickdoc select to select the list of values you have edited in step 1 to the Source box. See screenshot:
doc only allow certain value input 3

4. Click OK. Now the selection is only allowed to input with certain values. See screenshot:
doc only allow certain value input 4

If you enter other values which are not in the list, there will be an alert pops out.
doc only allow certain value input 5


If you want to only allow certain characters input in a selection, you can try Kutools for Excel – a handy and multi-functional tool, with it Prevent Typing utility, the selection will be only allowed to enter certain characters you specify.

Kutools for Excel, with more than 120 handy Excel functions, enhance your working efficiency and save your working time.

After free installing Kutools for Excel, please do as below:

1. Select the cells you want to limit, and click Kutools > Prevent Typing > Prevent Typing. See screenshot:
doc only allow certain value input 6

2. In the popping dialog, check Allow to type in these chars option, and enter the characters you allow input into the below text box, and check Case sensitive option. See screenshot:
doc only allow certain value input 7

3. Click Ok, and a dialog pops out to remind it will remove the Data Validation and click Yes to go to next remind dialog, and click OK to close it. See screenshot:
doc only allow certain value input 8

Now the Selection only can be allowed to type in A, B, C, D, E characters.
doc only allow certain value input 9

Tip: If you uncheck Case sensitive option, the selection can be input A, B, C, D, E, a, b, c, d, e.


Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.