Formatting Issues

Apply Excel Conditional Formatting to Rows When Cells E to G Are Blank

Kushani NimanthikaKushani Nimanthika Nov 12, 2026 868 views

Question details

Create a formula-based conditional formatting rule that formats an entire row when column A contains a value and the cells in columns E through G on that row are blank.

Apply Excel Conditional Formatting to Rows When Cells E to G Are Blank
Product
Microsoft Excel
Device & OS
not provided
Scenario
The user wants to identify records that have a value in column A but have not yet received values in columns E, F, and G.
Observed behavior
The formatting rule must evaluate each row independently across the full selected target range.
Before you start

Identify the first data row in the range; this example starts at row 3. Select the complete range you want to format and ensure that cell A3 is the active cell before creating the rule.

Solution 1Recommended

Create a formula rule with relative row references

Use this method to format every selected row when column A is not empty and cells E through G are all blank.

The dollar signs lock the checked columns, while the row number remains relative. As Excel evaluates each row in the applied range, the formula changes from row 3 to row 4, row 5, and so on.

1
Select the full target range

Click cell A3, then select A3 and all cells across the rows that should receive formatting. Keep A3 as the active cell in the selection.

2
Open a formula-based conditional formatting rule

On the Home tab, select Conditional Formatting > New Rule > Use a formula to determine which cells to format.

3
Enter the blank-cell formula

Enter =AND($A3<>"",COUNTBLANK($E3:$G3)=3). This checks that column A has a value and that E, F, and G are all blank on the same row.

4
Set the row format and save

Select Format, choose a Fill color or other formatting, then click OK. Confirm the rule again with OK to apply it to the selected range.

Create a formula rule with relative row references
Relative row reference is required: Do not change 3 to $3. Keeping the row reference relative lets the conditional formatting rule evaluate every row correctly.
Conditional formatting in WPS Spreadsheets

Highlight incomplete rows with blank cells in WPS Spreadsheets

WPS Spreadsheets lets you create a formula-based conditional formatting rule to highlight rows where column A contains a value while columns E through G are blank. Its familiar spreadsheet interface makes it easy to apply the same logic to Excel-compatible workbooks.

  1. 1. Select the formatting range: In WPS Spreadsheets, select the target rows starting from A3 and keep A3 as the active cell.
  2. 2. Open conditional formatting: Go to Home > Conditional Formatting > New Rule.
  3. 3. Choose a formula rule: Select the option to use a formula for formatting, then enter =AND($A3<>"",COUNTBLANK($E3:$G3)=3).
  4. 4. Choose the highlight style: Set the fill color or other desired format, then confirm the rule to apply it to the selected rows.
Create formula-based conditional formatting for incomplete spreadsheet rows.Use relative row references to evaluate each record automatically.Open and save Microsoft Excel .xlsx and .xls files with formatting support.Work in a lightweight, familiar spreadsheet interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why does only the first row receive conditional formatting in Excel?

Check the Applies to range and ensure it includes all intended rows. Also make sure the formula uses a relative row reference such as $A3, not an absolute reference such as $A$3.

How do I highlight the entire row instead of only column A?

Select all columns that should be highlighted before creating the rule, such as A3:G1000. The formula can still use $A3 and $E3:$G3 to test values on each row.

Does COUNTBLANK treat formulas that return an empty string as blank?

Yes. COUNTBLANK generally counts cells containing formulas that return "" as blank. If this is not desired, use explicit tests appropriate for your worksheet data.

What formula highlights rows where E, F, and G are all empty?

Use =AND($A3<>"",COUNTBLANK($E3:$G3)=3) in Home > Conditional Formatting > New Rule > Use a formula to determine which cells to format.