In Excel for Microsoft 365 on Windows, a data validation custom list is a dropdown menu that limits cell entries to choices you specify. Select the cells, go to Data > Data Validation, choose List under Allow, and enter the choices in Source or point to a range containing them.
What a custom validation list does
Excel’s Data Validation feature can restrict what people enter in a cell. Choosing List creates an in-cell dropdown, letting someone pick an approved value such as a department, order status, or product type instead of typing it. A simple list might contain New, In progress, and Complete.
The list is a rule attached to cells, not a special kind of worksheet cell or a separate Excel object. The rule can display a dropdown, show an input message, and respond when someone enters a value that is not on the list. You can apply the same rule to one cell or a whole range.
A dropdown is useful for consistent data. For example, if one person enters In progress and another enters In Progress, Excel may treat those as different text when you sort, filter, or summarize the entries. A controlled list helps reduce such variations.
Create a basic dropdown list
For a short list that will rarely change, type the choices directly into the validation settings. In Excel for Microsoft 365 on Windows:
- Select the cell or cells where the dropdown should appear.
- Open Data > Data Validation. If the command is unavailable, check whether the worksheet is protected or the selected cells are being edited.
- On the Settings tab, choose List in the Allow box.
- Make sure In-cell dropdown is selected. Enter the choices in Source, separated by the list separator used by your Excel settings; commas are common.
- Choose OK, then select a cell with the rule and use its dropdown arrow to see the options.
For example, a Source entry of North,South,West creates three choices in many regional settings. Regional settings can change the character Excel expects between items, so if Excel treats the entire entry as one choice, check the list separator for your setup. Directly typed lists also have a 255-character limit and are awkward when an item itself contains the separator. A range on the worksheet is usually better for longer or frequently edited lists.
Use worksheet cells as the source
Putting list items in worksheet cells makes them easier to review, reorder, and update. Create a sheet named Lists, enter choices in A2:A5, and select the cells that need the dropdown. In Data Validation, set Allow to List and use the range as the Source. When the source is on the same worksheet as the validated cells, you can select it with the mouse while the Source box is active.
A direct source reference to another worksheet is generally not accepted in the Data Validation Source box. A defined name is a practical way to use a list stored on a separate sheet:
- With the choices in Lists!A2:A5, open Formulas > Name Manager and choose New.
- Give the name a clear label, such as StatusChoices. In Refers to, enter
=Lists!$A$2:$A$5. - Select the cells that need the dropdown. Open Data > Data Validation, choose List, and enter
=StatusChoicesin Source.
This example assumes the list items are in A2:A5 on a worksheet named Lists. The result is a dropdown showing those four cells’ values. If the sheet name contains spaces, Excel requires apostrophes around it in a sheet reference, as in ='Product Lists'!$A$2:$A$5. A defined name also makes the validation rule easier to understand than a long cell reference.
Make a list that can grow
A fixed range works well when the available choices are known. If new items will be added, plan for that change: a rule pointing only to A2:A5 will not automatically include a new value typed in A6. One option is to convert the source range into an Excel table. On the source sheet, select the list and use Insert > Table, making sure the table has a header. Tables expand when you add rows, although a structured reference may need a defined name before it can be used conveniently as a validation source.
For a dynamic list in Microsoft 365, you can also generate choices with a spill formula and use a defined name for the resulting range. Suppose the raw entries are in Lists!A2:A100 and you want a sorted list without duplicates in Lists!C2. Enter this in C2:
With source values in Lists!A2:A100 and the generated list starting in Lists!C2, use =SORT(UNIQUE(A2:A100)). The formula returns the distinct values in ascending order and spills them into the cells below C2. It requires Microsoft 365 or Excel 2021 for SORT and UNIQUE.
To use the result as a dropdown source, create a defined name called StatusChoices with Refers to set to =Lists!$C$2#, then use =StatusChoices as the Data Validation Source. The # refers to the whole spilled range. This setup updates the dropdown as the source values change, provided the formula has room to spill and the defined name still points to the correct formula cell.
Set messages and invalid-entry behavior
Data Validation has more settings than the list itself. On the Input Message tab, you can show a short prompt when a user selects a cell. A message such as Choose the status that best matches the current order gives useful guidance without taking up space in the worksheet.
On the Error Alert tab, you can choose what Excel does when someone enters a value that is not in the list through normal typing. The available styles have different effects:
- Stop: blocks the entry and asks the user to correct it or cancel.
- Warning: alerts the user but allows the entry if they confirm they want to continue.
- Information: displays a notice that can be dismissed while keeping the entered value.
For a list intended to enforce a standard, use Stop and provide a helpful error message. If unusual values are allowed with approval, Warning may be more appropriate. The Error Alert does not make the worksheet secure: people can paste data into cells, use other tools, or change the validation settings. Validation is a data-entry aid, not access control or a guarantee that every value in the workbook is valid.
Maintain and apply the rule
When applying a rule to many cells, select the full target range before opening Data Validation. You can also set up one cell, copy it, select the other cells, and use Home > Paste > Paste Special > Validation to copy the rule without replacing the destination cells’ contents. Check the selected range afterward, especially if some cells already had different validation settings.
Editing a source list changes the dropdown choices when the rule refers to that source. However, it does not automatically fix existing cell values that have become invalid. For instance, if you remove Archived from the list, cells that already contain Archived keep that value. Review existing data when you retire or rename an option.
To remove a rule, select the affected cells and open Data > Data Validation, then choose Clear All in the dialog. This clears the validation settings; it does not delete the cell contents. If you only need to change the choices, update the source range or defined name instead of clearing the rule.
Common problems and fixes
- The dropdown arrow is missing: Reopen Data Validation and check that Allow is set to List and In-cell dropdown is selected. Also make sure the cell is not being edited; the arrow is easiest to see when the cell is selected.
- The dropdown shows one combined choice: Check whether your regional list separator differs from a comma. A cell range or defined name avoids having to separate typed entries in the Source box.
- New options do not appear: Confirm that the rule points to a range that includes the new cells. A fixed reference does not expand just because someone types below it. Use a suitably sized range, a table-based setup, or a dynamic named range.
- A valid-looking entry is rejected: Compare it with the source value for extra spaces, punctuation, or spelling differences. Also check whether the source includes blank cells or whether the defined name refers to the intended sheet and range.
- Invalid values are still present: Validation does not retroactively clean a range. Review existing entries when creating a rule or changing its source; a pasted value may also bypass the normal entry prompt.
Custom lists versus other Excel features
Do not confuse a Data Validation list with Excel’s custom lists for sorting. A validation list controls choices entered in selected cells. Excel’s custom sort lists set a preferred sort order, such as Small, Medium, Large, rather than alphabetical order. The two features can use similar terms, but they solve different problems.
Also distinguish a validation dropdown from a Combo Box control. A dropdown made through Data Validation lives in the cell and stores the chosen text there. A Combo Box is a form or ActiveX control with its own properties and, depending on its type, a linked cell. For ordinary worksheet data entry, validation is usually simpler to create and maintain.
Use a directly typed list for a handful of stable choices. Use a worksheet range when the list needs to be visible, edited, or shared with workbook maintainers. Consider a defined name for a source on another sheet, and a dynamic source when entries are regularly added or generated from changing data. The simplest approach that meets the real maintenance needs is usually the easiest to troubleshoot.
Frequently Asked Questions
Can I put a data validation list on another sheet?
Yes. Store the choices on the other sheet, define a name that refers to the cells, and use that name in the validation Source box. Excel generally does not accept a direct reference to another sheet in that box.
Can the dropdown update when I add a new choice?
Yes, if its source expands with the list. A fixed range will not include items typed beyond its last cell. Use a table-based approach or a dynamic named range, and verify that the validation rule points to the expanding source.
Can users type a value that is not in the list?
With a Stop error alert, Excel blocks invalid values entered normally. Warning and Information alerts let users proceed after a notice. Pasting or changing the workbook can bypass the expected safeguards, so validation should not be treated as security.
Can a list item contain a comma?
Yes, when the list comes from worksheet cells. A directly typed list uses the regional list separator to divide items, so a separator inside an item can make that format ambiguous. A cell range avoids that issue.
Does changing the list fix old entries?
No. Removing an option from the source does not erase or replace values already stored in validated cells. Review existing data separately after changing the allowed choices.
Related
- Microsoft Excel Print Area: Set, Change, and Clear
- Microsoft Excel Protect Sheet: Steps, Limits, and Tips
- Microsoft Excel Named Ranges: How They Work and Help
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Excel Table: Print Headers on Every PageYes. In Excel for Microsoft 365 on Windows, open Page Layout > Print Titles and set the table’s…
- Excel Undo Shortcut: Keys, Limits, and How It WorksIn Excel for Microsoft 365 on Windows, press Ctrl+Z to undo your most recent action. On a Mac,…
- Google Sheets COUNTIF Format: Syntax, Criteria, ExamplesIn Google Sheets, COUNTIF uses the format =COUNTIF(range, criterion) to count cells that meet one condition. For example,…
- Clear Cache and Cookies in Outlook: Step-by-StepTo clear Outlook cookies, remove the site data for Outlook in the browser you use. To refresh cached…
- Add a Line Below a Header in Word: Borders and ShapesTo add a line below text in a Word page header, open the header, click in its text…
- How to Schedule an Outlook Email to Send LaterYes. In Outlook, compose your email, open the menu beside Send, choose Schedule send, and select a delivery…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.