Conditional Formatting From a Dropdown or List

Learn how to color Excel cells based on a dropdown selection or a list of allowed values, with formula rules you can check and fix.

If you use a dropdown to track status, approvals, or priority, you probably want the matching rows to stand out. A "Blocked" task should look different from a "Done" task, and you should not have to scan the column to find them. Conditional formatting from a list solves this: the color changes automatically when someone picks a value from the dropdown.

This guide is for anyone who keeps a spreadsheet with a dropdown column, such as a project tracker, expense log, or inventory sheet. You will set up the dropdown, write a rule that reads the selected value, and check that every choice colors the way you expect. The method uses standard spreadsheet features, so it works in any desktop spreadsheet program that supports data validation and formula-based conditional formatting.

Many people search for this as "excel conditional formatting from list" or "excel conditional formatting from dropdown." The core idea is the same in both cases: the rule checks the text in the dropdown cell, and the formatting follows from that check.

Can you color cells from a dropdown? The short answer

Yes. Create the dropdown with data validation, then add a conditional formatting rule that uses a formula comparing the dropdown cell to one allowed value. Pick the approach that matches how your sheet is laid out.

Your situationWhat to doWhy
One dropdown cell controls one cell's colorUse a "cell value equals" style rule with the exact list textSimple and easy to audit
A status column should color the whole rowUse a formula rule such as =$C2="Blocked" and apply it to the full rowKeeps the row readable at a glance
The list has many values, each with its own colorCreate one rule per value, and keep the values in the list identical to the rule textEach rule is short and easy to change
The list lives on another sheetName the list range, then point the dropdown source at that nameSome versions reject direct cross-sheet references
The sheet will be translated into another languageUpdate the dropdown values and rule text together after translationA mismatch silently breaks the highlighting

Before you start

Check these items first. Each one prevents a common reason the color does not appear.

  • Your list values. Write down every allowed value exactly as you want it to appear, such as "Open," "In review," "Blocked," and "Done." The rules compare text, so "Done" and "Done " (with a trailing space) are different values.
  • Where the list lives. Decide whether the list sits on the same sheet or on a separate sheet. A list on the same sheet is simpler to maintain, and a named range makes a cross-sheet list easier to reference.
  • The row range. Decide which cells should change color. If the dropdown is in column C and the whole row should highlight, select A2 through the last column of your data, not only column C.
  • Whether the data already contains typed values. Existing text that does not match the list will not trigger a rule. Clean up those entries or replace them with dropdown choices.
  • A backup copy. Rules are easy to change, but a copy of the file lets you compare before and after if a formula goes wrong.

Creating the dropdown and the colored rule, step by step

  1. Enter your list values in a range. Put the allowed values in a column, such as F2 through F5, on the same sheet or a dedicated list sheet. This range becomes the source for the dropdown, so typing the values here keeps them in one place.
  2. Add the dropdown to the target column. Select the cells that should hold the dropdown, such as C2 through C100. Open the data validation settings, choose the list option, and point the source at your range. Users can now pick a value instead of typing one.
  3. Select the full data range before adding the rule. Select A2 through the last column of your table, for example A2:E100. Selecting the whole row first lets you write one formula that covers every row. Starting from the first data row matters, because a formula written for row 2 shifts correctly only when it is anchored to the first row.
  4. Open the conditional formatting rules. Find the conditional formatting option in your spreadsheet program's formatting controls, then choose the option to create a new rule. Pick the option that lets you enter a formula, since it gives you more control over the text match.
  5. Enter a formula that compares the dropdown cell. For a dropdown in column C, with the first data row at row 2, enter a formula such as =$C2="Blocked". The dollar sign before C locks the column so every row checks its own column C value. The row number without a dollar sign moves down as the rule applies to each row.
  6. Set the format for that rule. Choose a fill color or font color that stands out, such as a light red for "Blocked." Keep colors consistent across the sheet so readers learn what each one means.
  7. Repeat for each status you want to highlight. Add one rule per value, changing only the text in the formula and the color. Order matters less here, because each rule checks a different value, but avoid overlapping rules that set the same property to different colors.
  8. Test each dropdown choice. Pick each value from the dropdown and confirm that the expected color appears. If a choice does nothing, the list text and the rule text probably differ, which is covered in the next section.

Check the result

Once the rules are in place, test the sheet with real choices, not only one example. Use the table below to find and fix problems.

CheckHow to see itIf it's wrong
Every dropdown choice colors the right rowSelect each value in one row and watch the colorCompare the rule text with the list value character by character
The color appears across the whole rowLook at columns outside the dropdownConfirm the rule range starts at the first data row and includes every column you want colored
Rules are not competingOpen the rule list and read each rule's formula and rangeRemove duplicate rules or change their order so the intended color wins
Typed values are not left behindFilter the dropdown column for entries not in the listReplace free-text entries with valid dropdown values
The sheet still works after editsAdd a new row, copy a row, and insert a rowRe-check that the rule range expands, or extend it manually

If a rule works in one row but not the next, the likeliest cause is a missing dollar sign in the formula. Without it, the reference drifts across rows in the wrong direction. If the color never appears, check for extra spaces and different capitalization in the list. Text comparisons in these rules are not case-sensitive, but spaces still matter.

Working with translated spreadsheets

Some workbooks have dropdown labels in one language, and the team needs them in another. You can upload an Excel file (.xlsx) to OmniDoc on omnidoc.top for translation, and you can choose bilingual output or translation-only output. After the file comes back, open it and check two things: that the dropdown list shows the translated values, and that each conditional formatting rule still matches a value in the list.

The translated list and the rule formulas must use the same text. If the dropdown now says "Bloqueado" but the rule still checks for "Blocked," the color will stop working. Update the formulas to match the translated values, then run the same choice-by-choice test described above. Check the layout and any formulas in the translated file too, since you should confirm that everything you rely on survived the conversion.

❓ FAQ

1. Can I color a cell based on a dropdown in a different sheet?

Yes, but the setup depends on your version. Put the list on a separate sheet, give that range a name, and use the name as the dropdown source. Then write your formulas against the cell with the dropdown, which can stay on the main sheet.

2. Why does my conditional formatting not change when I pick a value?

A common cause is a mismatch between the list text and the rule text, including extra spaces. Compare them exactly. The other frequent cause is a rule range that does not include the cells you selected.

3. Can one rule color different values with different colors?

Not in a single rule. Each rule applies one format when its condition is true, so use one rule per value. Keep the number of rules manageable by highlighting only the statuses that need attention.

4. Will the colors still work if I copy the sheet?

Usually yes, but copying can change which rule range applies, especially if you copy only part of the table. Check the rule manager after copying, and confirm that the formulas still point to the dropdown column.

5. What if the list is long, with twenty or more values?

Color only the values that need to stand out, such as "Blocked" or "Overdue," and leave the rest uncolored. Twenty separate colors make the sheet harder to read. A short list of highlighted states is easier to scan.

📝 Summary

Conditional formatting from a dropdown or list works by comparing the selected value to a fixed text value in a formula. Set up the dropdown first, write one rule per status with exact text matches, and test each choice. If you translate the workbook, update the rule text to match the new list values so the colors keep working.

Open OmniDoc to work on your spreadsheets

Updated 2026-11-04