Also: How to create a drop-down list in Google Sheets You can use another nifty trick to help make these cells stand out once a collaborator has made a section. That trick is called Conditional Formatting.
What is conditional formatting?
Simply stated, conditional formatting formats a cell based on specific conditions. In the example I will show you, the conditional formatting will add a background color to a cell based on the color chosen from the drop-down. For instance, if the color red is chosen from the drop-down, the background color for that cell will automatically be, you guessed it, red. Of course, you aren’t limited to only adding colors to your cells, as you can also use other (basic) formatting, such as bold, italics, underline, strikethrough, and change the color of the text. Conditional formatting also allows you to apply the formatting based on several conditions, such as:
If a cell is/is not empty.Contains (or does not contain) specific text or formula.Text starts/ends with specific text or formula.Dates.Greater than, less than, or equal to.
You can add a single rule or even multiple rules to your conditional formatting. Let’s see how this is done.
Adding conditional formatting to a drop-down list
Remember, in the tutorial for adding drop-down lists, we created a list of the following colors:
blueredgreenyellowblackorangepurplewhite
Now we’re going to use conditional formatting to set the cell’s background color based on the color chosen. So, if a collaborator chooses green from the drop-down, the cell background color will be set to green. Simple. Upon clicking conditional formatting, you’ll see a new sidebar on the right side of the window. And that, my fellow Google Sheets users, is how you add conditional formatting to a drop-down list. You’re not limited to drop-downs for this feature, as you can apply it to any type of call (and even a range of cells). Enjoy the fresh taste of automated formatting. Now, when a user selects a color from the drop-down, the background color will automatically change based on the condition.