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:

Free Trial Kutools for Excel 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:

Free Trial Kutools for Excel Now


Tip: In this Video, Kutools tab and Enterprise tab are added by Kutools for Excel. If you 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

Office Tab

gold star1 Bring handy tabs to Excel and other Office software, just like Chrome, Firefox and new Internet Explorer.

Kutools for Excel

gold star1 Amazing! Increase your productivity in 5 minutes. Don't need any special skills, save two hours every day!

gold star1 200 New Features for Excel, Make Excel Much Easy and Powerful:

  • Merge Cell/Rows/Columns without Losing Data.
  • Combine and Consolidate Multiple Sheets and Workbooks.
  • Compare Ranges, Copy Multiple Ranges, Convert Text to Date, Unit and Currency Conversion.
  • Count by Colors, Paging Subtotals, Advanced Sort and Super Filter,
  • More Select/Insert/Delete/Text/Format/Link/Comment/Workbooks/Worksheets Tools...

Screen shot of Kutools for Excel

btn read more btn download btn purchase

Comments  

Permalink +2 MMDube
The content is detailed with full explanations.
2013-10-29 09:19 Reply Reply with quote Quote
Permalink 0 FAISALAMIN
THANK YOU SO MUCH YOU DID MY WORK GO EASY........... ......... :lol:
2013-11-12 20:20 Reply Reply with quote Quote
Permalink +1 ZA
Thanks so much, really appreciate the help. :lol:
2014-10-02 08:02 Reply Reply with quote Quote
Permalink 0 ratish
sir
my work book i fill value 5000 automatic convert 50
4000 40 . i want not convert 5000 = 5000 and 4000 = 4000 ?
2015-08-27 01:10 Reply Reply with quote Quote
Permalink 0 Nate
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.
2016-11-15 12:15 Reply Reply with quote Quote
Permalink 0 M ARIF
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
2017-04-04 18:02 Reply Reply with quote Quote
Permalink 0 Khayrul Amin
HI,
I want to insert data in excel as below. How?

1
2
1
2
1
2
1
2
2017-04-20 05:57 Reply Reply with quote Quote

Add comment


Security code
Refresh