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 limit cell entry to numeric value or a list in Excel?

Sometimes you design a workbook, and you want to control what people can enter in worksheet. For example, you can limit cell entry to a range of numeric value or a specific list. This article will show you the ways to limit cell value entries in Excel quickly.

Limit cell entry to whole numbers or numbers in a given range

Limit cell entry to any numeric value (whole/decimal numbers)

Limit cell entry to a list of text value entries

Limit entering duplicates in one column/list with one click

Easily Limit Cell Entry to Whole / Decimal Numbers Only in Excel



arrow blue right bubbleLimit cell entry to whole numbers or numbers in a given range

You can set numeric value entries with specific limitation with following steps:

1. Select the range that you will set the numeric value entries, and click the Data > Data Validation. See screenshot:

2. In the opening Data Validation dialog box, go to the Setting tab, and:

(1) Select the Whole number item from the Allow drop down box. See the first screenshot below:

  

(2) Select one item from the Data drop down box according to your needs. See the second screenshot above:

(3) Input specific numbers for limitation in Maximum/Minimum/Length box according to your needs.

3. Click OK button.

This method is only able to set limitation for numeric values entered in cells. And the following method will guide you to set limitation for text entries.


arrow blue right bubbleLimit cell entry to any numeric value (whole/decimal numbers) or prevent from certain characters

If you have Kutools for Excel installed, you can apply its Prevent Typing feature to limit cell entry to numeric values, letters, or other special characters as you need, and also support to prevent from typing numeric numbers, letters, or specific characters in Excel.

Limit cell entry to whole numbers or decimal numbers only:

Prevent from typing letters in the specified range:

Kutools for Excel - Includes more than 300 handy Excel tools. Full feature free trial 60-day, no credit card required! Get it now!


arrow blue right bubbleLimit cell entry to a list of text value entries

You can set limitation for text entries with following steps:

1. Preset all texts that other users can enter in cells, saying preset a list of name in A2:A10 as following screen shot show:

2. Select the range that you will set limitation for text entries in cells, and click the Data > Data Validation.


arrow blue right bubbleLimit cell entry to a list of text value entries

You can set limitation for text entries with following steps:

1. Preset all texts that other users can enter in cells, saying preset a list of name in A2:A10 as following screen shot show:

2. Select the range that you will set limitation for text entries in cells, and click the Data > Data Validation.

3. In the Data Validation dialog box, go to the Setting tab, and:

(1) Select the List item from the Allow drop down list;

(2) Check the In-cell dropdown option;

(3) Specify the preset source. In this case, it is the name list in A2:A10.

4. Click the OK button.

Then select one cell in the range with text entries limitation, it adds an arrow besides the active cell. Click the arrow , it shows a drop down list with preset name list. You can select one name to fill active cell easily. See screenshot below:



You can also set Input Message for numeric or text cell entries limitation, and set Error Alert for limitation as well.


arrow blue right bubble Limit entering duplicates in one column/list with one click

Sometimes, you may be required to enter unique values in a column or a list. You can get it done with only one click by Kutools for Excel’s Prevent Duplicates utility.

Select the column or list that you will limit entering duplicates, and then click Kutools > Prevent Duplicates. From now on, when duplicate entries occur in the specified column or list, it will warn you immediately:

Kutools for Excel - Includes more than 300 handy Excel tools. Full feature free trial 60-day, no credit card required! Get it now!


In this Video, the Kutools tab and the Kutools Plus tab are added by Kutools for Excel. If need it, please click here to have a 60-day free trial without limitation!


arrow blue right bubbleRelative article:

How to limit characters length in a cell in Excel?


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.
  • To post as a guest, your comment is unpublished.
    Khayrul Amin · 2 years ago
    HI,
    I want to insert data in excel as below. How?

    1
    2
    1
    2
    1
    2
    1
    2
  • To post as a guest, your comment is unpublished.
    M ARIF · 2 years ago
    how it could be possible that i assigned a limit "250" , and a cell show only 200 in this cell and above value than 200 show in other cell
  • To post as a guest, your comment is unpublished.
    Nate · 2 years ago
    how do I limit the value of a cell depending on another cell? For example users can select either Kg or Lbs for units of weight, and the limit depends on the units selected.
  • To post as a guest, your comment is unpublished.
    ratish · 3 years ago
    sir
    my work book i fill value 5000 automatic convert 50
    4000 40 . i want not convert 5000 = 5000 and 4000 = 4000 ?
  • To post as a guest, your comment is unpublished.
    ZA · 4 years ago
    Thanks so much, really appreciate the help. :lol: