Formatting Issues

How to Change Adjacent Cell Color from a Yes or No Dropdown in WPS Office Spreadsheets

Steve KSteve K Nov 13, 2026 868 views

Question details

The user needs to change the fill color of an adjacent cell automatically when a Yes/No data-validation dropdown cell displays No.

How to Change Adjacent Cell Color from a Yes or No Dropdown in WPS Office Spreadsheets
Product
WPS Office Spreadsheets
Device & OS
not provided
Scenario
The user has a Yes/No dropdown in one cell and wants the neighboring cell to be highlighted based on the selected value.
Observed behavior
The adjacent cell does not change fill color when the dropdown value is No unless conditional formatting is applied.
Before you start

Make sure the dropdown list is already created with Data Validation and that you know the exact cell reference, such as D7, that contains the Yes or No value. Select the adjacent cell or range you want to highlight before creating the conditional formatting rule.

Solution 1Recommended

Apply a Conditional Formatting Rule with a Custom Formula to Highlight the Adjacent Cell

Use this method to automatically recolor the adjacent cell whenever the Yes/No dropdown shows No, without changing the dropdown value or other cell contents.

Conditional formatting evaluates the formula for each cell in the selected range. Use an absolute reference for the dropdown cell, such as $D$7, so the rule always checks that cell instead of shifting the reference.

1
Select the cells to format

Select the adjacent cell or range that should change color—for example, select row 8 or the specific cell next to the dropdown at D7.

2
Open New Formatting Rule

Go to the Home tab, click Conditional Formatting, and choose New Rule.

3
Enter the custom formula

In the New Formatting Rule dialog, select "Use a formula to determine which cells to format" and enter =$D$7="No" in the formula box. Adjust D7 to match the actual dropdown cell.

4
Set the fill color

Click Format, open the Fill tab, choose the highlight color you want, and click OK to apply the rule.

Apply a Conditional Formatting Rule with a Custom Formula to Highlight the Adjacent Cell
Conditional formatting applied: The adjacent cells now change fill color automatically when the dropdown cell equals No. The rule changes only formatting and does not modify the dropdown value.
WPS Spreadsheets conditional formatting

Change Adjacent Cell Color from a Yes or No Dropdown in WPS Office Spreadsheets

Create a conditional formatting rule with =$D$7="No" in WPS Office Spreadsheets to automatically recolor the adjacent cell whenever the Yes/No dropdown value changes to No, keeping the dropdown data unchanged.

  1. 1. Open the workbook: Open the workbook in WPS Office Spreadsheets and locate the Yes/No dropdown cell.
  2. 2. Select the target range: Select the adjacent cell or range that should change fill color.
  3. 3. Create a new conditional formatting rule: Click the Home tab, then click Conditional Formatting and select New Rule.
  4. 4. Add the formula and format: Choose the formula-based rule, enter =$D$7="No", click Format, pick a fill color, and confirm OK.
Highlights adjacent cells automatically from a Yes/No dropdown using a custom formulaPreserves Microsoft Excel .xlsx and .xls file compatibility when opening and saving workbooksFree and lightweight office suite with a familiar Excel-like interfaceApplies visual changes only, without altering dropdown values or cell contents
microsoft office alternative - wps office

Frequently Asked Questions

Can I highlight an entire row instead of only the adjacent cell?

Yes. Select the entire row or range, then use a formula that locks the dropdown column and row, such as =$D$7="No", and the rule will apply to every selected cell.

Why does the conditional formatting formula need $ signs?

The $ signs create an absolute reference so every cell in the selected range checks the same dropdown cell. Without them, the reference shifts by row or column and the highlighting may not work as expected.

Will conditional formatting change the Yes/No dropdown value?

No. Conditional formatting only changes the cell appearance. The dropdown value and cell contents remain unchanged.

Can I use other values besides Yes and No?

Yes. Replace the text in the formula with the exact dropdown value, for example =$D$7="Pending". Make sure the spelling and capitalization match the data validation list.

Does this formula-based rule work in Microsoft Excel files opened in WPS Office?

Yes. WPS Office Spreadsheets supports Excel .xlsx and .xls conditional formatting rules, so the same formula-based rule works when the file is opened in WPS Office.