Formatting Issues

Keep an Excel Due-Date Cell Green After a Completion Date Is Entered

Camila MilosovichCamila Milosovich Nov 20, 2026 868 views

Question details

Keep a due-date cell green when a completion date is entered in another cell.

Keep an Excel Due-Date Cell Green After a Completion Date Is Entered
Product
Microsoft Excel
Device & OS
not provided
Scenario
An assessment has a due date in R1 and a completion date in R9.
Observed behavior
The due-date cell should display a green fill once R9 contains a completion date.
Before you start

Identify the due-date cell and the cell where the completion date will be entered. The example below uses R1 for the due date and R9 for the completion date.

Solution 1Recommended

Create a Conditional Formatting Rule for the Completion Date

Use a formula to make R1 green whenever R9 is not blank.

1
Select the due-date cell

In Excel, select cell R1, which contains the due date.

2
Create a formula rule

Go to Home > Conditional Formatting > New Rule, and choose Use a formula to determine which cells to format.

3
Enter the formula

In the formula box, enter =NOT(ISBLANK($R$9)). Replace R9 with your completion-date cell if it is different.

4
Choose a green fill

Select Format, open the Fill tab, choose green, and click OK to save the format and rule.

5
Check rule priority

If another rule changes R1's fill, go to Home > Conditional Formatting > Manage Rules. Move the completion rule above conflicting rules and select Stop If True for it, then click OK.

Create a Conditional Formatting Rule for the Completion Date
What the formula checks: The rule checks whether R9 is blank; it does not verify that the entry is a valid date. If R9 contains a formula that returns an empty string, ISBLANK still treats R9 as nonblank.
WPS Spreadsheet

Highlight Completed Due Dates in WPS Spreadsheet

Use a formula-based conditional formatting rule in WPS Spreadsheet to turn a due-date cell green when its completion-date cell is populated.

  1. 1. Open the workbook: Open your workbook in WPS Spreadsheet and select the due-date cell, such as R1.
  2. 2. Add a formula rule: Go to Home > Conditional Formatting > New Rule and choose the option to use a formula to determine which cells to format.
  3. 3. Set the condition and color: Enter =NOT(ISBLANK($R$9)), choose a green fill under Format, and confirm the rule.
  4. 4. Test the result: Enter a completion date in R9 and check that R1 turns green. If another rule overrides it, review the rule order in Conditional Formatting > Manage Rules.
Highlights a due-date cell based on a completion-date cellOpens and edits Microsoft Excel XLSX workbooksProvides familiar spreadsheet formatting tools
microsoft office alternative - wps office

Frequently Asked Questions

Why doesn't the due-date cell turn green when I enter a completion date?

Check that the formula references the correct completion cell and that the rule applies to the due-date cell. In Home > Conditional Formatting > Manage Rules, move the completion rule above conflicting rules and select Stop If True.

Will the green fill disappear if I clear the completion date?

Yes. If you clear the contents of R9, the completion rule becomes false. Any other applicable conditional formatting rules may then determine the fill in R1.

Can I use different cells for the due date and completion date?

Yes. Select your due-date cell when creating the rule, and replace $R$9 in the formula with the address of your completion-date cell.

What if the completion cell contains a formula that displays nothing?

ISBLANK returns false for a cell containing a formula, even if it displays an empty string. To leave the due-date cell unhighlighted when R9 displays an empty string, use =$R$9<>"" as the conditional formatting formula instead.