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.
Kutools for Excel provides a quite easy way to protect or lock specified cells from editing in Excel: unlock the whole worksheet by Selection Unlock button, next lock the specified cells you will lock from editing by Selection Lock button, at last protect current worksheet. Click for detailed steps.
Recommended Productivity SoftwareOffice Tab: Use tabbed interface in Office as the use of web browser Chrome, Firefox and Internet Explorer.
Kutools for Excel: Adds 120 powerful new features to Excel. Increase your productivity in 5 minutes. Save two hours every day!
Classic Menu for Office: Brings back your familiar menus to Office 2007, 2010, 2013 and 2016 (includes Office 365).
You can set numeric value entries with specific limitation with following steps:
Step 1: Select the range that you will set the numeric value entries.
Step 2: Click the Data Validation button in the Data Tools group under Data tab.
Then the Data Validation dialog box pops up, and specifies the setting with following Step 3 and Step 4:
Step 3: In the Data Validation dialog box, select the Whole number item from the Allow: drop down box.
Step 4: In the Data validation dialog box, select one item from the Data: drop down box according to your needs.
Step 4: Input specific numbers for limitation in Maximum/Minimum/Length box according to your needs.
Step 5: Click OK.
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.
You can set limitation for text entries with following steps:
Step 1: Preset all texts that other users can enter in cells, saying preset a list of name in A1: A9 as following screen shot show:
Step 2: Select the range that you will set limitation for text entries in cells.
Step 3: Click the Data Validation button under Data tab.
Step 4: In the Data Validation dialog box,
- Select the List item from the Allow: drop down list
- Check the In-cell dropdown option
- Click the button to specify the preset source. In this case, it is the name list in A1:A9.
Step 5: Click OK.
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.
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 with below screen shot:
Is your problem solved?
Recommended Productivity Tools
Office Tab: Using handy tabs in your Office, as the way of Chrome, Firefox and New Internet Explorer.
Kutools for Excel: 120 powerful new functions for Excel, Increase your productivity in 5 minutes. Save two hours every day!
Classic Menu for Office: Bring back familiar menus to Office 2007, 2010, 2013 and 365, as if it were Office 2000 and 2003.
Amazing! Increase your productivity in 5 minutes. Don't need any special skills, save two hours every day!
More than 120 powerful advanced functions which designed for Excel:
- 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...