How to color code drop down list in excel
Tutor 5 (296 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
To color-code a drop-down list in Excel, you need to use Conditional Formatting because drop-down lists themselves do not carry formatting properties. Conditional Formatting applies colors based on the selected value.
Step-by-Step Guide to Color Code Drop-Down List
-
Create the Drop-Down List
-
Select the cell(s) where you want the drop-down list.
-
Go to the Data tab.
-
Click Data Validation → Data Validation.
-
In the Settings tab, choose List under Allow.
-
Enter your list values separated by commas, e.g.,
High, Medium, Low, or select a range containing the list. -
Click OK.
-
-
Apply Conditional Formatting for Colors
-
Select the same cell(s) where the drop-down list exists.
-
Go to the Home tab → Conditional Formatting → New Rule.
-
Choose Format only cells that contain.
-
Under Format only cells with, select Cell Value → equal to → type the first list value, e.g.,
High. -
Click Format → Fill tab → choose a color, e.g., red for "High".
-
Click OK to save the format.
-
Repeat steps 2–6 for each list value with its respective color.
-
-
Test the Drop-Down List
-
Click the drop-down arrow in the cell.
-
Select a value.
-
The cell changes color automatically according to your conditional formatting rules.
-
Tips and Notes
-
Conditional Formatting works for both Windows and Mac versions of Excel. The menu names are identical, but the appearance may slightly differ.
-
Avoid using too many rules for large datasets because it can slow down Excel.
-
You can use Formula-Based Conditional Formatting for more advanced scenarios. Example: color a cell if it contains the word “High” anywhere:
-
Select the cell(s).
-
Go to Conditional Formatting → New Rule → Use a formula to determine which cells to format.
-
Enter formula:
-
Set the desired formatting color.
-
-
Changing the drop-down list values requires updating the conditional formatting rules to match the new values.
Example
| Status | Color |
|---|---|
| High | Red |
| Medium | Yellow |
| Low | Green |
When a cell with this drop-down list is set to Medium, the cell automatically turns yellow.
This method ensures visual cues for different selections and improves readability in reports or dashboards.
. Was this Helpful?Related Questions
Get Online Tutoring or Questions answered by Experts.
You can post a question for a tutor or set up a tutoring session
Answers · 1
Why are margins not working
Answers · 1
Why is page layout not working
Answers · 1
How to print repeated rows on top in excel
Answers · 1
How to print header on each page
Answers · 1