Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Color Code Drop-Down Lists in Google Sheets

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can color-code drop-down lists in Google Sheets by applying conditional formatting to the cells that contain the drop-downs. This makes it easy to see at a glance which status, priority, or category a row belongs to. You’ll need a Google account and a sheet with at least one drop-down list already created (or you can create one as part of this guide).

What You'll Need

  • A Google account (free) and a browser or the Google Sheets mobile app.
  • A Google Sheets document with a cell or range where you want a drop-down list.
  • A list of options you want in the drop-down (e.g., High, Medium, Low).

Step-by-Step

  1. Open your Google Sheet and select the cell or range where you want the drop-down list. For example, click on cell A2, or click and drag to select A2:A50.
  2. Create the drop-down list (if you don’t already have one):
    • Go to the menu: Data > Data validation.
    • In the panel that opens, under “Criteria,” choose “List of items” and type your options separated by commas (e.g., High, Medium, Low).
    • Make sure “Show dropdown list in cell” is checked.
    • Click “Save.”
  3. Select the same cell or range that contains the drop-down list. This is important—conditional formatting works on the cells themselves.
  4. Open conditional formatting: Go to Format > Conditional formatting. A panel will appear on the right side of the screen.
  5. Set the range: In the “Apply to range” field, confirm it shows the correct range (e.g., A2:A50). If not, edit it manually.
  6. Create a rule for the first option:
    • Under “Format cells if,” choose “Text is exactly” (or “Text contains” if you prefer).
    • In the value field, type the exact option text, e.g., High.
    • Click on the paint roller icon (fill color) and choose a color, e.g., red.
    • Optionally, set a text color and bold style under “Formatting style.”
    • Click “Done” to save the rule.
  7. Add rules for each remaining option: Click “Add another rule” and repeat the process for each option (e.g., Medium = yellow, Low = green).
  8. Test it: Click on a cell in the range, open the drop-down, and choose a value. The cell should immediately change color to match the rule.

Common Mistakes

  • Typo in the rule value: The conditional formatting rule must exactly match the drop-down list item, including spaces and case. For example, if the list has “High” but the rule says “high,” it won’t work.
  • Applying formatting to the wrong range: If you select a range before creating the rule, the “Apply to range” will be that range. If you later add new rows, you must update the range to include them.
  • Using “Text contains” instead of “Text is exactly”: If you use “Text contains” with the value “High,” it will also match “High Priority” or “High Value.” Use “Text is exactly” for precise matching.
  • Forgetting to check “Show dropdown list in cell”: If you create the drop-down but don’t see the arrow, the data validation might be set to only show a warning, or the checkbox is unchecked.

Tips

  • Use a color scheme that makes sense: Red for high priority, yellow for medium, green for low—or any scheme that is intuitive for your team.
  • Apply to a whole column: Instead of a fixed range, you can use an open-ended range like A2:A to automatically format new rows as you add them.
  • Use named ranges: If you have a large sheet, create a named range (Data > Named ranges) for your drop-down area, then reference it in conditional formatting for easier maintenance.
  • Copy formatting: If you already have a formatted cell, use the paint format tool (brush icon) to copy the conditional formatting to other cells—but note that it copies the rules, not just the color.
  • Edit or delete rules: To change a color, go back to Format > Conditional formatting and click on the rule you want to edit. To remove a rule, click the trash can icon.

Troubleshooting

If the color doesn’t change when you select an option:

  1. Check that the conditional formatting rule is active (the toggle is on) and the range includes the cell you’re testing.
  2. Verify the rule’s “Format cells if” condition is set to “Text is exactly” and the value matches the drop-down item exactly (including case and spaces).
  3. Make sure the drop-down list itself is working—click the cell and see if the arrow appears. If not, re-check data validation.
  4. Try removing the rule and adding it again. Sometimes the rule order can interfere if you have overlapping rules.

If the formatting applies to the wrong cells:

Open conditional formatting and check the “Apply to range” field. It may have been set to a different range than you intended. Correct it and click “Done.”

If you added new rows and the formatting doesn’t appear:

Update the range in the conditional formatting rule to include the new rows. For example, change A2:A50 to A2:A100. Or use an open-ended range like A2:A to cover all future rows.

Frequently Asked Questions

Can I color-code a drop-down list on the Google Sheets mobile app?

Yes, the same steps work in the mobile app, but the menu paths are slightly different. Tap the cell, then tap the “Format” icon (paint roller), and select “Conditional formatting.” The interface is simplified but functional.

Can I use multiple colors for one drop-down item?

No, each rule applies one fill color and one text color to a cell. If you want multiple colors for the same item, you can’t do that with a single rule. You could create multiple rules for the same text, but they would overlap—the last one in the list wins.

What if my drop-down list has more than 10 items?

You can create as many conditional formatting rules as you need, but it becomes tedious to manage. Consider using a limited set of categories or using a script to automate the formatting, though that is more advanced.

Can I apply the same color-coding to multiple sheets?

Conditional formatting is per-sheet. You would need to replicate the rules on each sheet. Alternatively, you can use a script to copy rules, but that’s not built-in.

Will the colors print when I print the sheet?

Yes, by default, conditional formatting colors will print. If you don’t want them to print, you can change the print settings to “Formatting” off, or set the cell background to white before printing.

Can I use conditional formatting based on a drop-down in another cell?

Yes, you can use a custom formula in conditional formatting. For example, to format cell B2 based on the value in A2, select B2, go to conditional formatting, choose “Custom formula is,” and enter =$A$2="High". Then set the color.