
- MS Excel Basics
- Excel - Home
- Excel - Getting Started
- Excel - Explore Window
- Excel - Backstage
- Excel - Entering Values
- Excel - Move Around
- Excel - Save Workbook
- Excel - Create Worksheet
- Excel - Copy Worksheet
- Excel - Hiding Worksheet
- Excel - Delete Worksheet
- Excel - Close Workbook
- Excel - Open Workbook
- Excel - Context Help
- Editing Worksheet
- Excel - Insert Data
- Excel - Select Data
- Excel - Delete Data
- Excel - Move Data
- Excel - Rows & Columns
- Excel - Copy & Paste
- Excel - Find & Replace
- Excel - Spell Check
- Excel - Zoom In-Out
- Excel - Special Symbols
- Excel - Insert Comments
- Excel - Add Text Box
- Excel - Undo Changes
- Formatting Cells
- Excel - Setting Cell Type
- Excel - Setting Fonts
- Excel - Text Decoration
- Excel - Rotate Cells
- Excel - Setting Colors
- Excel - Text Alignments
- Excel - Merge & Wrap
- Excel - Borders and Shades
- Excel - Apply Formatting
- Formatting Worksheets
- Excel - Sheet Options
- Excel - Adjust Margins
- Excel - Page Orientation
- Excel - Header and Footer
- Excel - Insert Page Breaks
- Excel - Set Background
- Excel - Freeze Panes
- Excel - Conditional Format
- Working with Formula
- Excel - Creating Formulas
- Excel - Copying Formulas
- Excel - Formula Reference
- Excel - Using Functions
- Excel - Builtin Functions
- Advanced Operations
- Excel - Data Filtering
- Excel - Data Sorting
- Excel - Using Ranges
- Excel - Data Validation
- Excel - Using Styles
- Excel - Using Themes
- Excel - Using Templates
- Excel - Using Macros
- Excel - Adding Graphics
- Excel - Cross Referencing
- Excel - Printing Worksheets
- Excel - Email Workbooks
- Excel- Translate Worksheet
- Excel - Workbook Security
- Excel - Data Tables
- Excel - Pivot Tables
- Excel - Simple Charts
- Excel - Pivot Charts
- Excel - Keyboard Shortcuts
- MS Excel Resources
- Excel - Quick Guide
- Excel - Useful Resources
- Excel - Discussion
How to add color to a drop-down list in Excel?
Color can be a powerful element in an Excel drop down list, and it's easier to incorporate than you may think. We can add conditional formatting rules to the cell containing the drop-down list. Learn how to provide visual clues by adding a new list and validation control, followed by conditional format rules.
For example, I have created a drop-down list of city names; when I select Hyderabad, I want the cell to be colored Yellow automatically, and when I select Chicago, I want the cell to be colored Blue, as shown in the screenshot below.
First, Create a Drop-Down List
Let’s understand step by step with an example.
Step 1
Make a list of data and choose a range into which to place the drop-down list values. In this scenario, I positioned the drop-down list in the range A2:A6, as shown in the screenshot −
Step 2
To see a screenshot, select Data > Data Validation > Data Validation.
Step 3
Additionally, in the Data Validation dialogue box, click the Settings tab and select List from the Allow drop down list.
Step 4
Now select the Source option and click OK.
Step 5
Now, we can see the Drop-Down list below.
Now, we can add a color to the drop-down list.
A Color-coded Drop-Down List with Conditional Formatting
Step 1
Mark your drop-down cells, which in this case are in column A, and go to Home > Conditional Formatting then select New Rule.
Step 2
Now click the New Rule option. Then you can see the New Formatting Rule dialog box, click the Format only cells that contain option under the Select a Rule Type section. Under the Format only cells with section, choose Specific Text from the first drop-down list and containing from the second drop-down list. Then, click the doc button 1 button to choose the value you want to format with a certain color, see screenshot.
Step 3
Then click the Format button.
Step 4
And then click the Fill tab, choose a colour you like.
And then click OK to close the dialogs, repeat steps 1 to 4 for each other drop down selection.
Step 5
Now, click Conditional Formatting, then click Manage Rules, select the cell range to Apply the Conditional Formatting.
Step 6
Once you've set the colors for the values, you can choose any value from the drop-down menu and the cell will automatically change to the colour you chose.
Conclusion
In this tutorial, we explained with an example how to add color to a drop-down list using Conditional Formatting by creating and managing conditional formatting rules.
- Related Articles
- How to Add a Blank Option to a Drop-Down List in Excel?
- How to define a drop-down list in HTML5?
- How to Auto-Display a Default Value while Deleting a Value in a Drop-Down List in Excel?
- How to disable the drop-down list in HTML5?
- How to grey out cells based on another column or drop down list choice in excel?
- How to include an option in a drop-down list in HTML?
- How to add drop lines in an Excel line chart?
- How to Add Up/Down Bars to a Line Chart in Excel?
- Excel drop down list: create, edit, remove and more advanced operations
- How to change font style using drop-down list in JavaScript?
- How to create a group of related options in a drop-down list using HTML
- How to get all options in a drop-down list by Selenium WebDriver using C#?
- How to display all items in the list in the drop down in Selenium?
- How to get selected text from a drop-down list (select box) using jQuery?
- How to Add Period After Numbers List in Excel?
