Formatting Issues

Highlight Columns E and F Based on Column H in WPS Spreadsheets

Camila MilosovichCamila Milosovich Dec 2, 2026 869 views

Question details

Highlight cells in columns E and F when the corresponding cell in column H contains Yes.

Highlight Columns E and F Based on Column H in WPS Spreadsheets
Product
Spreadsheet software (not specified)
Device & OS
not provided
Scenario
Apply yellow conditional formatting to columns E and F based on values in column H of the same row.
Observed behavior
Cells in columns E and F should turn yellow when the corresponding column H cell meets the Yes condition.
Before you start

Identify the first data row and the last row to format. The examples below use E2:F100 and assume row 2 is the first data row.

Solution 1Recommended

Highlight rows where column H equals Yes

Use this formula when the column H cell contains Yes as its complete value.

The dollar sign locks the reference to column H, while the row number changes for each row in the selected range.

1
Select the target cells

In WPS Spreadsheets, select E2:F100, or select the equivalent range containing your data.

2
Create a formula rule

Go to Home > Conditional Formatting > New Rule and choose the option to use a formula to determine which cells to format.

3
Enter the condition

Enter =$H2="Yes" in the formula field. If your selected range starts on another row, replace 2 with that row number.

4
Set the yellow fill

Open Format, choose a yellow fill, and confirm the format and rule. Check that the rule applies to E2:F100.

Highlight rows where column H equals Yes
Matching longer text: This rule checks for a cell value equal to Yes. If Yes appears within longer text, use the second solution instead.
WPS Spreadsheets

Apply conditional formatting across columns in WPS Spreadsheets

Use a formula-based rule in WPS Spreadsheets to check column H and automatically highlight the corresponding cells in columns E and F.

  1. 1. Open your spreadsheet: Open the workbook in WPS Spreadsheets and select the worksheet containing columns E, F, and H.
  2. 2. Select the cells to highlight: Select E2:F100, or adjust the range to cover your data.
  3. 3. Create the rule: Choose Home > Conditional Formatting > New Rule, select the formula option, and enter =$H2="Yes".
  4. 4. Choose yellow: Open Format, select a yellow fill, and confirm the rule.
Highlight multiple columns based on a value in the same rowOpen and edit Microsoft Excel XLSX and XLS filesUse a familiar spreadsheet interface and formatting tools
microsoft office alternative - wps office

Frequently Asked Questions

Why does the formula use $H2 instead of H2?

The dollar sign keeps the reference in column H for both columns E and F. The row number remains relative, so each row checks its own column H cell.

What if my data starts on row 5?

Select a range beginning on row 5, such as E5:F100, and enter =$H5="Yes" in the conditional formatting rule.

How do I match Yes inside a longer cell value?

Use =ISNUMBER(SEARCH("Yes",$H2)) in the formula-based conditional formatting rule. It matches Yes anywhere in the text, including within longer words.

Will the exact-match rule highlight a cell containing YES?

Yes. The formula =$H2="Yes" compares text without distinguishing uppercase from lowercase.