Note: The other languages of the website are Google-translated. Back to English

How to create YES or NO drop down list with color in Excel?

Let’s say you are creating a survey table in Excel, and you want to add a YES or NO drop down list with color in the table, how could you handle it? In this article, I will introduce the solution for you.

Create YES or ON drop down list with color in Excel

If you want to create a YES or NO drop down list with color in Excel, please do as follows:

1. Select the list you will fill with the YES or NO drop down list, and click Data > Data Validation > Data Validation. See screenshot:
doc excel yes no drop down list with color 01

2. In the Data Validation dialog, under the Settings tab, please select List from the Allow drop down list, type Yes,No in the Source box, and click the OK button. See screenshot:

Now you have added a YES or NO drop down list in the selected list. Please go ahead to add color for the drop down list.

3. Select the table without header row, and click Home > Conditional Formatting > New Rule. See screenshot:

4. In the New Formatting Rule dialog, please (1) click to highlight the Use a formula to determine which cells to format option in the Select a Rule Type list box; (2) type =$C2="Yes" in the Format values where this formula is true box, and (3) click the Format button. See screenshot:
Note: In the formula =$C2="Yes", $C2 is the first cell with YES or NO drop down list, and you can change it as you need.

5. In the Format Cells dialog, please enable the Fill tab, specify a background color, and click the OK button successively to close both dialogs.

Now when you click the cells in the specified list, it will pop out the YES or NO drop down list. And when you select Yes from the drop down list, it will automatically highlight the entire row with the specified color. See screenshot:
doc excel yes no drop down list with color 02

Note: If you have installed Kutools for Excel, you can apply its Auto Save feature to save the range with data validation and conditional formatting as an AutoText entry, and then reuse it with clicks only. Get it Now!

Create YES or NO drop-down list with color by an amazing tool

Here in the second method, I will introduce the Colored Drop-down List feature of Kutools for Excel, which can help you quickly apply conditional formatting and highlight cells or rows based on the drop-down list selections easily.

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now

1. Select the list you will fill with the YES or NO drop-down list, and click click Kutools > Drop-down List > Colored Drop-down List to enable this feature.

2. In the popping out Kutools for Excel dialog, please click Yes, please help me to create option to go ahead.
Tips: If you have added the YES or NO drop-down list for the selection, please click the No, I know the Data Validation feature, and then jump to the Step 4.

3. In the Create simple drop down list dialog box, please check if the selection range is added in the Apply to section, type YES,NO in the Source box, and click the Ok button.

4. In the Colored Drop-down list dialog, please do as follows:
(1) Check the Row of data range option in the Apply to section;
(2) In the Data validation (Drop-down List) Range box, normally the selected column containing the Yes and No drop-down list is entered here. And you can reselect or change it as you need.
(3) In the Highlight rows box, please select the rows matched with the specified data validation range;
(4) In the List Items section, please select one of drop-down list selection, says Yes, and click to highlight a color in the Select color section. And repeat this operation to assign colors for other drop-down list selections.

5. Click the Ok button.

From now on, the rows will be highlighted or unhighlighted automatically based on the selections of the drop-down list. See screenshot:

Demo: Create YES or NO drop down list with color in Excel

Kutools for Excel includes more than 300 handy tools for Excel, free to try without limitation in 30 days. Free Trial Now!      Buy Now!

Related articles:

The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office / Excel 2007-2021 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Comments (6)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Under 2.: List values must be seperated with a semicolon. So it shuld be "Yes;No" intead of "Yes,No" for Source.
This comment was minimized by the moderator on the site
Many thanks I was desesperate!
This comment was minimized by the moderator on the site
Many thanks - that was very clear and helpful.
This comment was minimized by the moderator on the site
I followed the exact steps and in my case is not changing the color for all the row, only for the yes, no cell. Any idea what i am doing wrong? Thanks
This comment was minimized by the moderator on the site
How do I have my Yes Box Help create a formula
I need to have a formula that will if yes then =e3
This comment was minimized by the moderator on the site
Hi there,

Is e3 a text string or a cell reference?
If it's a text string, please use this formula: =I=IF(C2="YES","e3","")
If it's a cell reference, please use this formula: =I=IF(C2="YES",E3,"")

The formulas above will return e3 if the cell C2 is YES, and a empty string ("") otherwise. You can change the "" to other result if false to your needs.

There are no comments posted here yet
Leave your comments
Posting as Guest
Rate this post:
0   Characters
Suggested Locations

Follow Us

Copyright © 2009 - | All rights reserved. Powered by ExtendOffice. | Sitemap
Microsoft and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.
Protected by Sectigo SSL