Formatting Issues

Fix WPS Spreadsheets Conditional Formatting Highlighting the Wrong Date

Steven ParkerSteven Parker Nov 12, 2026 868 views

Question details

The user needs to correct a conditional-formatting rule that highlights the wrong date because its formula references column B instead of the first column in the formatted range.

Fix WPS Spreadsheets Conditional Formatting That Highlights the Wrong Date
Product
WPS Spreadsheets conditional formatting
Device & OS
not provided
Scenario
Formatted rows start in column A, and the rule is intended to identify dates related to weekends or bank holidays.
Observed behavior
The rule highlights the day before a weekend or bank holiday incorrectly because the formula uses B$2 rather than the corresponding cell in column A.
Before you start

Check the Applies to range in Conditional Formatting Rules Manager and identify its top-left cell. The formula must use references that align with that first cell, especially when the format is applied across entire rows.

Solution 1Recommended

Edit the conditional-formatting formula to reference column A

Use this method when the formatted range begins in column A but the existing formula evaluates a date in column B.

Conditional-formatting formulas are evaluated relative to the top-left cell of the Applies to range. If the formatted rows begin in column A, the date reference should use A$2 rather than B$2 so each row is evaluated against the correct date cell.

1
Open Conditional Formatting Rules Manager

In WPS Spreadsheets, select a cell in the affected formatted range, then go to Home > Conditional Formatting > Manage Rules.

2
Select the incorrect rule

In the rules list, select the rule that highlights dates before weekends or bank holidays, and click Edit Rule.

3
Correct the date reference

In the formula box, replace the incorrect B$2 reference with A$2 while keeping the rest of the formula unchanged.

4
Confirm the applied range

Check the Applies to box and make sure the range begins in column A if the formula uses A$2. Click OK, then click Apply to update the worksheet.

Edit the conditional-formatting formula to reference column A
Rule alignment corrected: When the formula and the top-left cell of the applied range both start in column A, the conditional format evaluates the intended date for each formatted row.
WPS Spreadsheets formatting tools

Correct Date-Based Conditional Formatting in WPS Spreadsheets

WPS Spreadsheets lets you manage formula-based conditional-formatting rules from one rules manager. Edit the formula and its applied range together to ensure weekend and bank-holiday checks evaluate the correct date column.

  1. 1. Open the spreadsheet in WPS Spreadsheets: Open the workbook and select a cell within the rows that are being highlighted incorrectly.
  2. 2. Manage the formatting rule: Select Home > Conditional Formatting > Manage Rules to view the rules assigned to the selected range.
  3. 3. Edit the formula reference: Choose the affected rule, click Edit Rule, and change B$2 to A$2 when the formatted range begins in column A.
  4. 4. Verify the applied range: Confirm that the Applies to range starts at the same column used by the formula reference, then click Apply and OK.
Edit formula-based conditional-formatting rules from the Home tab.Align date references with the first cell in the formatted range.Highlight rows based on weekends, holidays, or custom date conditions.Open and edit Microsoft Excel .xlsx and .xls spreadsheets with compatible formatting support.
microsoft office alternative - wps office

Frequently Asked Questions

Why does conditional formatting highlight the row before the expected date?

The formula may be referencing the wrong column or may not be aligned with the top-left cell in the Applies to range. Open Home > Conditional Formatting > Manage Rules and compare the formula reference with the first column of that range.

Should I use A$2 or $A2 in a conditional-formatting formula?

Use the reference type required by how the rule is copied across the range. A$2 keeps row 2 fixed while allowing the column to adjust; $A2 keeps column A fixed while allowing the row to adjust. For this rule, use A$2 when that is the intended formula pattern and the range begins in column A.

How can I see which cells a conditional-formatting rule affects?

Select a formatted cell, then go to Home > Conditional Formatting > Manage Rules. The Applies to field shows the range controlled by the selected rule.

Can WPS Spreadsheets edit conditional formatting created in Excel?

Yes. Open the .xlsx or .xls file in WPS Spreadsheets, then use Home > Conditional Formatting > Manage Rules to review and edit supported conditional-formatting rules.