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

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.


Limit 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.

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Free Trial Now!

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 tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now


Limit 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.


Limit 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.

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Free Trial Now!

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 tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now


Demo: only allow or prevent from typing specified characters in Excel


Kutools for Excel includes more than 300 handy tools for Excel, free to try without limitation in 30 days. Download and Free Trial Now!

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

Full Feature Free Trial 30-day!

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now

Relative article:

How to limit characters length in a cell in Excel?


The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
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 · 3 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 · 3 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 · 3 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 · 4 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 · 5 years ago
    Thanks so much, really appreciate the help. :lol:
  • To post as a guest, your comment is unpublished.
    FAISALAMIN · 6 years ago
    THANK YOU SO MUCH YOU DID MY WORK GO EASY.................... :lol:
  • To post as a guest, your comment is unpublished.
    MMDube · 6 years ago
    The content is detailed with full explanations.