Formatting Issues

Highlight Overdue Table Rows in Excel with Conditional Formatting

Olivia MillerOlivia Miller Dec 2, 2026 870 views

Question details

Highlight an entire table row when its expected delivery date has passed and the delivery is not completed.

Highlight Overdue Table Rows in Excel with Conditional Formatting
Product
Microsoft Excel
Device & OS
not provided
Scenario
A delivery tracking table contains expected dates and completion statuses.
Observed behavior
Rows should be highlighted only when the expected date is before today and the status indicates an incomplete delivery.
Before you start

Identify the expected delivery date column, the status column, and the first data row. The example below assumes dates are in column A, statuses are in column B, and data starts in row 2; replace "No" with the actual incomplete-status value.

Solution 1Recommended

Create a formula-based rule for the entire table row

Use this rule to highlight all selected cells in each overdue, incomplete row.

The dollar signs lock the date and status columns while allowing the row number to change for each row. ISNUMBER excludes blank cells and dates stored as text.

1
Select the data rows

Select the table's data cells across every column you want to highlight, such as A2:E100. Exclude the header row.

2
Open a new rule

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

3
Enter the formula

Enter =AND(ISNUMBER($A2),$A2<TODAY(),$B2="No"). Change A and B to your date and status columns, change 2 to the first selected row, and replace No with your incomplete-status value.

4
Choose the highlight

Select Format, choose a fill color, and click OK. Click OK again to apply the rule to the selected range.

5
Check the applied range

Select Home > Conditional Formatting > Manage Rules and verify that Applies to covers the intended data rows and columns.

Create a formula-based rule for the entire table row
Dates and status values must match: The rule treats a date as overdue only after that date has passed. If a date is stored as text or the status differs from the value in the formula, the row will not be highlighted.
Try it in WPS Office

Highlight Overdue Delivery Rows in WPS Spreadsheet

Use a formula-based conditional formatting rule in WPS Spreadsheet to highlight entire rows for overdue, incomplete deliveries.

  1. 1. Open the spreadsheet: Open WPS Spreadsheet and use File > Open to select your delivery tracking workbook.
  2. 2. Select the table data: Select the data rows and all columns you want to highlight, for example A2:E100.
  3. 3. Create the rule: On the Home tab, open Conditional Formatting and create a new rule using a formula.
  4. 4. Enter the formula and format: Enter =AND(ISNUMBER($A2),$A2<TODAY(),$B2="No"), adjusting the columns, first row, and status value for your table. Choose a fill color and confirm the rule.
Highlight delivery rows using their expected date and statusOpen and edit Microsoft Excel XLSX filesWork in a familiar spreadsheet interfaceUse WPS Office for free
microsoft office alternative - wps office

Frequently Asked Questions

Why is an incomplete delivery due today not highlighted?

The formula uses <TODAY(), so it highlights dates before today, not today itself. To include items due today, change the comparison to <=TODAY().

How do I use a different status, such as Pending?

In the conditional formatting formula, replace "No" with the exact incomplete-status value used in your table, such as "Pending".

Why does only one cell get highlighted instead of the whole row?

Open Home > Conditional Formatting > Manage Rules and check that Applies to includes every desired column. Use locked column references such as $A2 and $B2 in the formula.

Why is an overdue date not triggering the rule?

Check that the date is stored as an Excel date rather than text and that the status matches the formula. Also confirm that the formula's row number matches the first row in the Applies to range.