How to Limit Excel Drop-Down List Selections to 15 Uses
Question details
The user needs to restrict the number of times a specific option can be selected from a drop-down list to a maximum of 15 uses.
- Product
- Spreadsheet
- Device & OS
- not provided
- Scenario
- Assigning limited-capacity resources like training dates or venues where each drop-down option has a maximum usage limit.
- Observed behavior
- The user wants to implement a restriction using COUNTIF or COUNTIFS in Data Validation to prevent users from exceeding the 15-use limit for specific drop-down options.
Ensure your drop-down list source data is set up in a separate range and identify the exact column where users will be making their selections.
Use Custom Data Validation with the COUNTIF Function
Apply a custom data validation rule using the COUNTIF function to restrict how many times a single item can be selected in a given range.
By combining Excel's Data Validation feature with the COUNTIF function, you can dynamically count how many times an option has been chosen. When the count exceeds your specified limit (e.g., 15), the system will prevent the user from making that selection.
Highlight the cells where you want the drop-down list and restrictions to apply, for example, cells G2 through G99.
Navigate to the Data tab on the top ribbon and click on Data Validation.
In the Settings tab of the Data Validation dialog box, click the Allow drop-down menu and select 'Custom'.
In the Formula box, enter `=COUNTIF($G$2:$G$99,G2)<=15`. Ensure the range is locked with dollar signs so the rule applies consistently across the selected column.
Switch to the Error Alert tab, choose 'Stop' as the style, and type a custom warning message like 'This date or venue has reached its 15-use limit.' Click OK to apply.

Effortlessly Limit Drop-Down Choices in WPS Spreadsheet
WPS Spreadsheet fully supports advanced Data Validation and COUNTIF formulas, allowing you to easily manage capacity limits, training assignments, and inventory quotas without complex workarounds.
- 1. Open WPS Spreadsheet: Launch WPS Office and open the workbook containing your resource assignment list.
- 2. Access Data Validation: Select your input cells, navigate to the Data tab, and click Validation.
- 3. Apply Custom Rule: Select 'Custom' from the criteria list and input your COUNTIF formula to cap selections at 15.
- 4. Set Alert Message: Click the Error Alert tab to provide a clear explanation for users when a venue or date hits full capacity.

Frequently Asked Questions
Can I limit different drop-down options to different maximum numbers?
Yes, but it requires a more complex formula. You can set up a reference table with the options and their specific limits, then use a combination of COUNTIF and VLOOKUP in your custom data validation formula to check against individual limits.
Why is my custom validation formula not working for empty cells?
Ensure that the 'Ignore blank' checkbox is selected in the Data Validation dialog box. If it is unchecked, Excel might evaluate empty cells in a way that triggers a false validation error.
What happens if a user copies and pastes a value instead of selecting from the drop-down?
Copying and pasting a cell can overwrite and bypass standard Data Validation rules. To strictly enforce limits and prevent copy-pasting over rules, you may need to protect the worksheet or use VBA macro scripts.
Can I use COUNTIFS instead of COUNTIF to apply limits based on multiple conditions?
Yes. If your limit depends on multiple criteria (e.g., limiting a venue choice only for a specific date), you can use the COUNTIFS function in the custom validation formula: `=COUNTIFS(range1, criteria1, range2, criteria2)<=15`.




