Highlight Empty Cells When Another Cell Equals 1 in WPS Spreadsheets
Question details
Highlight a blank required survey cell when another cell indicates that the respondent selected Other.

- 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.
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.
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.
Select the cells to highlight, such as M4:M100, with M4 as the first cell in the selection.
On the Home tab, choose Conditional Formatting, then New Rule. Select the option to use a formula to determine which cells to format.
Enter =AND(L4=1,M4="") if L4 returns numeric 1. If L4 returns text "1", enter =AND(L4="1",M4="") instead.
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.
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.

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. Open the survey: Open WPS Spreadsheets and select File > Open to choose your survey workbook.
- 2. Select the response range: Select the required response cells, for example M4:M100.
- 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. 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.

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.




