In Microsoft Excel, a drop-down list is used to enter data into a spreadsheet from a predefined items list, limiting the number of choices available to the user. It prevents spelling errors, makes data input faster, and allows for easier spreadsheet filtering. In this Excel tutorial, we’ll demonstrate how to create a drop-down list using the application’s data validation feature.
In computing, data validation is the process of ensuring the accuracy and quality of data. Within Excel (and also Google Sheets,) it’s a feature that restricts the type of data or the values that users enter into a cell. It allows users to set parameters around numbers, dates, and text to prevent inputting errors.
Among other things, data validation is used for the following:
An error message like this will appear:
Also read: How To Outline Cells With Borders In Microsoft Excel
There are a few reasons why the data validation button at the top of the screen may be disabled:
– Drop-down lists can’t be added to protected or shared worksheets. To enable data validation, a user must remove the protection or stop sharing the worksheet.
– Drop-down lists created from an Excel table cannot be created if they are linked to a SharePoint site. To enable data validation, unlink the table or remove table formatting.
Users can add color formatting by using the Conditional Formatting feature available in Microsoft Excel.
1. To add a conditional rule that changes the font color of a specific item in the list, go to the Home tab, and click Conditional Formatting in the Styles section.
2. Choose New Rule and highlight the Format only cells that contain option.
3. In the lower section that appears, change the far left drop-down setting that is set to Cell Value by default to Specific Text. Make sure the second drop-down menu reads containing.
4. In the far right box, type the name of the item you want to have color formatting.
5. Click the Format button at the bottom. Under Font, choose your color.
6. Click OK.
Users cannot select multiple items within a drop-down list. There is no way to do this with Excel’s built-in features. The only way to do this would be to add Visual Basic for Applications (VBA) code to the drop-down list itself.
Read next: How To Use A Fill Handle In Excel