Formatting Issues

Highlight Empty Cells When Another Cell Equals 1 in WPS Spreadsheets

Steven ParkerSteven Parker Dec 2, 2026 868 views

Question details

Highlight a blank required survey cell when another cell indicates that the respondent selected Other.

Highlight Empty Cells When Another Cell Equals 1 in WPS Spreadsheets
Product
WPS Spreadsheets
Device & OS
not provided
Scenario
A survey uses an indicator in column L and a required response in column M. The indicator may be numeric 1 or text "1".
Observed behavior
The required cell should be highlighted when it is empty and the indicator equals 1.
Before you start

Identify the indicator column, the required response column, and the first row to format. Check whether the indicator formula returns numeric 1 or text "1", because the conditional-formatting formula must match its type.

Solution 1Recommended

Create a conditional-formatting rule for the required cell

Use a formula to highlight blank cells in column M when the corresponding indicator in column L equals 1.

The examples below start on row 4. Adjust the row numbers and columns to match your worksheet. The test M4="" also treats a formula that returns an empty string as empty.

1
Select the response cells

Select the cells to highlight, such as M4:M100, with M4 as the first cell in the selection.

2
Open a new rule

On the Home tab, choose Conditional Formatting, then New Rule. Select the option to use a formula to determine which cells to format.

3
Enter the matching formula

Enter =AND(L4=1,M4="") if L4 returns numeric 1. If L4 returns text "1", enter =AND(L4="1",M4="") instead.

4
Choose the highlight

Select Format, choose a fill color, and confirm the rule. Test it by setting an indicator to 1 and leaving the corresponding cell in column M empty.

5
Add a TRUE/FALSE check if needed

To report the condition in a separate column, enter the same formula in N4 and fill it down. TRUE indicates that the row meets the condition.

Create a conditional-formatting rule for the required cell
Formatting is not a cell value: Conditional formatting changes the cell's appearance. Use the same logical formula in a helper column rather than trying to test the displayed formatting as a value.
Conditional formatting in WPS Spreadsheets

Flag missing survey responses in WPS Spreadsheets

Use a formula-based conditional-formatting rule to highlight empty response cells when an indicator shows that Other was selected.

  1. 1. Open the survey: Open WPS Spreadsheets and select File > Open to choose your survey workbook.
  2. 2. Select the response range: Select the required response cells, for example M4:M100.
  3. 3. Create a formula rule: Choose Home > Conditional Formatting > New Rule, then select the formula-based rule option. Enter =AND(L4=1,M4="") for numeric 1, or =AND(L4="1",M4="") for text "1".
  4. 4. Set the highlight: Choose Format, select a fill color, and confirm the rule. Check a row where the indicator equals 1 and the response is empty.
Highlight missing responses based on another cell's value.Use a helper column to return TRUE or FALSE for the same condition.Open and work with Microsoft Excel XLSX and XLS files.Apply and adjust formatting from a familiar spreadsheet interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why does the rule not highlight a cell when the indicator shows 1?

The indicator may contain text "1" rather than numeric 1. In Home > Conditional Formatting, edit the rule to use =AND(L4="1",M4="") for text or =AND(L4=1,M4="") for a number.

Will the rule highlight a cell that contains a formula returning an empty string?

Yes. The test M4="" treats a formula result of "" as empty. Use it in the conditional-formatting formula for the response cell.

How can I show TRUE or FALSE instead of a highlight?

Enter the same condition in a helper cell, such as N4: =AND(L4=1,M4=""). Use "1" instead of 1 if the indicator is text, then fill the formula down.

Can another formula check whether conditional formatting changed a cell's color?

Conditional formatting is a visual format, not the cell's value. To test the condition reliably, repeat the rule's logical formula in a helper column.