Applies To
Excel for Microsoft 365 Excel for Microsoft 365 for Mac Excel for the web

The following steps create a colorful drop-down list using the data validation and conditional formatting features.

Excel color drop-down list

  1. In a separate location or sheet, type the names of colors in a column. For example, in cells A2-A4 type Yellow, Blue, Red. This is the content that your drop-down will show. 

  2. Choose a cell where you want the drop-down and go to Data and select Data validation button Data Validation. Do the following:

    • On the settings tab under Allow, choose List.

    • Under Source, put the range of your color list using absolute ($) locations. For example, =$A$2:$A$4. You can also use a named range. For more info, see Create a drop-down list.

  3. Select the cells where you are using the drop-down. If you put the drop-down list in cell C4, then select C4-C6. This isn't the color list, but the drop-down.

    • On the Home tab, select  Conditional formatting button Conditional formatting and choose Conditional highlight cell rules button Highlight Cell Rules.

  4. Select Text that contains button  Text that contains.

  5. Under Format cells that contain the text: type the cell for the first color in the color list (=$A$2), such as Red, and in the with field, select a color, like Light Red Fill with Dark Red Text. 

  6. If you don't see the color you want, such as Purple, select Custom Format. In Format Cells, go to Fill and choose a color.  To change the text color, select the Font tab and choose a color under Color. Select OK. 

  7. Continue with more rules for each of the other colors, =$A$3 with Blue and so forth. Keep the whole source list selected as you set the rules. 

When you're done, select the drop-down and choose a color. The name shows up in the top of the drop-down box and turns the color you specified. 

If it doesn't, check to make sure the right cells are specified with the right colors. Also make sure cells are written with the equals sign and as absolute addresses such as =$A$2. 

For more info on conditional formatting, see Use conditional formatting to highlight information.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.